AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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/docdb/DocDBRequest.h>
10#include <aws/docdb/DocDB_EXPORTS.h>
11#include <aws/docdb/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DocDB {
17namespace Model {
18
22 public:
23 AWS_DOCDB_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_DOCDB_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
43 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
44 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
45 template <typename GlobalClusterIdentifierT = Aws::String>
46 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
47 m_globalClusterIdentifierHasBeenSet = true;
48 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
49 }
50 template <typename GlobalClusterIdentifierT = Aws::String>
52 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
65 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
66 template <typename FiltersT = Aws::Vector<Filter>>
67 void SetFilters(FiltersT&& value) {
68 m_filtersHasBeenSet = true;
69 m_filters = std::forward<FiltersT>(value);
70 }
71 template <typename FiltersT = Aws::Vector<Filter>>
73 SetFilters(std::forward<FiltersT>(value));
74 return *this;
75 }
76 template <typename FiltersT = Filter>
78 m_filtersHasBeenSet = true;
79 m_filters.emplace_back(std::forward<FiltersT>(value));
80 return *this;
81 }
83
85
91 inline int GetMaxRecords() const { return m_maxRecords; }
92 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
93 inline void SetMaxRecords(int value) {
94 m_maxRecordsHasBeenSet = true;
95 m_maxRecords = value;
96 }
98 SetMaxRecords(value);
99 return *this;
100 }
102
104
110 inline const Aws::String& GetMarker() const { return m_marker; }
111 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
112 template <typename MarkerT = Aws::String>
113 void SetMarker(MarkerT&& value) {
114 m_markerHasBeenSet = true;
115 m_marker = std::forward<MarkerT>(value);
116 }
117 template <typename MarkerT = Aws::String>
119 SetMarker(std::forward<MarkerT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_globalClusterIdentifier;
125
126 Aws::Vector<Filter> m_filters;
127
128 int m_maxRecords{0};
129
130 Aws::String m_marker;
131 bool m_globalClusterIdentifierHasBeenSet = false;
132 bool m_filtersHasBeenSet = false;
133 bool m_maxRecordsHasBeenSet = false;
134 bool m_markerHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace DocDB
139} // namespace Aws
AWS_DOCDB_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeGlobalClustersRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
DescribeGlobalClustersRequest & AddFilters(FiltersT &&value)
DescribeGlobalClustersRequest & WithFilters(FiltersT &&value)
DescribeGlobalClustersRequest & WithMaxRecords(int value)
AWS_DOCDB_API DescribeGlobalClustersRequest()=default
DescribeGlobalClustersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector