AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PurchaseReservedElasticsearchInstanceOfferingResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ElasticsearchService
24{
25namespace Model
26{
35 {
36 public:
40
41
43
46 inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; }
47 inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceId = value; }
48 inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceId = std::move(value); }
49 inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceId.assign(value); }
54
56
59 inline const Aws::String& GetReservationName() const{ return m_reservationName; }
60 inline void SetReservationName(const Aws::String& value) { m_reservationName = value; }
61 inline void SetReservationName(Aws::String&& value) { m_reservationName = std::move(value); }
62 inline void SetReservationName(const char* value) { m_reservationName.assign(value); }
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline PurchaseReservedElasticsearchInstanceOfferingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_reservedElasticsearchInstanceId;
81
82 Aws::String m_reservationName;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace ElasticsearchService
89} // namespace Aws
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservedElasticsearchInstanceId(const Aws::String &value)
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservedElasticsearchInstanceId(const char *value)
PurchaseReservedElasticsearchInstanceOfferingResult & WithRequestId(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API PurchaseReservedElasticsearchInstanceOfferingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API PurchaseReservedElasticsearchInstanceOfferingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservedElasticsearchInstanceId(Aws::String &&value)
PurchaseReservedElasticsearchInstanceOfferingResult & WithReservationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue