AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCacheSubnetGroupsResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/model/ResponseMetadata.h>
11#include <aws/elasticache/model/CacheSubnetGroup.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElastiCache
27{
28namespace Model
29{
37 {
38 public:
39 AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult();
42
43
45
48 inline const Aws::String& GetMarker() const{ return m_marker; }
49 inline void SetMarker(const Aws::String& value) { m_marker = value; }
50 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
51 inline void SetMarker(const char* value) { m_marker.assign(value); }
52 inline DescribeCacheSubnetGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
53 inline DescribeCacheSubnetGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
54 inline DescribeCacheSubnetGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
56
58
62 inline const Aws::Vector<CacheSubnetGroup>& GetCacheSubnetGroups() const{ return m_cacheSubnetGroups; }
63 inline void SetCacheSubnetGroups(const Aws::Vector<CacheSubnetGroup>& value) { m_cacheSubnetGroups = value; }
64 inline void SetCacheSubnetGroups(Aws::Vector<CacheSubnetGroup>&& value) { m_cacheSubnetGroups = std::move(value); }
67 inline DescribeCacheSubnetGroupsResult& AddCacheSubnetGroups(const CacheSubnetGroup& value) { m_cacheSubnetGroups.push_back(value); return *this; }
68 inline DescribeCacheSubnetGroupsResult& AddCacheSubnetGroups(CacheSubnetGroup&& value) { m_cacheSubnetGroups.push_back(std::move(value)); return *this; }
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
79 private:
80
81 Aws::String m_marker;
82
83 Aws::Vector<CacheSubnetGroup> m_cacheSubnetGroups;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace ElastiCache
90} // namespace Aws
DescribeCacheSubnetGroupsResult & AddCacheSubnetGroups(CacheSubnetGroup &&value)
AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< CacheSubnetGroup > & GetCacheSubnetGroups() const
DescribeCacheSubnetGroupsResult & WithMarker(const char *value)
DescribeCacheSubnetGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeCacheSubnetGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeCacheSubnetGroupsResult & WithMarker(Aws::String &&value)
DescribeCacheSubnetGroupsResult & WithCacheSubnetGroups(Aws::Vector< CacheSubnetGroup > &&value)
void SetCacheSubnetGroups(Aws::Vector< CacheSubnetGroup > &&value)
DescribeCacheSubnetGroupsResult & WithCacheSubnetGroups(const Aws::Vector< CacheSubnetGroup > &value)
void SetCacheSubnetGroups(const Aws::Vector< CacheSubnetGroup > &value)
DescribeCacheSubnetGroupsResult & AddCacheSubnetGroups(const CacheSubnetGroup &value)
DescribeCacheSubnetGroupsResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument