AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeNodeConfigurationOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Redshift
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "DescribeNodeConfigurationOptions"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
49  inline const ActionType& GetActionType() const{ return m_actionType; }
50 
58  inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
59 
67  inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
68 
76  inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
77 
85  inline DescribeNodeConfigurationOptionsRequest& WithActionType(const ActionType& value) { SetActionType(value); return *this;}
86 
94  inline DescribeNodeConfigurationOptionsRequest& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;}
95 
96 
101  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
102 
107  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
108 
113  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
114 
119  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
120 
125  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
126 
131  inline DescribeNodeConfigurationOptionsRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
132 
137  inline DescribeNodeConfigurationOptionsRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
138 
143  inline DescribeNodeConfigurationOptionsRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
144 
145 
150  inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
151 
156  inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
157 
162  inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
163 
168  inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
169 
174  inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
175 
180  inline DescribeNodeConfigurationOptionsRequest& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
181 
186  inline DescribeNodeConfigurationOptionsRequest& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(std::move(value)); return *this;}
187 
192  inline DescribeNodeConfigurationOptionsRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
193 
194 
199  inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
200 
205  inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
206 
211  inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
212 
217  inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
218 
223  inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
224 
229  inline DescribeNodeConfigurationOptionsRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
230 
235  inline DescribeNodeConfigurationOptionsRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
236 
241  inline DescribeNodeConfigurationOptionsRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
242 
243 
247  inline const Aws::Vector<NodeConfigurationOptionsFilter>& GetFilters() const{ return m_filters; }
248 
252  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
253 
257  inline void SetFilters(const Aws::Vector<NodeConfigurationOptionsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
258 
262  inline void SetFilters(Aws::Vector<NodeConfigurationOptionsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
263 
268 
272  inline DescribeNodeConfigurationOptionsRequest& WithFilters(Aws::Vector<NodeConfigurationOptionsFilter>&& value) { SetFilters(std::move(value)); return *this;}
273 
277  inline DescribeNodeConfigurationOptionsRequest& AddFilters(const NodeConfigurationOptionsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
278 
282  inline DescribeNodeConfigurationOptionsRequest& AddFilters(NodeConfigurationOptionsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
283 
284 
293  inline const Aws::String& GetMarker() const{ return m_marker; }
294 
303  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
304 
313  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
314 
323  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
324 
333  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
334 
343  inline DescribeNodeConfigurationOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
344 
353  inline DescribeNodeConfigurationOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
354 
363  inline DescribeNodeConfigurationOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
364 
365 
374  inline int GetMaxRecords() const{ return m_maxRecords; }
375 
384  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
385 
394  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
395 
404  inline DescribeNodeConfigurationOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
405 
406  private:
407 
408  ActionType m_actionType;
409  bool m_actionTypeHasBeenSet;
410 
411  Aws::String m_clusterIdentifier;
412  bool m_clusterIdentifierHasBeenSet;
413 
414  Aws::String m_snapshotIdentifier;
415  bool m_snapshotIdentifierHasBeenSet;
416 
417  Aws::String m_ownerAccount;
418  bool m_ownerAccountHasBeenSet;
419 
421  bool m_filtersHasBeenSet;
422 
423  Aws::String m_marker;
424  bool m_markerHasBeenSet;
425 
426  int m_maxRecords;
427  bool m_maxRecordsHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace Redshift
432 } // namespace Aws
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & AddFilters(const NodeConfigurationOptionsFilter &value)
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(const char *value)
DescribeNodeConfigurationOptionsRequest & WithMarker(const char *value)
DescribeNodeConfigurationOptionsRequest & WithActionType(ActionType &&value)
void SetFilters(const Aws::Vector< NodeConfigurationOptionsFilter > &value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(const char *value)
DescribeNodeConfigurationOptionsRequest & AddFilters(NodeConfigurationOptionsFilter &&value)
DescribeNodeConfigurationOptionsRequest & WithFilters(Aws::Vector< NodeConfigurationOptionsFilter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeNodeConfigurationOptionsRequest & WithMarker(Aws::String &&value)
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(Aws::String &&value)
void SetFilters(Aws::Vector< NodeConfigurationOptionsFilter > &&value)
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(const char *value)
#define AWS_REDSHIFT_API
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(Aws::String &&value)
DescribeNodeConfigurationOptionsRequest & WithFilters(const Aws::Vector< NodeConfigurationOptionsFilter > &value)
DescribeNodeConfigurationOptionsRequest & WithMarker(const Aws::String &value)
const Aws::Vector< NodeConfigurationOptionsFilter > & GetFilters() const
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeNodeConfigurationOptionsRequest & WithActionType(const ActionType &value)
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(Aws::String &&value)