当前位置: 首页>>代码示例>>C++>>正文


C++ URI::AddQueryStringParameter方法代码示例

本文整理汇总了C++中URI::AddQueryStringParameter方法的典型用法代码示例。如果您正苦于以下问题:C++ URI::AddQueryStringParameter方法的具体用法?C++ URI::AddQueryStringParameter怎么用?C++ URI::AddQueryStringParameter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在URI的用法示例。


在下文中一共展示了URI::AddQueryStringParameter方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: AddQueryStringParameters

void DescribeFileSystemsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_maxItemsHasBeenSet)
    {
      ss << m_maxItems;
      uri.AddQueryStringParameter("MaxItems", ss.str());
      ss.str("");
    }

    if(m_markerHasBeenSet)
    {
      ss << m_marker;
      uri.AddQueryStringParameter("Marker", ss.str());
      ss.str("");
    }

    if(m_creationTokenHasBeenSet)
    {
      ss << m_creationToken;
      uri.AddQueryStringParameter("CreationToken", ss.str());
      ss.str("");
    }

    if(m_fileSystemIdHasBeenSet)
    {
      ss << m_fileSystemId;
      uri.AddQueryStringParameter("FileSystemId", ss.str());
      ss.str("");
    }

}
开发者ID:chadbrewbaker,项目名称:aws-sdk-cpp,代码行数:32,代码来源:DescribeFileSystemsRequest.cpp

示例2: AddQueryStringParameters

void ListTopicRulesRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_topicHasBeenSet)
    {
      ss << m_topic;
      uri.AddQueryStringParameter("topic", ss.str());
      ss.str("");
    }

    if(m_maxResultsHasBeenSet)
    {
      ss << m_maxResults;
      uri.AddQueryStringParameter("maxResults", ss.str());
      ss.str("");
    }

    if(m_nextTokenHasBeenSet)
    {
      ss << m_nextToken;
      uri.AddQueryStringParameter("nextToken", ss.str());
      ss.str("");
    }

    if(m_ruleDisabledHasBeenSet)
    {
      ss << m_ruleDisabled;
      uri.AddQueryStringParameter("ruleDisabled", ss.str());
      ss.str("");
    }

}
开发者ID:chadbrewbaker,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListTopicRulesRequest.cpp

示例3: AddQueryStringParameters

void ListHostedZonesRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_markerHasBeenSet)
    {
      ss << m_marker;
      uri.AddQueryStringParameter("marker", ss.str());
      ss.str("");
    }

    if(m_maxItemsHasBeenSet)
    {
      ss << m_maxItems;
      uri.AddQueryStringParameter("maxitems", ss.str());
      ss.str("");
    }

    if(m_delegationSetIdHasBeenSet)
    {
      ss << m_delegationSetId;
      uri.AddQueryStringParameter("delegationsetid", ss.str());
      ss.str("");
    }

}
开发者ID:capeanalytics,项目名称:aws-sdk-cpp,代码行数:25,代码来源:ListHostedZonesRequest.cpp

示例4: AddQueryStringParameters

void ListPartsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_maxPartsHasBeenSet)
    {
      ss << m_maxParts;
      uri.AddQueryStringParameter("max-parts", ss.str());
      ss.str("");
    }

    if(m_partNumberMarkerHasBeenSet)
    {
      ss << m_partNumberMarker;
      uri.AddQueryStringParameter("part-number-marker", ss.str());
      ss.str("");
    }

    if(m_uploadIdHasBeenSet)
    {
      ss << m_uploadId;
      uri.AddQueryStringParameter("uploadId", ss.str());
      ss.str("");
    }

}
开发者ID:Fahrenheit2539,项目名称:aws-sdk-cpp,代码行数:25,代码来源:ListPartsRequest.cpp

示例5: AddQueryStringParameters

void ListThingsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_nextTokenHasBeenSet)
    {
      ss << m_nextToken;
      uri.AddQueryStringParameter("nextToken", ss.str());
      ss.str("");
    }

    if(m_maxResultsHasBeenSet)
    {
      ss << m_maxResults;
      uri.AddQueryStringParameter("maxResults", ss.str());
      ss.str("");
    }

    if(m_attributeNameHasBeenSet)
    {
      ss << m_attributeName;
      uri.AddQueryStringParameter("attributeName", ss.str());
      ss.str("");
    }

    if(m_attributeValueHasBeenSet)
    {
      ss << m_attributeValue;
      uri.AddQueryStringParameter("attributeValue", ss.str());
      ss.str("");
    }

}
开发者ID:Bu11etmagnet,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListThingsRequest.cpp

