AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedNodeExchangeStatusRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
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 "DescribeReservedNodeExchangeStatus"; }
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:
38
40
44 inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
45 inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
46 inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
47 inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); }
48 inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
51 inline DescribeReservedNodeExchangeStatusRequest& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
53
55
58 inline const Aws::String& GetReservedNodeExchangeRequestId() const{ return m_reservedNodeExchangeRequestId; }
59 inline bool ReservedNodeExchangeRequestIdHasBeenSet() const { return m_reservedNodeExchangeRequestIdHasBeenSet; }
60 inline void SetReservedNodeExchangeRequestId(const Aws::String& value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId = value; }
61 inline void SetReservedNodeExchangeRequestId(Aws::String&& value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId = std::move(value); }
62 inline void SetReservedNodeExchangeRequestId(const char* value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId.assign(value); }
67
69
76 inline int GetMaxRecords() const{ return m_maxRecords; }
77 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
78 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
81
83
91 inline const Aws::String& GetMarker() const{ return m_marker; }
92 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
93 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
94 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
95 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
96 inline DescribeReservedNodeExchangeStatusRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
97 inline DescribeReservedNodeExchangeStatusRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
98 inline DescribeReservedNodeExchangeStatusRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
100 private:
101
102 Aws::String m_reservedNodeId;
103 bool m_reservedNodeIdHasBeenSet = false;
104
105 Aws::String m_reservedNodeExchangeRequestId;
106 bool m_reservedNodeExchangeRequestIdHasBeenSet = false;
107
108 int m_maxRecords;
109 bool m_maxRecordsHasBeenSet = false;
110
111 Aws::String m_marker;
112 bool m_markerHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Redshift
117} // namespace Aws
DescribeReservedNodeExchangeStatusRequest & WithMarker(const char *value)
DescribeReservedNodeExchangeStatusRequest & WithMarker(Aws::String &&value)
DescribeReservedNodeExchangeStatusRequest & WithMarker(const Aws::String &value)
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeId(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeId(const char *value)
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeExchangeRequestId(const char *value)
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeExchangeRequestId(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeId(const Aws::String &value)
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeExchangeRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String