AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeReservedNodeOfferingsRequest.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 "DescribeReservedNodeOfferings"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetReservedNodeOfferingId() const{ return m_reservedNodeOfferingId; }
46 
50  inline bool ReservedNodeOfferingIdHasBeenSet() const { return m_reservedNodeOfferingIdHasBeenSet; }
51 
55  inline void SetReservedNodeOfferingId(const Aws::String& value) { m_reservedNodeOfferingIdHasBeenSet = true; m_reservedNodeOfferingId = value; }
56 
60  inline void SetReservedNodeOfferingId(Aws::String&& value) { m_reservedNodeOfferingIdHasBeenSet = true; m_reservedNodeOfferingId = std::move(value); }
61 
65  inline void SetReservedNodeOfferingId(const char* value) { m_reservedNodeOfferingIdHasBeenSet = true; m_reservedNodeOfferingId.assign(value); }
66 
70  inline DescribeReservedNodeOfferingsRequest& WithReservedNodeOfferingId(const Aws::String& value) { SetReservedNodeOfferingId(value); return *this;}
71 
75  inline DescribeReservedNodeOfferingsRequest& WithReservedNodeOfferingId(Aws::String&& value) { SetReservedNodeOfferingId(std::move(value)); return *this;}
76 
80  inline DescribeReservedNodeOfferingsRequest& WithReservedNodeOfferingId(const char* value) { SetReservedNodeOfferingId(value); return *this;}
81 
82 
91  inline int GetMaxRecords() const{ return m_maxRecords; }
92 
101  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
102 
111  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
112 
121  inline DescribeReservedNodeOfferingsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
122 
123 
132  inline const Aws::String& GetMarker() const{ return m_marker; }
133 
142  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
143 
152  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
153 
162  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
163 
172  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
173 
182  inline DescribeReservedNodeOfferingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
183 
192  inline DescribeReservedNodeOfferingsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
193 
202  inline DescribeReservedNodeOfferingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
203 
204  private:
205 
206  Aws::String m_reservedNodeOfferingId;
207  bool m_reservedNodeOfferingIdHasBeenSet;
208 
209  int m_maxRecords;
210  bool m_maxRecordsHasBeenSet;
211 
212  Aws::String m_marker;
213  bool m_markerHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace Redshift
218 } // namespace Aws
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeReservedNodeOfferingsRequest.h:152
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::ReservedNodeOfferingIdHasBeenSet
bool ReservedNodeOfferingIdHasBeenSet() const
Definition: DescribeReservedNodeOfferingsRequest.h:50
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithReservedNodeOfferingId
DescribeReservedNodeOfferingsRequest & WithReservedNodeOfferingId(const Aws::String &value)
Definition: DescribeReservedNodeOfferingsRequest.h:70
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithMarker
DescribeReservedNodeOfferingsRequest & WithMarker(const char *value)
Definition: DescribeReservedNodeOfferingsRequest.h:202
RedshiftRequest.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeReservedNodeOfferingsRequest.h:91
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReservedNodeOfferingsRequest.h:33
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeReservedNodeOfferingsRequest.h:162
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest
Definition: DescribeReservedNodeOfferingsRequest.h:25
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetReservedNodeOfferingId
void SetReservedNodeOfferingId(const char *value)
Definition: DescribeReservedNodeOfferingsRequest.h:65
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::GetReservedNodeOfferingId
const Aws::String & GetReservedNodeOfferingId() const
Definition: DescribeReservedNodeOfferingsRequest.h:45
AWSString.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeReservedNodeOfferingsRequest.h:142
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeReservedNodeOfferingsRequest.h:111
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithReservedNodeOfferingId
DescribeReservedNodeOfferingsRequest & WithReservedNodeOfferingId(Aws::String &&value)
Definition: DescribeReservedNodeOfferingsRequest.h:75
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetReservedNodeOfferingId
void SetReservedNodeOfferingId(Aws::String &&value)
Definition: DescribeReservedNodeOfferingsRequest.h:60
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithReservedNodeOfferingId
DescribeReservedNodeOfferingsRequest & WithReservedNodeOfferingId(const char *value)
Definition: DescribeReservedNodeOfferingsRequest.h:80
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithMaxRecords
DescribeReservedNodeOfferingsRequest & WithMaxRecords(int value)
Definition: DescribeReservedNodeOfferingsRequest.h:121
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeReservedNodeOfferingsRequest.h:101
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::DescribeReservedNodeOfferingsRequest
DescribeReservedNodeOfferingsRequest()
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithMarker
DescribeReservedNodeOfferingsRequest & WithMarker(Aws::String &&value)
Definition: DescribeReservedNodeOfferingsRequest.h:192
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetReservedNodeOfferingId
void SetReservedNodeOfferingId(const Aws::String &value)
Definition: DescribeReservedNodeOfferingsRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeReservedNodeOfferingsRequest.h:172
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::WithMarker
DescribeReservedNodeOfferingsRequest & WithMarker(const Aws::String &value)
Definition: DescribeReservedNodeOfferingsRequest.h:182
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeReservedNodeOfferingsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeReservedNodeOfferingsRequest.h:132