AWS SDK for C++  1.9.40
AWS SDK for C++
GetReservedNodeExchangeOfferingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace Model
17 {
18 
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 "GetReservedNodeExchangeOfferings"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
47 
52  inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
53 
58  inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
59 
64  inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); }
65 
70  inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
71 
76  inline GetReservedNodeExchangeOfferingsRequest& WithReservedNodeId(const Aws::String& value) { SetReservedNodeId(value); return *this;}
77 
82  inline GetReservedNodeExchangeOfferingsRequest& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(std::move(value)); return *this;}
83 
88  inline GetReservedNodeExchangeOfferingsRequest& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
89 
90 
95  inline int GetMaxRecords() const{ return m_maxRecords; }
96 
101  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
102 
107  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
108 
113  inline GetReservedNodeExchangeOfferingsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
114 
115 
120  inline const Aws::String& GetMarker() const{ return m_marker; }
121 
126  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
127 
132  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
133 
138  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
139 
144  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
145 
150  inline GetReservedNodeExchangeOfferingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
151 
156  inline GetReservedNodeExchangeOfferingsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
157 
162  inline GetReservedNodeExchangeOfferingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
163 
164  private:
165 
166  Aws::String m_reservedNodeId;
167  bool m_reservedNodeIdHasBeenSet;
168 
169  int m_maxRecords;
170  bool m_maxRecordsHasBeenSet;
171 
172  Aws::String m_marker;
173  bool m_markerHasBeenSet;
174  };
175 
176 } // namespace Model
177 } // namespace Redshift
178 } // namespace Aws
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetMarker
void SetMarker(const char *value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:144
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::ReservedNodeIdHasBeenSet
bool ReservedNodeIdHasBeenSet() const
Definition: GetReservedNodeExchangeOfferingsRequest.h:52
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithMarker
GetReservedNodeExchangeOfferingsRequest & WithMarker(const char *value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:162
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: GetReservedNodeExchangeOfferingsRequest.h:126
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithMarker
GetReservedNodeExchangeOfferingsRequest & WithMarker(const Aws::String &value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:150
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:138
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithMarker
GetReservedNodeExchangeOfferingsRequest & WithMarker(Aws::String &&value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:156
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithReservedNodeId
GetReservedNodeExchangeOfferingsRequest & WithReservedNodeId(const Aws::String &value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:76
RedshiftRequest.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:107
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetReservedNodeId
void SetReservedNodeId(Aws::String &&value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:64
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: GetReservedNodeExchangeOfferingsRequest.h:95
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithReservedNodeId
GetReservedNodeExchangeOfferingsRequest & WithReservedNodeId(const char *value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:88
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: GetReservedNodeExchangeOfferingsRequest.h:101
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetReservedNodeId
void SetReservedNodeId(const Aws::String &value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:58
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:132
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetReservedNodeExchangeOfferingsRequest.h:33
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: GetReservedNodeExchangeOfferingsRequest.h:120
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithReservedNodeId
GetReservedNodeExchangeOfferingsRequest & WithReservedNodeId(Aws::String &&value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:82
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest
Definition: GetReservedNodeExchangeOfferingsRequest.h:25
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::GetReservedNodeId
const Aws::String & GetReservedNodeId() const
Definition: GetReservedNodeExchangeOfferingsRequest.h:46
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::WithMaxRecords
GetReservedNodeExchangeOfferingsRequest & WithMaxRecords(int value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:113
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::GetReservedNodeExchangeOfferingsRequest
GetReservedNodeExchangeOfferingsRequest()
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsRequest::SetReservedNodeId
void SetReservedNodeId(const char *value)
Definition: GetReservedNodeExchangeOfferingsRequest.h:70