AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeReservedNodeOfferingsResult.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 {
36  {
37  public:
41 
42 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
61  inline void SetMarker(const Aws::String& value) { m_marker = value; }
62 
71  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
72 
81  inline void SetMarker(const char* value) { m_marker.assign(value); }
82 
91  inline DescribeReservedNodeOfferingsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 
101  inline DescribeReservedNodeOfferingsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
102 
111  inline DescribeReservedNodeOfferingsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
117  inline const Aws::Vector<ReservedNodeOffering>& GetReservedNodeOfferings() const{ return m_reservedNodeOfferings; }
118 
122  inline void SetReservedNodeOfferings(const Aws::Vector<ReservedNodeOffering>& value) { m_reservedNodeOfferings = value; }
123 
127  inline void SetReservedNodeOfferings(Aws::Vector<ReservedNodeOffering>&& value) { m_reservedNodeOfferings = std::move(value); }
128 
132  inline DescribeReservedNodeOfferingsResult& WithReservedNodeOfferings(const Aws::Vector<ReservedNodeOffering>& value) { SetReservedNodeOfferings(value); return *this;}
133 
137  inline DescribeReservedNodeOfferingsResult& WithReservedNodeOfferings(Aws::Vector<ReservedNodeOffering>&& value) { SetReservedNodeOfferings(std::move(value)); return *this;}
138 
142  inline DescribeReservedNodeOfferingsResult& AddReservedNodeOfferings(const ReservedNodeOffering& value) { m_reservedNodeOfferings.push_back(value); return *this; }
143 
147  inline DescribeReservedNodeOfferingsResult& AddReservedNodeOfferings(ReservedNodeOffering&& value) { m_reservedNodeOfferings.push_back(std::move(value)); return *this; }
148 
149 
150 
151  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
152 
153 
154  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
155 
156 
157  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
158 
159 
160  inline DescribeReservedNodeOfferingsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
161 
162 
163  inline DescribeReservedNodeOfferingsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
164 
165  private:
166 
167  Aws::String m_marker;
168 
169  Aws::Vector<ReservedNodeOffering> m_reservedNodeOfferings;
170 
171  ResponseMetadata m_responseMetadata;
172  };
173 
174 } // namespace Model
175 } // namespace Redshift
176 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeReservedNodeOfferingsResult.h:61
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetReservedNodeOfferings
void SetReservedNodeOfferings(const Aws::Vector< ReservedNodeOffering > &value)
Definition: DescribeReservedNodeOfferingsResult.h:122
Aws::Redshift::Model::ReservedNodeOffering
Definition: ReservedNodeOffering.h:35
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::DescribeReservedNodeOfferingsResult
DescribeReservedNodeOfferingsResult()
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeReservedNodeOfferingsResult.h:51
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReservedNodeOfferingsResult.h:157
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::operator=
DescribeReservedNodeOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeReservedNodeOfferingsResult.h:81
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithMarker
DescribeReservedNodeOfferingsResult & WithMarker(Aws::String &&value)
Definition: DescribeReservedNodeOfferingsResult.h:101
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithMarker
DescribeReservedNodeOfferingsResult & WithMarker(const Aws::String &value)
Definition: DescribeReservedNodeOfferingsResult.h:91
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult
Definition: DescribeReservedNodeOfferingsResult.h:36
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithResponseMetadata
DescribeReservedNodeOfferingsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReservedNodeOfferingsResult.h:163
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::DescribeReservedNodeOfferingsResult
DescribeReservedNodeOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithMarker
DescribeReservedNodeOfferingsResult & WithMarker(const char *value)
Definition: DescribeReservedNodeOfferingsResult.h:111
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithReservedNodeOfferings
DescribeReservedNodeOfferingsResult & WithReservedNodeOfferings(Aws::Vector< ReservedNodeOffering > &&value)
Definition: DescribeReservedNodeOfferingsResult.h:137
ReservedNodeOffering.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::AddReservedNodeOfferings
DescribeReservedNodeOfferingsResult & AddReservedNodeOfferings(const ReservedNodeOffering &value)
Definition: DescribeReservedNodeOfferingsResult.h:142
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::AddReservedNodeOfferings
DescribeReservedNodeOfferingsResult & AddReservedNodeOfferings(ReservedNodeOffering &&value)
Definition: DescribeReservedNodeOfferingsResult.h:147
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithResponseMetadata
DescribeReservedNodeOfferingsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReservedNodeOfferingsResult.h:160
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReservedNodeOfferingsResult.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetReservedNodeOfferings
void SetReservedNodeOfferings(Aws::Vector< ReservedNodeOffering > &&value)
Definition: DescribeReservedNodeOfferingsResult.h:127
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::GetReservedNodeOfferings
const Aws::Vector< ReservedNodeOffering > & GetReservedNodeOfferings() const
Definition: DescribeReservedNodeOfferingsResult.h:117
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeReservedNodeOfferingsResult.h:71
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::WithReservedNodeOfferings
DescribeReservedNodeOfferingsResult & WithReservedNodeOfferings(const Aws::Vector< ReservedNodeOffering > &value)
Definition: DescribeReservedNodeOfferingsResult.h:132
Aws::Redshift::Model::DescribeReservedNodeOfferingsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeReservedNodeOfferingsResult.h:151