/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ElastiCache::Model; using namespace Aws::Utils; DescribeCacheSubnetGroupsRequest::DescribeCacheSubnetGroupsRequest() : m_cacheSubnetGroupNameHasBeenSet(false), m_maxRecords(0), m_maxRecordsHasBeenSet(false), m_markerHasBeenSet(false) { } Aws::String DescribeCacheSubnetGroupsRequest::SerializePayload() const { Aws::StringStream ss; ss << "Action=DescribeCacheSubnetGroups&"; if(m_cacheSubnetGroupNameHasBeenSet) { ss << "CacheSubnetGroupName=" << StringUtils::URLEncode(m_cacheSubnetGroupName.c_str()) << "&"; } if(m_maxRecordsHasBeenSet) { ss << "MaxRecords=" << m_maxRecords << "&"; } if(m_markerHasBeenSet) { ss << "Marker=" << StringUtils::URLEncode(m_marker.c_str()) << "&"; } ss << "Version=2015-02-02"; return ss.str(); } void DescribeCacheSubnetGroupsRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const { uri.SetQueryString(SerializePayload()); }