AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeGlobalClustersRequest.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/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RDS {
17namespace Model {
18
22 public:
23 AWS_RDS_API DescribeGlobalClustersRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeGlobalClusters"; }
30
31 AWS_RDS_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
44 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
45 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
46 template <typename GlobalClusterIdentifierT = Aws::String>
47 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
48 m_globalClusterIdentifierHasBeenSet = true;
49 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
50 }
51 template <typename GlobalClusterIdentifierT = Aws::String>
53 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
54 return *this;
55 }
57
59
66 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
67 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
68 template <typename FiltersT = Aws::Vector<Filter>>
69 void SetFilters(FiltersT&& value) {
70 m_filtersHasBeenSet = true;
71 m_filters = std::forward<FiltersT>(value);
72 }
73 template <typename FiltersT = Aws::Vector<Filter>>
75 SetFilters(std::forward<FiltersT>(value));
76 return *this;
77 }
78 template <typename FiltersT = Filter>
80 m_filtersHasBeenSet = true;
81 m_filters.emplace_back(std::forward<FiltersT>(value));
82 return *this;
83 }
85
87
94 inline int GetMaxRecords() const { return m_maxRecords; }
95 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
96 inline void SetMaxRecords(int value) {
97 m_maxRecordsHasBeenSet = true;
98 m_maxRecords = value;
99 }
101 SetMaxRecords(value);
102 return *this;
103 }
105
107
113 inline const Aws::String& GetMarker() const { return m_marker; }
114 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
115 template <typename MarkerT = Aws::String>
116 void SetMarker(MarkerT&& value) {
117 m_markerHasBeenSet = true;
118 m_marker = std::forward<MarkerT>(value);
119 }
120 template <typename MarkerT = Aws::String>
122 SetMarker(std::forward<MarkerT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_globalClusterIdentifier;
128
129 Aws::Vector<Filter> m_filters;
130
131 int m_maxRecords{0};
132
133 Aws::String m_marker;
134 bool m_globalClusterIdentifierHasBeenSet = false;
135 bool m_filtersHasBeenSet = false;
136 bool m_maxRecordsHasBeenSet = false;
137 bool m_markerHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace RDS
142} // namespace Aws
DescribeGlobalClustersRequest & WithFilters(FiltersT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API Aws::String SerializePayload() const override
DescribeGlobalClustersRequest & AddFilters(FiltersT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeGlobalClustersRequest & WithMaxRecords(int value)
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
DescribeGlobalClustersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector