AWS SDK for C++  1.8.71
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 
113  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
114 
122  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
123 
131  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
132 
140  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
141 
149  inline DescribeGlobalClustersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
150 
158  inline DescribeGlobalClustersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
159 
167  inline DescribeGlobalClustersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
168 
176  inline DescribeGlobalClustersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
177 
178 
186  inline int GetMaxRecords() const{ return m_maxRecords; }
187 
195  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
196 
204  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
205 
213  inline DescribeGlobalClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
214 
215 
222  inline const Aws::String& GetMarker() const{ return m_marker; }
223 
230  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
231 
238  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
239 
246  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
247 
254  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
255 
262  inline DescribeGlobalClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
263 
270  inline DescribeGlobalClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
271 
278  inline DescribeGlobalClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
279 
280  private:
281 
282  Aws::String m_globalClusterIdentifier;
283  bool m_globalClusterIdentifierHasBeenSet;
284 
285  Aws::Vector<Filter> m_filters;
286  bool m_filtersHasBeenSet;
287 
288  int m_maxRecords;
289  bool m_maxRecordsHasBeenSet;
290 
291  Aws::String m_marker;
292  bool m_markerHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace RDS
297 } // namespace Aws
DescribeGlobalClustersRequest & WithMarker(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
DescribeGlobalClustersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeGlobalClustersRequest & AddFilters(const Filter &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeGlobalClustersRequest & WithMaxRecords(int value)
DescribeGlobalClustersRequest & AddFilters(Filter &&value)
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(Aws::String &&value)
DescribeGlobalClustersRequest & WithMarker(const Aws::String &value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
virtual const char * GetServiceRequestName() const override
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(const char *value)
DescribeGlobalClustersRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeGlobalClustersRequest & WithMarker(Aws::String &&value)