AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeReservedElasticsearchInstanceOfferingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
37  {
38  public:
42 
43 
47  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 
52  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
53 
57  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
58 
62  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
63 
67  inline DescribeReservedElasticsearchInstanceOfferingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 
72  inline DescribeReservedElasticsearchInstanceOfferingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
73 
77  inline DescribeReservedElasticsearchInstanceOfferingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 
79 
83  inline const Aws::Vector<ReservedElasticsearchInstanceOffering>& GetReservedElasticsearchInstanceOfferings() const{ return m_reservedElasticsearchInstanceOfferings; }
84 
88  inline void SetReservedElasticsearchInstanceOfferings(const Aws::Vector<ReservedElasticsearchInstanceOffering>& value) { m_reservedElasticsearchInstanceOfferings = value; }
89 
93  inline void SetReservedElasticsearchInstanceOfferings(Aws::Vector<ReservedElasticsearchInstanceOffering>&& value) { m_reservedElasticsearchInstanceOfferings = std::move(value); }
94 
99 
103  inline DescribeReservedElasticsearchInstanceOfferingsResult& WithReservedElasticsearchInstanceOfferings(Aws::Vector<ReservedElasticsearchInstanceOffering>&& value) { SetReservedElasticsearchInstanceOfferings(std::move(value)); return *this;}
104 
108  inline DescribeReservedElasticsearchInstanceOfferingsResult& AddReservedElasticsearchInstanceOfferings(const ReservedElasticsearchInstanceOffering& value) { m_reservedElasticsearchInstanceOfferings.push_back(value); return *this; }
109 
113  inline DescribeReservedElasticsearchInstanceOfferingsResult& AddReservedElasticsearchInstanceOfferings(ReservedElasticsearchInstanceOffering&& value) { m_reservedElasticsearchInstanceOfferings.push_back(std::move(value)); return *this; }
114 
115  private:
116 
117  Aws::String m_nextToken;
118 
119  Aws::Vector<ReservedElasticsearchInstanceOffering> m_reservedElasticsearchInstanceOfferings;
120  };
121 
122 } // namespace Model
123 } // namespace ElasticsearchService
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::DescribeReservedElasticsearchInstanceOfferingsResult
DescribeReservedElasticsearchInstanceOfferingsResult()
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::AddReservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResult & AddReservedElasticsearchInstanceOfferings(const ReservedElasticsearchInstanceOffering &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:108
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:62
Aws::ElasticsearchService::Model::ReservedElasticsearchInstanceOffering
Definition: ReservedElasticsearchInstanceOffering.h:37
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::WithNextToken
DescribeReservedElasticsearchInstanceOfferingsResult & WithNextToken(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:72
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::GetReservedElasticsearchInstanceOfferings
const Aws::Vector< ReservedElasticsearchInstanceOffering > & GetReservedElasticsearchInstanceOfferings() const
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:83
AWSVector.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::SetReservedElasticsearchInstanceOfferings
void SetReservedElasticsearchInstanceOfferings(Aws::Vector< ReservedElasticsearchInstanceOffering > &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:93
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::DescribeReservedElasticsearchInstanceOfferingsResult
DescribeReservedElasticsearchInstanceOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:37
AWSString.h
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::WithNextToken
DescribeReservedElasticsearchInstanceOfferingsResult & WithNextToken(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:67
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::AddReservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResult & AddReservedElasticsearchInstanceOfferings(ReservedElasticsearchInstanceOffering &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:113
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:57
ReservedElasticsearchInstanceOffering.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::WithReservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResult & WithReservedElasticsearchInstanceOfferings(const Aws::Vector< ReservedElasticsearchInstanceOffering > &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:98
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:52
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:47
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::WithNextToken
DescribeReservedElasticsearchInstanceOfferingsResult & WithNextToken(const char *value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::SetReservedElasticsearchInstanceOfferings
void SetReservedElasticsearchInstanceOfferings(const Aws::Vector< ReservedElasticsearchInstanceOffering > &value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:88
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::WithReservedElasticsearchInstanceOfferings
DescribeReservedElasticsearchInstanceOfferingsResult & WithReservedElasticsearchInstanceOfferings(Aws::Vector< ReservedElasticsearchInstanceOffering > &&value)
Definition: DescribeReservedElasticsearchInstanceOfferingsResult.h:103
Aws::ElasticsearchService::Model::DescribeReservedElasticsearchInstanceOfferingsResult::operator=
DescribeReservedElasticsearchInstanceOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)