AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
27 AWS_REDSHIFT_API DescribeNodeConfigurationOptionsRequest() = 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 "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 ActionType GetActionType() const { return m_actionType; }
51 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
52 inline void SetActionType(ActionType value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
55
57
61 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
62 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
63 template<typename ClusterIdentifierT = Aws::String>
64 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
65 template<typename ClusterIdentifierT = Aws::String>
66 DescribeNodeConfigurationOptionsRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
68
70
74 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
75 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
76 template<typename SnapshotIdentifierT = Aws::String>
77 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
78 template<typename SnapshotIdentifierT = Aws::String>
79 DescribeNodeConfigurationOptionsRequest& WithSnapshotIdentifier(SnapshotIdentifierT&& value) { SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value)); return *this;}
81
83
87 inline const Aws::String& GetSnapshotArn() const { return m_snapshotArn; }
88 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
89 template<typename SnapshotArnT = Aws::String>
90 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
91 template<typename SnapshotArnT = Aws::String>
92 DescribeNodeConfigurationOptionsRequest& WithSnapshotArn(SnapshotArnT&& value) { SetSnapshotArn(std::forward<SnapshotArnT>(value)); return *this;}
94
96
101 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
102 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
103 template<typename OwnerAccountT = Aws::String>
104 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
105 template<typename OwnerAccountT = Aws::String>
106 DescribeNodeConfigurationOptionsRequest& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
108
110
113 inline const Aws::Vector<NodeConfigurationOptionsFilter>& GetFilters() const { return m_filters; }
114 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
115 template<typename FiltersT = Aws::Vector<NodeConfigurationOptionsFilter>>
116 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
117 template<typename FiltersT = Aws::Vector<NodeConfigurationOptionsFilter>>
118 DescribeNodeConfigurationOptionsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
119 template<typename FiltersT = NodeConfigurationOptionsFilter>
120 DescribeNodeConfigurationOptionsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
122
124
132 inline const Aws::String& GetMarker() const { return m_marker; }
133 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
134 template<typename MarkerT = Aws::String>
135 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
136 template<typename MarkerT = Aws::String>
137 DescribeNodeConfigurationOptionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
139
141
149 inline int GetMaxRecords() const { return m_maxRecords; }
150 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
151 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
152 inline DescribeNodeConfigurationOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
154 private:
155
156 ActionType m_actionType{ActionType::NOT_SET};
157 bool m_actionTypeHasBeenSet = false;
158
159 Aws::String m_clusterIdentifier;
160 bool m_clusterIdentifierHasBeenSet = false;
161
162 Aws::String m_snapshotIdentifier;
163 bool m_snapshotIdentifierHasBeenSet = false;
164
165 Aws::String m_snapshotArn;
166 bool m_snapshotArnHasBeenSet = false;
167
168 Aws::String m_ownerAccount;
169 bool m_ownerAccountHasBeenSet = false;
170
172 bool m_filtersHasBeenSet = false;
173
174 Aws::String m_marker;
175 bool m_markerHasBeenSet = false;
176
177 int m_maxRecords{0};
178 bool m_maxRecordsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Redshift
183} // 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