AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PurchaseReservedInstanceOfferingResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_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 OpenSearchService
24{
25namespace Model
26{
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API PurchaseReservedInstanceOfferingResult();
39
40
42
45 inline const Aws::String& GetReservedInstanceId() const{ return m_reservedInstanceId; }
46 inline void SetReservedInstanceId(const Aws::String& value) { m_reservedInstanceId = value; }
47 inline void SetReservedInstanceId(Aws::String&& value) { m_reservedInstanceId = std::move(value); }
48 inline void SetReservedInstanceId(const char* value) { m_reservedInstanceId.assign(value); }
53
55
58 inline const Aws::String& GetReservationName() const{ return m_reservationName; }
59 inline void SetReservationName(const Aws::String& value) { m_reservationName = value; }
60 inline void SetReservationName(Aws::String&& value) { m_reservationName = std::move(value); }
61 inline void SetReservationName(const char* value) { m_reservationName.assign(value); }
64 inline PurchaseReservedInstanceOfferingResult& WithReservationName(const char* value) { SetReservationName(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline PurchaseReservedInstanceOfferingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline PurchaseReservedInstanceOfferingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_reservedInstanceId;
80
81 Aws::String m_reservationName;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace OpenSearchService
88} // namespace Aws
PurchaseReservedInstanceOfferingResult & WithReservedInstanceId(const char *value)
AWS_OPENSEARCHSERVICE_API PurchaseReservedInstanceOfferingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PurchaseReservedInstanceOfferingResult & WithReservedInstanceId(Aws::String &&value)
PurchaseReservedInstanceOfferingResult & WithRequestId(Aws::String &&value)
PurchaseReservedInstanceOfferingResult & WithReservationName(const Aws::String &value)
PurchaseReservedInstanceOfferingResult & WithReservationName(Aws::String &&value)
PurchaseReservedInstanceOfferingResult & WithReservedInstanceId(const Aws::String &value)
PurchaseReservedInstanceOfferingResult & WithRequestId(const Aws::String &value)
PurchaseReservedInstanceOfferingResult & WithReservationName(const char *value)
AWS_OPENSEARCHSERVICE_API PurchaseReservedInstanceOfferingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue