AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedElasticsearchInstanceOfferingsResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/es/model/ReservedElasticsearchInstanceOffering.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ElasticsearchService
26{
27namespace Model
28{
37 {
38 public:
42
43
45
48 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
49 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
51 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
54 inline DescribeReservedElasticsearchInstanceOfferingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
56
58
61 inline const Aws::Vector<ReservedElasticsearchInstanceOffering>& GetReservedElasticsearchInstanceOfferings() const{ return m_reservedElasticsearchInstanceOfferings; }
62 inline void SetReservedElasticsearchInstanceOfferings(const Aws::Vector<ReservedElasticsearchInstanceOffering>& value) { m_reservedElasticsearchInstanceOfferings = value; }
63 inline void SetReservedElasticsearchInstanceOfferings(Aws::Vector<ReservedElasticsearchInstanceOffering>&& value) { m_reservedElasticsearchInstanceOfferings = std::move(value); }
66 inline DescribeReservedElasticsearchInstanceOfferingsResult& AddReservedElasticsearchInstanceOfferings(const ReservedElasticsearchInstanceOffering& value) { m_reservedElasticsearchInstanceOfferings.push_back(value); return *this; }
67 inline DescribeReservedElasticsearchInstanceOfferingsResult& AddReservedElasticsearchInstanceOfferings(ReservedElasticsearchInstanceOffering&& value) { m_reservedElasticsearchInstanceOfferings.push_back(std::move(value)); return *this; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline DescribeReservedElasticsearchInstanceOfferingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_nextToken;
83
84 Aws::Vector<ReservedElasticsearchInstanceOffering> m_reservedElasticsearchInstanceOfferings;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace ElasticsearchService
91} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstanceOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReservedElasticsearchInstanceOfferingsResult & AddReservedElasticsearchInstanceOfferings(ReservedElasticsearchInstanceOffering &&value)
DescribeReservedElasticsearchInstanceOfferingsResult & AddReservedElasticsearchInstanceOfferings(const ReservedElasticsearchInstanceOffering &value)
DescribeReservedElasticsearchInstanceOfferingsResult & WithReservedElasticsearchInstanceOfferings(Aws::Vector< ReservedElasticsearchInstanceOffering > &&value)
AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstanceOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReservedElasticsearchInstanceOfferings(const Aws::Vector< ReservedElasticsearchInstanceOffering > &value)
DescribeReservedElasticsearchInstanceOfferingsResult & WithReservedElasticsearchInstanceOfferings(const Aws::Vector< ReservedElasticsearchInstanceOffering > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue