AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DescribeDBClustersRequest.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
26 public:
27 AWS_DOCDB_API DescribeDBClustersRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusters"; }
34
35 AWS_DOCDB_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
48 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
49 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
50 template <typename DBClusterIdentifierT = Aws::String>
51 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
52 m_dBClusterIdentifierHasBeenSet = true;
53 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
54 }
55 template <typename DBClusterIdentifierT = Aws::String>
56 DescribeDBClustersRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
57 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
58 return *this;
59 }
61
63
70 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
71 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
72 template <typename FiltersT = Aws::Vector<Filter>>
73 void SetFilters(FiltersT&& value) {
74 m_filtersHasBeenSet = true;
75 m_filters = std::forward<FiltersT>(value);
76 }
77 template <typename FiltersT = Aws::Vector<Filter>>
79 SetFilters(std::forward<FiltersT>(value));
80 return *this;
81 }
82 template <typename FiltersT = Filter>
84 m_filtersHasBeenSet = true;
85 m_filters.emplace_back(std::forward<FiltersT>(value));
86 return *this;
87 }
89
91
97 inline int GetMaxRecords() const { return m_maxRecords; }
98 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
99 inline void SetMaxRecords(int value) {
100 m_maxRecordsHasBeenSet = true;
101 m_maxRecords = value;
102 }
104 SetMaxRecords(value);
105 return *this;
106 }
108
110
115 inline const Aws::String& GetMarker() const { return m_marker; }
116 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
117 template <typename MarkerT = Aws::String>
118 void SetMarker(MarkerT&& value) {
119 m_markerHasBeenSet = true;
120 m_marker = std::forward<MarkerT>(value);
121 }
122 template <typename MarkerT = Aws::String>
124 SetMarker(std::forward<MarkerT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_dBClusterIdentifier;
130
131 Aws::Vector<Filter> m_filters;
132
133 int m_maxRecords{0};
134
135 Aws::String m_marker;
136 bool m_dBClusterIdentifierHasBeenSet = false;
137 bool m_filtersHasBeenSet = false;
138 bool m_maxRecordsHasBeenSet = false;
139 bool m_markerHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace DocDB
144} // namespace Aws
const Aws::Vector< Filter > & GetFilters() const
DescribeDBClustersRequest & WithFilters(FiltersT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DOCDB_API DescribeDBClustersRequest()=default
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
DescribeDBClustersRequest & WithMarker(MarkerT &&value)
DescribeDBClustersRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
DescribeDBClustersRequest & AddFilters(FiltersT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
DescribeDBClustersRequest & WithMaxRecords(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector