AWS SDK for C++  1.9.104
AWS SDK for C++
GetReservedNodeExchangeOfferingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace Redshift
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
46  inline const Aws::String& GetMarker() const{ return m_marker; }
47 
56  inline void SetMarker(const Aws::String& value) { m_marker = value; }
57 
66  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
67 
76  inline void SetMarker(const char* value) { m_marker.assign(value); }
77 
86  inline GetReservedNodeExchangeOfferingsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
87 
96  inline GetReservedNodeExchangeOfferingsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
97 
106  inline GetReservedNodeExchangeOfferingsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
107 
108 
112  inline const Aws::Vector<ReservedNodeOffering>& GetReservedNodeOfferings() const{ return m_reservedNodeOfferings; }
113 
117  inline void SetReservedNodeOfferings(const Aws::Vector<ReservedNodeOffering>& value) { m_reservedNodeOfferings = value; }
118 
122  inline void SetReservedNodeOfferings(Aws::Vector<ReservedNodeOffering>&& value) { m_reservedNodeOfferings = std::move(value); }
123 
127  inline GetReservedNodeExchangeOfferingsResult& WithReservedNodeOfferings(const Aws::Vector<ReservedNodeOffering>& value) { SetReservedNodeOfferings(value); return *this;}
128 
132  inline GetReservedNodeExchangeOfferingsResult& WithReservedNodeOfferings(Aws::Vector<ReservedNodeOffering>&& value) { SetReservedNodeOfferings(std::move(value)); return *this;}
133 
137  inline GetReservedNodeExchangeOfferingsResult& AddReservedNodeOfferings(const ReservedNodeOffering& value) { m_reservedNodeOfferings.push_back(value); return *this; }
138 
142  inline GetReservedNodeExchangeOfferingsResult& AddReservedNodeOfferings(ReservedNodeOffering&& value) { m_reservedNodeOfferings.push_back(std::move(value)); return *this; }
143 
144 
145 
146  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
147 
148 
149  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
150 
151 
152  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
153 
154 
155  inline GetReservedNodeExchangeOfferingsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
156 
157 
158  inline GetReservedNodeExchangeOfferingsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::String m_marker;
163 
164  Aws::Vector<ReservedNodeOffering> m_reservedNodeOfferings;
165 
166  ResponseMetadata m_responseMetadata;
167  };
168 
169 } // namespace Model
170 } // namespace Redshift
171 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::ReservedNodeOffering
Definition: ReservedNodeOffering.h:35
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult
Definition: GetReservedNodeExchangeOfferingsResult.h:31
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetReservedNodeOfferings
void SetReservedNodeOfferings(const Aws::Vector< ReservedNodeOffering > &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:117
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetMarker
void SetMarker(const char *value)
Definition: GetReservedNodeExchangeOfferingsResult.h:76
AWSVector.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithResponseMetadata
GetReservedNodeExchangeOfferingsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:155
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithReservedNodeOfferings
GetReservedNodeExchangeOfferingsResult & WithReservedNodeOfferings(const Aws::Vector< ReservedNodeOffering > &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:127
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::AddReservedNodeOfferings
GetReservedNodeExchangeOfferingsResult & AddReservedNodeOfferings(ReservedNodeOffering &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:142
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithReservedNodeOfferings
GetReservedNodeExchangeOfferingsResult & WithReservedNodeOfferings(Aws::Vector< ReservedNodeOffering > &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:132
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetReservedNodeExchangeOfferingsResult.h:146
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithResponseMetadata
GetReservedNodeExchangeOfferingsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:158
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::GetReservedNodeExchangeOfferingsResult
GetReservedNodeExchangeOfferingsResult()
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetReservedNodeOfferings
void SetReservedNodeOfferings(Aws::Vector< ReservedNodeOffering > &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:122
AWSString.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:56
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithMarker
GetReservedNodeExchangeOfferingsResult & WithMarker(Aws::String &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:96
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::GetReservedNodeOfferings
const Aws::Vector< ReservedNodeOffering > & GetReservedNodeOfferings() const
Definition: GetReservedNodeExchangeOfferingsResult.h:112
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::operator=
GetReservedNodeExchangeOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ReservedNodeOffering.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::GetReservedNodeExchangeOfferingsResult
GetReservedNodeExchangeOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithMarker
GetReservedNodeExchangeOfferingsResult & WithMarker(const char *value)
Definition: GetReservedNodeExchangeOfferingsResult.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::WithMarker
GetReservedNodeExchangeOfferingsResult & WithMarker(const Aws::String &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:86
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::GetMarker
const Aws::String & GetMarker() const
Definition: GetReservedNodeExchangeOfferingsResult.h:46
Redshift_EXPORTS.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetReservedNodeExchangeOfferingsResult.h:152
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:149
Aws::Redshift::Model::GetReservedNodeExchangeOfferingsResult::AddReservedNodeOfferings
GetReservedNodeExchangeOfferingsResult & AddReservedNodeOfferings(const ReservedNodeOffering &value)
Definition: GetReservedNodeExchangeOfferingsResult.h:137