AWS SDK for C++

AWS SDK for C++ Version 1.11.683

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/neptune/NeptuneRequest.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Neptune {
17namespace Model {
18
22 public:
23 AWS_NEPTUNE_API DescribeDBClustersRequest() = 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 "DescribeDBClusters"; }
30
31 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
44 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
45 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
46 template <typename DBClusterIdentifierT = Aws::String>
47 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
48 m_dBClusterIdentifierHasBeenSet = true;
49 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
50 }
51 template <typename DBClusterIdentifierT = Aws::String>
52 DescribeDBClustersRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
53 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
54 return *this;
55 }
57
59
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 bool m_dBClusterIdentifierHasBeenSet = false;
131
132 Aws::Vector<Filter> m_filters;
133 bool m_filtersHasBeenSet = false;
134
135 int m_maxRecords{0};
136 bool m_maxRecordsHasBeenSet = false;
137
138 Aws::String m_marker;
139 bool m_markerHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Neptune
144} // namespace Aws
DescribeDBClustersRequest & WithMaxRecords(int value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
DescribeDBClustersRequest & WithFilters(FiltersT &&value)
AWS_NEPTUNE_API DescribeDBClustersRequest()=default
DescribeDBClustersRequest & WithMarker(MarkerT &&value)
const Aws::Vector< Filter > & GetFilters() const
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClustersRequest & AddFilters(FiltersT &&value)
DescribeDBClustersRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector