AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetReservedNodeExchangeConfigurationOptionsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetReservedNodeExchangeConfigurationOptions"; }
32
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
44 inline const ReservedNodeExchangeActionType& GetActionType() const{ return m_actionType; }
45
50 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
51
56 inline void SetActionType(const ReservedNodeExchangeActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
57
62 inline void SetActionType(ReservedNodeExchangeActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
63
69
75
76
81 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
82
87 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
88
93 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
94
99 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
100
105 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
106
112
118
124
125
130 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
131
136 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
137
142 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
143
148 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
149
154 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
155
161
167
173
174
182 inline int GetMaxRecords() const{ return m_maxRecords; }
183
191 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
192
200 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
201
210
211
220 inline const Aws::String& GetMarker() const{ return m_marker; }
221
230 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
231
240 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
241
250 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
251
260 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
261
271
280 inline GetReservedNodeExchangeConfigurationOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
281
290 inline GetReservedNodeExchangeConfigurationOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
291
292 private:
293
295 bool m_actionTypeHasBeenSet = false;
296
297 Aws::String m_clusterIdentifier;
298 bool m_clusterIdentifierHasBeenSet = false;
299
300 Aws::String m_snapshotIdentifier;
301 bool m_snapshotIdentifierHasBeenSet = false;
302
303 int m_maxRecords;
304 bool m_maxRecordsHasBeenSet = false;
305
306 Aws::String m_marker;
307 bool m_markerHasBeenSet = false;
308 };
309
310} // namespace Model
311} // namespace Redshift
312} // namespace Aws
#define AWS_REDSHIFT_API
AWS_REDSHIFT_API Aws::String SerializePayload() const override
GetReservedNodeExchangeConfigurationOptionsRequest & WithActionType(ReservedNodeExchangeActionType &&value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithSnapshotIdentifier(Aws::String &&value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithSnapshotIdentifier(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetReservedNodeExchangeConfigurationOptionsRequest & WithMarker(const Aws::String &value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithActionType(const ReservedNodeExchangeActionType &value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithSnapshotIdentifier(const char *value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithClusterIdentifier(Aws::String &&value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithClusterIdentifier(const Aws::String &value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithMarker(const char *value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithClusterIdentifier(const char *value)
GetReservedNodeExchangeConfigurationOptionsRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String