AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeGlobalReplicationGroupsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/GlobalReplicationGroup.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache {
25namespace Model {
27 public:
28 AWS_ELASTICACHE_API DescribeGlobalReplicationGroupsResult() = default;
32
34
40 inline const Aws::String& GetMarker() const { return m_marker; }
41 template <typename MarkerT = Aws::String>
42 void SetMarker(MarkerT&& value) {
43 m_markerHasBeenSet = true;
44 m_marker = std::forward<MarkerT>(value);
45 }
46 template <typename MarkerT = Aws::String>
48 SetMarker(std::forward<MarkerT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::Vector<GlobalReplicationGroup>& GetGlobalReplicationGroups() const { return m_globalReplicationGroups; }
59 template <typename GlobalReplicationGroupsT = Aws::Vector<GlobalReplicationGroup>>
60 void SetGlobalReplicationGroups(GlobalReplicationGroupsT&& value) {
61 m_globalReplicationGroupsHasBeenSet = true;
62 m_globalReplicationGroups = std::forward<GlobalReplicationGroupsT>(value);
63 }
64 template <typename GlobalReplicationGroupsT = Aws::Vector<GlobalReplicationGroup>>
66 SetGlobalReplicationGroups(std::forward<GlobalReplicationGroupsT>(value));
67 return *this;
68 }
69 template <typename GlobalReplicationGroupsT = GlobalReplicationGroup>
71 m_globalReplicationGroupsHasBeenSet = true;
72 m_globalReplicationGroups.emplace_back(std::forward<GlobalReplicationGroupsT>(value));
73 return *this;
74 }
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
80 template <typename ResponseMetadataT = ResponseMetadata>
81 void SetResponseMetadata(ResponseMetadataT&& value) {
82 m_responseMetadataHasBeenSet = true;
83 m_responseMetadata = std::forward<ResponseMetadataT>(value);
84 }
85 template <typename ResponseMetadataT = ResponseMetadata>
87 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_marker;
93
94 Aws::Vector<GlobalReplicationGroup> m_globalReplicationGroups;
95
96 ResponseMetadata m_responseMetadata;
97 bool m_markerHasBeenSet = false;
98 bool m_globalReplicationGroupsHasBeenSet = false;
99 bool m_responseMetadataHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace ElastiCache
104} // namespace Aws
AWS_ELASTICACHE_API DescribeGlobalReplicationGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalReplicationGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeGlobalReplicationGroupsResult & WithGlobalReplicationGroups(GlobalReplicationGroupsT &&value)
DescribeGlobalReplicationGroupsResult & WithMarker(MarkerT &&value)
const Aws::Vector< GlobalReplicationGroup > & GetGlobalReplicationGroups() const
AWS_ELASTICACHE_API DescribeGlobalReplicationGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalReplicationGroupsResult & AddGlobalReplicationGroups(GlobalReplicationGroupsT &&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