示例6: AddQueryStringParameters

void ListTrafficPolicyInstancesRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_hostedZoneIdMarkerHasBeenSet)
    {
      ss << m_hostedZoneIdMarker;
      uri.AddQueryStringParameter("hostedzoneid", ss.str());
      ss.str("");
    }

    if(m_trafficPolicyInstanceNameMarkerHasBeenSet)
    {
      ss << m_trafficPolicyInstanceNameMarker;
      uri.AddQueryStringParameter("trafficpolicyinstancename", ss.str());
      ss.str("");
    }

    if(m_trafficPolicyInstanceTypeMarkerHasBeenSet)
    {
      ss << RRTypeMapper::GetNameForRRType(m_trafficPolicyInstanceTypeMarker);
      uri.AddQueryStringParameter("trafficpolicyinstancetype", ss.str());
      ss.str("");
    }

    if(m_maxItemsHasBeenSet)
    {
      ss << m_maxItems;
      uri.AddQueryStringParameter("maxitems", ss.str());
      ss.str("");
    }

}
开发者ID:emotionpromotion,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListTrafficPolicyInstancesRequest.cpp

示例7: AddQueryStringParameters

void ListResourceRecordSetsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_startRecordNameHasBeenSet)
    {
      ss << m_startRecordName;
      uri.AddQueryStringParameter("name", ss.str());
      ss.str("");
    }

    if(m_startRecordTypeHasBeenSet)
    {
      ss << RRTypeMapper::GetNameForRRType(m_startRecordType);
      uri.AddQueryStringParameter("type", ss.str());
      ss.str("");
    }

    if(m_startRecordIdentifierHasBeenSet)
    {
      ss << m_startRecordIdentifier;
      uri.AddQueryStringParameter("identifier", ss.str());
      ss.str("");
    }

    if(m_maxItemsHasBeenSet)
    {
      ss << m_maxItems;
      uri.AddQueryStringParameter("maxitems", ss.str());
      ss.str("");
    }

}
开发者ID:Bu11etmagnet,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListResourceRecordSetsRequest.cpp

示例8: AddQueryStringParameters

void ListCACertificatesRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_pageSizeHasBeenSet)
    {
      ss << m_pageSize;
      uri.AddQueryStringParameter("pageSize", ss.str());
      ss.str("");
    }

    if(m_markerHasBeenSet)
    {
      ss << m_marker;
      uri.AddQueryStringParameter("marker", ss.str());
      ss.str("");
    }

    if(m_ascendingOrderHasBeenSet)
    {
      ss << m_ascendingOrder;
      uri.AddQueryStringParameter("isAscendingOrder", ss.str());
      ss.str("");
    }

}
开发者ID:Fahrenheit2539,项目名称:aws-sdk-cpp,代码行数:25,代码来源:ListCACertificatesRequest.cpp

示例9: AddQueryStringParameters

void ListHostedZonesByNameRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_dNSNameHasBeenSet)
    {
      ss << m_dNSName;
      uri.AddQueryStringParameter("dnsname", ss.str());
      ss.str("");
    }

    if(m_hostedZoneIdHasBeenSet)
    {
      ss << m_hostedZoneId;
      uri.AddQueryStringParameter("hostedzoneid", ss.str());
      ss.str("");
    }

    if(m_maxItemsHasBeenSet)
    {
      ss << m_maxItems;
      uri.AddQueryStringParameter("maxitems", ss.str());
      ss.str("");
    }

}
开发者ID:emotionpromotion,项目名称:aws-sdk-cpp,代码行数:25,代码来源:ListHostedZonesByNameRequest.cpp

示例10: AddQueryStringParameters

void ListGeoLocationsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_startContinentCodeHasBeenSet)
    {
      ss << m_startContinentCode;
      uri.AddQueryStringParameter("startcontinentcode", ss.str());
      ss.str("");
    }

    if(m_startCountryCodeHasBeenSet)
    {
      ss << m_startCountryCode;
      uri.AddQueryStringParameter("startcountrycode", ss.str());
      ss.str("");
    }

    if(m_startSubdivisionCodeHasBeenSet)
    {
      ss << m_startSubdivisionCode;
      uri.AddQueryStringParameter("startsubdivisioncode", ss.str());
      ss.str("");
    }

    if(m_maxItemsHasBeenSet)
    {
      ss << m_maxItems;
      uri.AddQueryStringParameter("maxitems", ss.str());
      ss.str("");
    }

}
开发者ID:emotionpromotion,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListGeoLocationsRequest.cpp

示例11: AddQueryStringParameters

void GetResourcesRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_positionHasBeenSet)
    {
      ss << m_position;
      uri.AddQueryStringParameter("position", ss.str());
      ss.str("");
    }

    if(m_limitHasBeenSet)
    {
      ss << m_limit;
      uri.AddQueryStringParameter("limit", ss.str());
      ss.str("");
    }

    if(m_embedHasBeenSet)
    {
      for(const auto& item : m_embed)
      {
        ss << item;
        uri.AddQueryStringParameter("embed", ss.str());
        ss.str("");
      }
    }

}
开发者ID:aws,项目名称:aws-sdk-cpp,代码行数:28,代码来源:GetResourcesRequest.cpp

示例12: AddQueryStringParameters

void ListEventSourceMappingsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_eventSourceArnHasBeenSet)
    {
     ss << m_eventSourceArn;
     uri.AddQueryStringParameter("EventSourceArn", ss.str());
     ss.str("");
    }

    if(m_functionNameHasBeenSet)
    {
     ss << m_functionName;
     uri.AddQueryStringParameter("FunctionName", ss.str());
     ss.str("");
    }

    if(m_markerHasBeenSet)
    {
     ss << m_marker;
     uri.AddQueryStringParameter("Marker", ss.str());
     ss.str("");
    }

    if(m_maxItemsHasBeenSet)
    {
     ss << m_maxItems;
     uri.AddQueryStringParameter("MaxItems", ss.str());
     ss.str("");
    }

}
开发者ID:wrtcoder,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListEventSourceMappingsRequest.cpp

示例13: AddQueryStringParameters

void ListJobsRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_limitHasBeenSet)
    {
     ss << m_limit;
     uri.AddQueryStringParameter("limit", ss.str());
     ss.str("");
    }

    if(m_markerHasBeenSet)
    {
     ss << m_marker;
     uri.AddQueryStringParameter("marker", ss.str());
     ss.str("");
    }

    if(m_statuscodeHasBeenSet)
    {
     ss << m_statuscode;
     uri.AddQueryStringParameter("statuscode", ss.str());
     ss.str("");
    }

    if(m_completedHasBeenSet)
    {
     ss << m_completed;
     uri.AddQueryStringParameter("completed", ss.str());
     ss.str("");
    }

}
开发者ID:wrtcoder,项目名称:aws-sdk-cpp,代码行数:32,代码来源:ListJobsRequest.cpp

示例14: AddQueryStringParameters

void ListJobsByPipelineRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_ascendingHasBeenSet)
    {
      ss << m_ascending;
      uri.AddQueryStringParameter("Ascending", ss.str());
      ss.str("");
    }

    if(m_pageTokenHasBeenSet)
    {
      ss << m_pageToken;
      uri.AddQueryStringParameter("PageToken", ss.str());
      ss.str("");
    }

}
开发者ID:Bu11etmagnet,项目名称:aws-sdk-cpp,代码行数:18,代码来源:ListJobsByPipelineRequest.cpp

示例15: AddQueryStringParameters

void GetSdkTypesRequest::AddQueryStringParameters(URI& uri) const
{
    Aws::StringStream ss;
    if(m_positionHasBeenSet)
    {
      ss << m_position;
      uri.AddQueryStringParameter("position", ss.str());
      ss.str("");
    }

    if(m_limitHasBeenSet)
    {
      ss << m_limit;
      uri.AddQueryStringParameter("limit", ss.str());
      ss.str("");
    }

}
开发者ID:capeanalytics,项目名称:aws-sdk-cpp,代码行数:18,代码来源:GetSdkTypesRequest.cpp


注:本文中的URI::AddQueryStringParameter方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。