AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeGlobalClustersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeGlobalClusters"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
48 
55  inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
56 
63  inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
64 
71  inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
72 
79  inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
80 
87  inline DescribeGlobalClustersRequest& WithGlobalClusterIdentifier(const Aws::String& value) { SetGlobalClusterIdentifier(value); return *this;}
88 
95  inline DescribeGlobalClustersRequest& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;}
96 
103  inline DescribeGlobalClustersRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
104 
105 
109  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
110 
114  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
115 
119  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
120 
124  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
125 
129  inline DescribeGlobalClustersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
130 
134  inline DescribeGlobalClustersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
135 
139  inline DescribeGlobalClustersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
140 
144  inline DescribeGlobalClustersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
145 
146 
154  inline int GetMaxRecords() const{ return m_maxRecords; }
155 
163  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
164 
172  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
173 
181  inline DescribeGlobalClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
182 
183 
190  inline const Aws::String& GetMarker() const{ return m_marker; }
191 
198  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
199 
206  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
207 
214  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
215 
222  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
223 
230  inline DescribeGlobalClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
231 
238  inline DescribeGlobalClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
239 
246  inline DescribeGlobalClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
247 
248  private:
249 
250  Aws::String m_globalClusterIdentifier;
251  bool m_globalClusterIdentifierHasBeenSet;
252 
253  Aws::Vector<Filter> m_filters;
254  bool m_filtersHasBeenSet;
255 
256  int m_maxRecords;
257  bool m_maxRecordsHasBeenSet;
258 
259  Aws::String m_marker;
260  bool m_markerHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace RDS
265 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeGlobalClustersRequest::SetGlobalClusterIdentifier
void SetGlobalClusterIdentifier(const Aws::String &value)
Definition: DescribeGlobalClustersRequest.h:63
Aws::RDS::Model::DescribeGlobalClustersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeGlobalClustersRequest.h:214
Aws::RDS::Model::DescribeGlobalClustersRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeGlobalClustersRequest.h:124
Aws::RDS::Model::DescribeGlobalClustersRequest::WithFilters
DescribeGlobalClustersRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeGlobalClustersRequest.h:134
Aws::RDS::Model::DescribeGlobalClustersRequest::WithGlobalClusterIdentifier
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(const Aws::String &value)
Definition: DescribeGlobalClustersRequest.h:87
Aws::RDS::Model::DescribeGlobalClustersRequest
Definition: DescribeGlobalClustersRequest.h:24
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeGlobalClustersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeGlobalClustersRequest.h:198
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeGlobalClustersRequest::SetGlobalClusterIdentifier
void SetGlobalClusterIdentifier(const char *value)
Definition: DescribeGlobalClustersRequest.h:79
Aws::RDS::Model::DescribeGlobalClustersRequest::WithGlobalClusterIdentifier
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(Aws::String &&value)
Definition: DescribeGlobalClustersRequest.h:95
AWSVector.h
Aws::RDS::Model::DescribeGlobalClustersRequest::WithMarker
DescribeGlobalClustersRequest & WithMarker(Aws::String &&value)
Definition: DescribeGlobalClustersRequest.h:238
Aws::RDS::Model::DescribeGlobalClustersRequest::SetGlobalClusterIdentifier
void SetGlobalClusterIdentifier(Aws::String &&value)
Definition: DescribeGlobalClustersRequest.h:71
Aws::RDS::Model::DescribeGlobalClustersRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeGlobalClustersRequest.h:154
Aws::RDS::Model::DescribeGlobalClustersRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeGlobalClustersRequest.h:222
Aws::RDS::Model::DescribeGlobalClustersRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeGlobalClustersRequest.h:172
RDS_EXPORTS.h
Aws::RDS::Model::DescribeGlobalClustersRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeGlobalClustersRequest.h:109
Aws::RDS::Model::DescribeGlobalClustersRequest::WithFilters
DescribeGlobalClustersRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeGlobalClustersRequest.h:129
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeGlobalClustersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeGlobalClustersRequest.h:190
Aws::RDS::Model::DescribeGlobalClustersRequest::AddFilters
DescribeGlobalClustersRequest & AddFilters(const Filter &value)
Definition: DescribeGlobalClustersRequest.h:139
AWSString.h
Filter.h
Aws::RDS::Model::DescribeGlobalClustersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeGlobalClustersRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeGlobalClustersRequest.h:119
Aws::RDS::Model::DescribeGlobalClustersRequest::GetGlobalClusterIdentifier
const Aws::String & GetGlobalClusterIdentifier() const
Definition: DescribeGlobalClustersRequest.h:47
Aws::RDS::Model::DescribeGlobalClustersRequest::DescribeGlobalClustersRequest
DescribeGlobalClustersRequest()
Aws::RDS::Model::DescribeGlobalClustersRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeGlobalClustersRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeGlobalClustersRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeGlobalClustersRequest::WithMarker
DescribeGlobalClustersRequest & WithMarker(const Aws::String &value)
Definition: DescribeGlobalClustersRequest.h:230
Aws::RDS::Model::DescribeGlobalClustersRequest::WithGlobalClusterIdentifier
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(const char *value)
Definition: DescribeGlobalClustersRequest.h:103
Aws::RDS::Model::DescribeGlobalClustersRequest::WithMaxRecords
DescribeGlobalClustersRequest & WithMaxRecords(int value)
Definition: DescribeGlobalClustersRequest.h:181
Aws::RDS::Model::DescribeGlobalClustersRequest::AddFilters
DescribeGlobalClustersRequest & AddFilters(Filter &&value)
Definition: DescribeGlobalClustersRequest.h:144
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeGlobalClustersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeGlobalClustersRequest.h:206
Aws::RDS::Model::DescribeGlobalClustersRequest::GlobalClusterIdentifierHasBeenSet
bool GlobalClusterIdentifierHasBeenSet() const
Definition: DescribeGlobalClustersRequest.h:55
Aws::RDS::Model::DescribeGlobalClustersRequest::WithMarker
DescribeGlobalClustersRequest & WithMarker(const char *value)
Definition: DescribeGlobalClustersRequest.h:246
Aws::RDS::Model::DescribeGlobalClustersRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeGlobalClustersRequest.h:163
Aws::RDS::Model::DescribeGlobalClustersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeGlobalClustersRequest.h:32