AWS SDK for C++  1.9.104
AWS SDK for C++
PurchaseReservedElasticsearchInstanceOfferingResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; }
46 
50  inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceId = value; }
51 
55  inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceId = std::move(value); }
56 
60  inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceId.assign(value); }
61 
65  inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservedElasticsearchInstanceId(const Aws::String& value) { SetReservedElasticsearchInstanceId(value); return *this;}
66 
70  inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservedElasticsearchInstanceId(Aws::String&& value) { SetReservedElasticsearchInstanceId(std::move(value)); return *this;}
71 
75  inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservedElasticsearchInstanceId(const char* value) { SetReservedElasticsearchInstanceId(value); return *this;}
76 
77 
81  inline const Aws::String& GetReservationName() const{ return m_reservationName; }
82 
86  inline void SetReservationName(const Aws::String& value) { m_reservationName = value; }
87 
91  inline void SetReservationName(Aws::String&& value) { m_reservationName = std::move(value); }
92 
96  inline void SetReservationName(const char* value) { m_reservationName.assign(value); }
97 
101  inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservationName(const Aws::String& value) { SetReservationName(value); return *this;}
102 
106  inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservationName(Aws::String&& value) { SetReservationName(std::move(value)); return *this;}
107 
111  inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservationName(const char* value) { SetReservationName(value); return *this;}
112 
113  private:
114 
115  Aws::String m_reservedElasticsearchInstanceId;
116 
117  Aws::String m_reservationName;
118  };
119 
120 } // namespace Model
121 } // namespace ElasticsearchService
122 } // namespace Aws
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::WithReservationName
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservationName(Aws::String &&value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:106
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::SetReservationName
void SetReservationName(Aws::String &&value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:91
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::operator=
PurchaseReservedElasticsearchInstanceOfferingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:35
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(const Aws::String &value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:50
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::WithReservedElasticsearchInstanceId
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservedElasticsearchInstanceId(const char *value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:75
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::WithReservedElasticsearchInstanceId
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservedElasticsearchInstanceId(const Aws::String &value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:65
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::PurchaseReservedElasticsearchInstanceOfferingResult
PurchaseReservedElasticsearchInstanceOfferingResult()
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::GetReservedElasticsearchInstanceId
const Aws::String & GetReservedElasticsearchInstanceId() const
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:45
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::SetReservationName
void SetReservationName(const Aws::String &value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:86
AWSString.h
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::PurchaseReservedElasticsearchInstanceOfferingResult
PurchaseReservedElasticsearchInstanceOfferingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::WithReservedElasticsearchInstanceId
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservedElasticsearchInstanceId(Aws::String &&value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:70
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(const char *value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::SetReservationName
void SetReservationName(const char *value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:96
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::WithReservationName
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservationName(const char *value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:111
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::SetReservedElasticsearchInstanceId
void SetReservedElasticsearchInstanceId(Aws::String &&value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:55
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::GetReservationName
const Aws::String & GetReservationName() const
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:81
Aws::ElasticsearchService::Model::PurchaseReservedElasticsearchInstanceOfferingResult::WithReservationName
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservationName(const Aws::String &value)
Definition: PurchaseReservedElasticsearchInstanceOfferingResult.h:101