AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_REDSHIFT_API DescribeReservedNodeExchangeStatusRequest() = default;
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 template<typename ReservedNodeIdT = Aws::String>
47 void SetReservedNodeId(ReservedNodeIdT&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::forward<ReservedNodeIdT>(value); }
48 template<typename ReservedNodeIdT = Aws::String>
49 DescribeReservedNodeExchangeStatusRequest& WithReservedNodeId(ReservedNodeIdT&& value) { SetReservedNodeId(std::forward<ReservedNodeIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetReservedNodeExchangeRequestId() const { return m_reservedNodeExchangeRequestId; }
57 inline bool ReservedNodeExchangeRequestIdHasBeenSet() const { return m_reservedNodeExchangeRequestIdHasBeenSet; }
58 template<typename ReservedNodeExchangeRequestIdT = Aws::String>
59 void SetReservedNodeExchangeRequestId(ReservedNodeExchangeRequestIdT&& value) { m_reservedNodeExchangeRequestIdHasBeenSet = true; m_reservedNodeExchangeRequestId = std::forward<ReservedNodeExchangeRequestIdT>(value); }
60 template<typename ReservedNodeExchangeRequestIdT = Aws::String>
61 DescribeReservedNodeExchangeStatusRequest& WithReservedNodeExchangeRequestId(ReservedNodeExchangeRequestIdT&& value) { SetReservedNodeExchangeRequestId(std::forward<ReservedNodeExchangeRequestIdT>(value)); return *this;}
63
65
72 inline int GetMaxRecords() const { return m_maxRecords; }
73 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
74 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
77
79
87 inline const Aws::String& GetMarker() const { return m_marker; }
88 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
89 template<typename MarkerT = Aws::String>
90 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
91 template<typename MarkerT = Aws::String>
92 DescribeReservedNodeExchangeStatusRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
94 private:
95
96 Aws::String m_reservedNodeId;
97 bool m_reservedNodeIdHasBeenSet = false;
98
99 Aws::String m_reservedNodeExchangeRequestId;
100 bool m_reservedNodeExchangeRequestIdHasBeenSet = false;
101
102 int m_maxRecords{0};
103 bool m_maxRecordsHasBeenSet = false;
104
105 Aws::String m_marker;
106 bool m_markerHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Redshift
111} // namespace Aws
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeExchangeRequestId(ReservedNodeExchangeRequestIdT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeReservedNodeExchangeStatusRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeReservedNodeExchangeStatusRequest & WithReservedNodeId(ReservedNodeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String