AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeGlobalClustersResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace RDS
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
44  inline const Aws::String& GetMarker() const{ return m_marker; }
45 
52  inline void SetMarker(const Aws::String& value) { m_marker = value; }
53 
60  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
61 
68  inline void SetMarker(const char* value) { m_marker.assign(value); }
69 
76  inline DescribeGlobalClustersResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
77 
84  inline DescribeGlobalClustersResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
92  inline DescribeGlobalClustersResult& WithMarker(const char* value) { SetMarker(value); return *this;}
93 
94 
98  inline const Aws::Vector<GlobalCluster>& GetGlobalClusters() const{ return m_globalClusters; }
99 
103  inline void SetGlobalClusters(const Aws::Vector<GlobalCluster>& value) { m_globalClusters = value; }
104 
108  inline void SetGlobalClusters(Aws::Vector<GlobalCluster>&& value) { m_globalClusters = std::move(value); }
109 
113  inline DescribeGlobalClustersResult& WithGlobalClusters(const Aws::Vector<GlobalCluster>& value) { SetGlobalClusters(value); return *this;}
114 
118  inline DescribeGlobalClustersResult& WithGlobalClusters(Aws::Vector<GlobalCluster>&& value) { SetGlobalClusters(std::move(value)); return *this;}
119 
123  inline DescribeGlobalClustersResult& AddGlobalClusters(const GlobalCluster& value) { m_globalClusters.push_back(value); return *this; }
124 
128  inline DescribeGlobalClustersResult& AddGlobalClusters(GlobalCluster&& value) { m_globalClusters.push_back(std::move(value)); return *this; }
129 
130 
131 
132  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
133 
134 
135  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
136 
137 
138  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
139 
140 
141  inline DescribeGlobalClustersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeGlobalClustersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::String m_marker;
149 
150  Aws::Vector<GlobalCluster> m_globalClusters;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace RDS
157 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeGlobalClustersResult::DescribeGlobalClustersResult
DescribeGlobalClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GlobalCluster.h
Aws::RDS::Model::DescribeGlobalClustersResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeGlobalClustersResult.h:44
Aws::RDS::Model::DescribeGlobalClustersResult
Definition: DescribeGlobalClustersResult.h:31
Aws::RDS::Model::DescribeGlobalClustersResult::AddGlobalClusters
DescribeGlobalClustersResult & AddGlobalClusters(GlobalCluster &&value)
Definition: DescribeGlobalClustersResult.h:128
Aws::RDS::Model::DescribeGlobalClustersResult::WithMarker
DescribeGlobalClustersResult & WithMarker(Aws::String &&value)
Definition: DescribeGlobalClustersResult.h:84
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeGlobalClustersResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeGlobalClustersResult.h:52
Aws::RDS::Model::GlobalCluster
Definition: GlobalCluster.h:36
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
RDS_EXPORTS.h
Aws::RDS::Model::DescribeGlobalClustersResult::GetGlobalClusters
const Aws::Vector< GlobalCluster > & GetGlobalClusters() const
Definition: DescribeGlobalClustersResult.h:98
Aws::RDS::Model::DescribeGlobalClustersResult::WithResponseMetadata
DescribeGlobalClustersResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeGlobalClustersResult.h:141
AWSString.h
Aws::RDS::Model::DescribeGlobalClustersResult::WithMarker
DescribeGlobalClustersResult & WithMarker(const Aws::String &value)
Definition: DescribeGlobalClustersResult.h:76
Aws::RDS::Model::DescribeGlobalClustersResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeGlobalClustersResult.h:135
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeGlobalClustersResult::operator=
DescribeGlobalClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeGlobalClustersResult::SetGlobalClusters
void SetGlobalClusters(const Aws::Vector< GlobalCluster > &value)
Definition: DescribeGlobalClustersResult.h:103
Aws::RDS::Model::DescribeGlobalClustersResult::SetGlobalClusters
void SetGlobalClusters(Aws::Vector< GlobalCluster > &&value)
Definition: DescribeGlobalClustersResult.h:108
Aws::RDS::Model::DescribeGlobalClustersResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeGlobalClustersResult.h:60
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeGlobalClustersResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeGlobalClustersResult.h:68
Aws::RDS::Model::DescribeGlobalClustersResult::WithMarker
DescribeGlobalClustersResult & WithMarker(const char *value)
Definition: DescribeGlobalClustersResult.h:92
Aws::RDS::Model::DescribeGlobalClustersResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeGlobalClustersResult.h:138
Aws::RDS::Model::DescribeGlobalClustersResult::AddGlobalClusters
DescribeGlobalClustersResult & AddGlobalClusters(const GlobalCluster &value)
Definition: DescribeGlobalClustersResult.h:123
Aws::RDS::Model::DescribeGlobalClustersResult::WithResponseMetadata
DescribeGlobalClustersResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeGlobalClustersResult.h:144
Aws::RDS::Model::DescribeGlobalClustersResult::DescribeGlobalClustersResult
DescribeGlobalClustersResult()
Aws::RDS::Model::DescribeGlobalClustersResult::WithGlobalClusters
DescribeGlobalClustersResult & WithGlobalClusters(Aws::Vector< GlobalCluster > &&value)
Definition: DescribeGlobalClustersResult.h:118
Aws::RDS::Model::DescribeGlobalClustersResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeGlobalClustersResult.h:132
Aws::RDS::Model::DescribeGlobalClustersResult::WithGlobalClusters
DescribeGlobalClustersResult & WithGlobalClusters(const Aws::Vector< GlobalCluster > &value)
Definition: DescribeGlobalClustersResult.h:113