AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeOrderableClusterOptionsResult.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 {
37  {
38  public:
42 
43 
48  inline const Aws::Vector<OrderableClusterOption>& GetOrderableClusterOptions() const{ return m_orderableClusterOptions; }
49 
54  inline void SetOrderableClusterOptions(const Aws::Vector<OrderableClusterOption>& value) { m_orderableClusterOptions = value; }
55 
60  inline void SetOrderableClusterOptions(Aws::Vector<OrderableClusterOption>&& value) { m_orderableClusterOptions = std::move(value); }
61 
66  inline DescribeOrderableClusterOptionsResult& WithOrderableClusterOptions(const Aws::Vector<OrderableClusterOption>& value) { SetOrderableClusterOptions(value); return *this;}
67 
72  inline DescribeOrderableClusterOptionsResult& WithOrderableClusterOptions(Aws::Vector<OrderableClusterOption>&& value) { SetOrderableClusterOptions(std::move(value)); return *this;}
73 
78  inline DescribeOrderableClusterOptionsResult& AddOrderableClusterOptions(const OrderableClusterOption& value) { m_orderableClusterOptions.push_back(value); return *this; }
79 
84  inline DescribeOrderableClusterOptionsResult& AddOrderableClusterOptions(OrderableClusterOption&& value) { m_orderableClusterOptions.push_back(std::move(value)); return *this; }
85 
86 
95  inline const Aws::String& GetMarker() const{ return m_marker; }
96 
105  inline void SetMarker(const Aws::String& value) { m_marker = value; }
106 
115  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
116 
125  inline void SetMarker(const char* value) { m_marker.assign(value); }
126 
135  inline DescribeOrderableClusterOptionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
136 
145  inline DescribeOrderableClusterOptionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
146 
155  inline DescribeOrderableClusterOptionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
156 
157 
158 
159  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
160 
161 
162  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
163 
164 
165  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
166 
167 
168  inline DescribeOrderableClusterOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
169 
170 
171  inline DescribeOrderableClusterOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
172 
173  private:
174 
175  Aws::Vector<OrderableClusterOption> m_orderableClusterOptions;
176 
177  Aws::String m_marker;
178 
179  ResponseMetadata m_responseMetadata;
180  };
181 
182 } // namespace Model
183 } // namespace Redshift
184 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithResponseMetadata
DescribeOrderableClusterOptionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeOrderableClusterOptionsResult.h:171
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithMarker
DescribeOrderableClusterOptionsResult & WithMarker(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsResult.h:145
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithOrderableClusterOptions
DescribeOrderableClusterOptionsResult & WithOrderableClusterOptions(const Aws::Vector< OrderableClusterOption > &value)
Definition: DescribeOrderableClusterOptionsResult.h:66
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeOrderableClusterOptionsResult.h:95
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::AddOrderableClusterOptions
DescribeOrderableClusterOptionsResult & AddOrderableClusterOptions(OrderableClusterOption &&value)
Definition: DescribeOrderableClusterOptionsResult.h:84
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeOrderableClusterOptionsResult.h:125
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsResult.h:105
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsResult.h:115
AWSVector.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithMarker
DescribeOrderableClusterOptionsResult & WithMarker(const char *value)
Definition: DescribeOrderableClusterOptionsResult.h:155
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::DescribeOrderableClusterOptionsResult
DescribeOrderableClusterOptionsResult()
Aws::Redshift::Model::OrderableClusterOption
Definition: OrderableClusterOption.h:34
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::AddOrderableClusterOptions
DescribeOrderableClusterOptionsResult & AddOrderableClusterOptions(const OrderableClusterOption &value)
Definition: DescribeOrderableClusterOptionsResult.h:78
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult
Definition: DescribeOrderableClusterOptionsResult.h:37
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeOrderableClusterOptionsResult.h:159
AWSString.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeOrderableClusterOptionsResult.h:162
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithMarker
DescribeOrderableClusterOptionsResult & WithMarker(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsResult.h:135
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::GetOrderableClusterOptions
const Aws::Vector< OrderableClusterOption > & GetOrderableClusterOptions() const
Definition: DescribeOrderableClusterOptionsResult.h:48
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::operator=
DescribeOrderableClusterOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeOrderableClusterOptionsResult.h:165
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
OrderableClusterOption.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::DescribeOrderableClusterOptionsResult
DescribeOrderableClusterOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithOrderableClusterOptions
DescribeOrderableClusterOptionsResult & WithOrderableClusterOptions(Aws::Vector< OrderableClusterOption > &&value)
Definition: DescribeOrderableClusterOptionsResult.h:72
ResponseMetadata.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::WithResponseMetadata
DescribeOrderableClusterOptionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeOrderableClusterOptionsResult.h:168
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetOrderableClusterOptions
void SetOrderableClusterOptions(Aws::Vector< OrderableClusterOption > &&value)
Definition: DescribeOrderableClusterOptionsResult.h:60
Aws::Redshift::Model::DescribeOrderableClusterOptionsResult::SetOrderableClusterOptions
void SetOrderableClusterOptions(const Aws::Vector< OrderableClusterOption > &value)
Definition: DescribeOrderableClusterOptionsResult.h:54