AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNodeConfigurationOptionsRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/model/ActionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/NodeConfigurationOptionsFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Redshift
18{
19namespace 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_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
50 inline const ActionType& GetActionType() const{ return m_actionType; }
51 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
52 inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
53 inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
55 inline DescribeNodeConfigurationOptionsRequest& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
64 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
65 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
66 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
67 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
72
74
78 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
79 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
80 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
81 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
82 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
87
89
93 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
94 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
95 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
96 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
97 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
99 inline DescribeNodeConfigurationOptionsRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
100 inline DescribeNodeConfigurationOptionsRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
102
104
109 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
110 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
111 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
112 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
113 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
115 inline DescribeNodeConfigurationOptionsRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
116 inline DescribeNodeConfigurationOptionsRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
118
120
123 inline const Aws::Vector<NodeConfigurationOptionsFilter>& GetFilters() const{ return m_filters; }
124 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
125 inline void SetFilters(const Aws::Vector<NodeConfigurationOptionsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
126 inline void SetFilters(Aws::Vector<NodeConfigurationOptionsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
129 inline DescribeNodeConfigurationOptionsRequest& AddFilters(const NodeConfigurationOptionsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
130 inline DescribeNodeConfigurationOptionsRequest& AddFilters(NodeConfigurationOptionsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
132
134
142 inline const Aws::String& GetMarker() const{ return m_marker; }
143 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
144 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
145 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
146 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
147 inline DescribeNodeConfigurationOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
148 inline DescribeNodeConfigurationOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
149 inline DescribeNodeConfigurationOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
151
153
161 inline int GetMaxRecords() const{ return m_maxRecords; }
162 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
163 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
164 inline DescribeNodeConfigurationOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
166 private:
167
168 ActionType m_actionType;
169 bool m_actionTypeHasBeenSet = false;
170
171 Aws::String m_clusterIdentifier;
172 bool m_clusterIdentifierHasBeenSet = false;
173
174 Aws::String m_snapshotIdentifier;
175 bool m_snapshotIdentifierHasBeenSet = false;
176
177 Aws::String m_snapshotArn;
178 bool m_snapshotArnHasBeenSet = false;
179
180 Aws::String m_ownerAccount;
181 bool m_ownerAccountHasBeenSet = false;
182
184 bool m_filtersHasBeenSet = false;
185
186 Aws::String m_marker;
187 bool m_markerHasBeenSet = false;
188
189 int m_maxRecords;
190 bool m_maxRecordsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Redshift
195} // namespace Aws
DescribeNodeConfigurationOptionsRequest & AddFilters(NodeConfigurationOptionsFilter &&value)
DescribeNodeConfigurationOptionsRequest & WithMarker(Aws::String &&value)
void SetFilters(const Aws::Vector< NodeConfigurationOptionsFilter > &value)
DescribeNodeConfigurationOptionsRequest & WithFilters(Aws::Vector< NodeConfigurationOptionsFilter > &&value)
DescribeNodeConfigurationOptionsRequest & WithMarker(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & WithActionType(const ActionType &value)
void SetFilters(Aws::Vector< NodeConfigurationOptionsFilter > &&value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotArn(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(Aws::String &&value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeNodeConfigurationOptionsRequest & WithMarker(const char *value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotArn(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & WithFilters(const Aws::Vector< NodeConfigurationOptionsFilter > &value)
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & AddFilters(const NodeConfigurationOptionsFilter &value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(Aws::String &&value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotArn(const char *value)
const Aws::Vector< NodeConfigurationOptionsFilter > & GetFilters() const
DescribeNodeConfigurationOptionsRequest & WithActionType(ActionType &&value)
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(const Aws::String &value)
DescribeNodeConfigurationOptionsRequest & WithOwnerAccount(const char *value)
DescribeNodeConfigurationOptionsRequest & WithClusterIdentifier(const char *value)
DescribeNodeConfigurationOptionsRequest & WithSnapshotIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector