AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeNodeConfigurationOptionsRequest.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/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ActionType.h>
12#include <aws/redshift/model/NodeConfigurationOptionsFilter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Redshift {
18namespace Model {
19
23 public:
24 AWS_REDSHIFT_API DescribeNodeConfigurationOptionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeNodeConfigurationOptions"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
46 inline ActionType GetActionType() const { return m_actionType; }
47 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
48 inline void SetActionType(ActionType value) {
49 m_actionTypeHasBeenSet = true;
50 m_actionType = value;
51 }
53 SetActionType(value);
54 return *this;
55 }
57
59
63 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
64 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
65 template <typename ClusterIdentifierT = Aws::String>
66 void SetClusterIdentifier(ClusterIdentifierT&& value) {
67 m_clusterIdentifierHasBeenSet = true;
68 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
69 }
70 template <typename ClusterIdentifierT = Aws::String>
72 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
83 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
84 template <typename SnapshotIdentifierT = Aws::String>
85 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) {
86 m_snapshotIdentifierHasBeenSet = true;
87 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
88 }
89 template <typename SnapshotIdentifierT = Aws::String>
91 SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetSnapshotArn() const { return m_snapshotArn; }
102 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
103 template <typename SnapshotArnT = Aws::String>
104 void SetSnapshotArn(SnapshotArnT&& value) {
105 m_snapshotArnHasBeenSet = true;
106 m_snapshotArn = std::forward<SnapshotArnT>(value);
107 }
108 template <typename SnapshotArnT = Aws::String>
110 SetSnapshotArn(std::forward<SnapshotArnT>(value));
111 return *this;
112 }
114
116
121 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
122 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
123 template <typename OwnerAccountT = Aws::String>
124 void SetOwnerAccount(OwnerAccountT&& value) {
125 m_ownerAccountHasBeenSet = true;
126 m_ownerAccount = std::forward<OwnerAccountT>(value);
127 }
128 template <typename OwnerAccountT = Aws::String>
130 SetOwnerAccount(std::forward<OwnerAccountT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<NodeConfigurationOptionsFilter>& GetFilters() const { return m_filters; }
140 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
141 template <typename FiltersT = Aws::Vector<NodeConfigurationOptionsFilter>>
142 void SetFilters(FiltersT&& value) {
143 m_filtersHasBeenSet = true;
144 m_filters = std::forward<FiltersT>(value);
145 }
146 template <typename FiltersT = Aws::Vector<NodeConfigurationOptionsFilter>>
148 SetFilters(std::forward<FiltersT>(value));
149 return *this;
150 }
151 template <typename FiltersT = NodeConfigurationOptionsFilter>
153 m_filtersHasBeenSet = true;
154 m_filters.emplace_back(std::forward<FiltersT>(value));
155 return *this;
156 }
158
160
168 inline const Aws::String& GetMarker() const { return m_marker; }
169 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
170 template <typename MarkerT = Aws::String>
171 void SetMarker(MarkerT&& value) {
172 m_markerHasBeenSet = true;
173 m_marker = std::forward<MarkerT>(value);
174 }
175 template <typename MarkerT = Aws::String>
177 SetMarker(std::forward<MarkerT>(value));
178 return *this;
179 }
181
183
191 inline int GetMaxRecords() const { return m_maxRecords; }
192 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
193 inline void SetMaxRecords(int value) {
194 m_maxRecordsHasBeenSet = true;
195 m_maxRecords = value;
196 }
198 SetMaxRecords(value);
199 return *this;
200 }
202 private:
203 ActionType m_actionType{ActionType::NOT_SET};
204
205 Aws::String m_clusterIdentifier;
206
207 Aws::String m_snapshotIdentifier;
208
209 Aws::String m_snapshotArn;
210
211 Aws::String m_ownerAccount;
212
214
215 Aws::String m_marker;
216
217 int m_maxRecords{0};
218 bool m_actionTypeHasBeenSet = false;
219 bool m_clusterIdentifierHasBeenSet = false;
220 bool m_snapshotIdentifierHasBeenSet = false;
221 bool m_snapshotArnHasBeenSet = false;
222 bool m_ownerAccountHasBeenSet = false;
223 bool m_filtersHasBeenSet = false;
224 bool m_markerHasBeenSet = false;
225 bool m_maxRecordsHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace Redshift
230} // namespace Aws
DescribeNodeConfigurationOptionsRequest & WithMarker(MarkerT &&value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotArn(SnapshotArnT &&value)
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(OwnerAccountT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeNodeConfigurationOptionsRequest & WithFilters(FiltersT &&value)
DescribeNodeConfigurationOptionsRequest & AddFilters(FiltersT &&value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
DescribeNodeConfigurationOptionsRequest & WithActionType(ActionType value)
const Aws::Vector< NodeConfigurationOptionsFilter > & GetFilters() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector