AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeCacheParameterGroupsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/CacheParameterGroup.h>
12#include <aws/elasticache/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElastiCache {
26namespace Model {
34 public:
35 AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult() = default;
39
41
44 inline const Aws::String& GetMarker() const { return m_marker; }
45 template <typename MarkerT = Aws::String>
46 void SetMarker(MarkerT&& value) {
47 m_markerHasBeenSet = true;
48 m_marker = std::forward<MarkerT>(value);
49 }
50 template <typename MarkerT = Aws::String>
52 SetMarker(std::forward<MarkerT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<CacheParameterGroup>& GetCacheParameterGroups() const { return m_cacheParameterGroups; }
63 template <typename CacheParameterGroupsT = Aws::Vector<CacheParameterGroup>>
64 void SetCacheParameterGroups(CacheParameterGroupsT&& value) {
65 m_cacheParameterGroupsHasBeenSet = true;
66 m_cacheParameterGroups = std::forward<CacheParameterGroupsT>(value);
67 }
68 template <typename CacheParameterGroupsT = Aws::Vector<CacheParameterGroup>>
70 SetCacheParameterGroups(std::forward<CacheParameterGroupsT>(value));
71 return *this;
72 }
73 template <typename CacheParameterGroupsT = CacheParameterGroup>
75 m_cacheParameterGroupsHasBeenSet = true;
76 m_cacheParameterGroups.emplace_back(std::forward<CacheParameterGroupsT>(value));
77 return *this;
78 }
80
82
83 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
84 template <typename ResponseMetadataT = ResponseMetadata>
85 void SetResponseMetadata(ResponseMetadataT&& value) {
86 m_responseMetadataHasBeenSet = true;
87 m_responseMetadata = std::forward<ResponseMetadataT>(value);
88 }
89 template <typename ResponseMetadataT = ResponseMetadata>
91 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_marker;
99
100 Aws::Vector<CacheParameterGroup> m_cacheParameterGroups;
101
102 ResponseMetadata m_responseMetadata;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_markerHasBeenSet = false;
105 bool m_cacheParameterGroupsHasBeenSet = false;
106 bool m_responseMetadataHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace ElastiCache
111} // namespace Aws
AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCacheParameterGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult()=default
DescribeCacheParameterGroupsResult & WithMarker(MarkerT &&value)
DescribeCacheParameterGroupsResult & AddCacheParameterGroups(CacheParameterGroupsT &&value)
AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCacheParameterGroupsResult & WithCacheParameterGroups(CacheParameterGroupsT &&value)
const Aws::Vector< CacheParameterGroup > & GetCacheParameterGroups() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument