AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGlobalClustersRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
48 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
49 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
50 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
51 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
52 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
57
59
66 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
67 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
68 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
69 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
70 inline DescribeGlobalClustersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
71 inline DescribeGlobalClustersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
72 inline DescribeGlobalClustersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
73 inline DescribeGlobalClustersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
75
77
84 inline int GetMaxRecords() const{ return m_maxRecords; }
85 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
86 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
87 inline DescribeGlobalClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
89
91
97 inline const Aws::String& GetMarker() const{ return m_marker; }
98 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
99 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
100 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
101 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
102 inline DescribeGlobalClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
103 inline DescribeGlobalClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
104 inline DescribeGlobalClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
106 private:
107
108 Aws::String m_globalClusterIdentifier;
109 bool m_globalClusterIdentifierHasBeenSet = false;
110
111 Aws::Vector<Filter> m_filters;
112 bool m_filtersHasBeenSet = false;
113
114 int m_maxRecords;
115 bool m_maxRecordsHasBeenSet = false;
116
117 Aws::String m_marker;
118 bool m_markerHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace RDS
123} // namespace Aws
DescribeGlobalClustersRequest & WithMarker(Aws::String &&value)
DescribeGlobalClustersRequest & WithMarker(const Aws::String &value)
DescribeGlobalClustersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeGlobalClustersRequest & AddFilters(Filter &&value)
virtual const char * GetServiceRequestName() const override
DescribeGlobalClustersRequest & WithFilters(Aws::Vector< Filter > &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeGlobalClustersRequest & AddFilters(const Filter &value)
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(Aws::String &&value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(const char *value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeGlobalClustersRequest & WithMaxRecords(int value)
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(const Aws::String &value)
DescribeGlobalClustersRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector