AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeCacheParameterGroupsResult.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/CacheParameterGroup.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 DescribeCacheParameterGroupsResult() = default;
42
43
45
48 inline const Aws::String& GetMarker() const { return m_marker; }
49 template<typename MarkerT = Aws::String>
50 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
51 template<typename MarkerT = Aws::String>
52 DescribeCacheParameterGroupsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
54
56
60 inline const Aws::Vector<CacheParameterGroup>& GetCacheParameterGroups() const { return m_cacheParameterGroups; }
61 template<typename CacheParameterGroupsT = Aws::Vector<CacheParameterGroup>>
62 void SetCacheParameterGroups(CacheParameterGroupsT&& value) { m_cacheParameterGroupsHasBeenSet = true; m_cacheParameterGroups = std::forward<CacheParameterGroupsT>(value); }
63 template<typename CacheParameterGroupsT = Aws::Vector<CacheParameterGroup>>
64 DescribeCacheParameterGroupsResult& WithCacheParameterGroups(CacheParameterGroupsT&& value) { SetCacheParameterGroups(std::forward<CacheParameterGroupsT>(value)); return *this;}
65 template<typename CacheParameterGroupsT = CacheParameterGroup>
66 DescribeCacheParameterGroupsResult& AddCacheParameterGroups(CacheParameterGroupsT&& value) { m_cacheParameterGroupsHasBeenSet = true; m_cacheParameterGroups.emplace_back(std::forward<CacheParameterGroupsT>(value)); return *this; }
68
70
71 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
72 template<typename ResponseMetadataT = ResponseMetadata>
73 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
74 template<typename ResponseMetadataT = ResponseMetadata>
75 DescribeCacheParameterGroupsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
77 private:
78
79 Aws::String m_marker;
80 bool m_markerHasBeenSet = false;
81
82 Aws::Vector<CacheParameterGroup> m_cacheParameterGroups;
83 bool m_cacheParameterGroupsHasBeenSet = false;
84
85 ResponseMetadata m_responseMetadata;
86 bool m_responseMetadataHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ElastiCache
91} // 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