AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeGlobalClustersResult.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/rds/RDS_EXPORTS.h>
10#include <aws/rds/model/GlobalCluster.h>
11#include <aws/rds/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 RDS {
25namespace Model {
27 public:
28 AWS_RDS_API DescribeGlobalClustersResult() = default;
31
33
39 inline const Aws::String& GetMarker() const { return m_marker; }
40 template <typename MarkerT = Aws::String>
41 void SetMarker(MarkerT&& value) {
42 m_markerHasBeenSet = true;
43 m_marker = std::forward<MarkerT>(value);
44 }
45 template <typename MarkerT = Aws::String>
47 SetMarker(std::forward<MarkerT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<GlobalCluster>& GetGlobalClusters() const { return m_globalClusters; }
57 template <typename GlobalClustersT = Aws::Vector<GlobalCluster>>
58 void SetGlobalClusters(GlobalClustersT&& value) {
59 m_globalClustersHasBeenSet = true;
60 m_globalClusters = std::forward<GlobalClustersT>(value);
61 }
62 template <typename GlobalClustersT = Aws::Vector<GlobalCluster>>
64 SetGlobalClusters(std::forward<GlobalClustersT>(value));
65 return *this;
66 }
67 template <typename GlobalClustersT = GlobalCluster>
69 m_globalClustersHasBeenSet = true;
70 m_globalClusters.emplace_back(std::forward<GlobalClustersT>(value));
71 return *this;
72 }
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
78 template <typename ResponseMetadataT = ResponseMetadata>
79 void SetResponseMetadata(ResponseMetadataT&& value) {
80 m_responseMetadataHasBeenSet = true;
81 m_responseMetadata = std::forward<ResponseMetadataT>(value);
82 }
83 template <typename ResponseMetadataT = ResponseMetadata>
85 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_marker;
91
92 Aws::Vector<GlobalCluster> m_globalClusters;
93
94 ResponseMetadata m_responseMetadata;
95 bool m_markerHasBeenSet = false;
96 bool m_globalClustersHasBeenSet = false;
97 bool m_responseMetadataHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace RDS
102} // namespace Aws
DescribeGlobalClustersResult & AddGlobalClusters(GlobalClustersT &&value)
AWS_RDS_API DescribeGlobalClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeGlobalClustersResult & WithMarker(MarkerT &&value)
DescribeGlobalClustersResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_RDS_API DescribeGlobalClustersResult()=default
DescribeGlobalClustersResult & WithGlobalClusters(GlobalClustersT &&value)
const Aws::Vector< GlobalCluster > & GetGlobalClusters() const
AWS_RDS_API DescribeGlobalClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument