AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedElasticsearchInstancesResult.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/ReservedElasticsearchInstance.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:
39 AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstancesResult();
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); }
53 inline DescribeReservedElasticsearchInstancesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 inline DescribeReservedElasticsearchInstancesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
56
58
61 inline const Aws::Vector<ReservedElasticsearchInstance>& GetReservedElasticsearchInstances() const{ return m_reservedElasticsearchInstances; }
62 inline void SetReservedElasticsearchInstances(const Aws::Vector<ReservedElasticsearchInstance>& value) { m_reservedElasticsearchInstances = value; }
63 inline void SetReservedElasticsearchInstances(Aws::Vector<ReservedElasticsearchInstance>&& value) { m_reservedElasticsearchInstances = std::move(value); }
66 inline DescribeReservedElasticsearchInstancesResult& AddReservedElasticsearchInstances(const ReservedElasticsearchInstance& value) { m_reservedElasticsearchInstances.push_back(value); return *this; }
67 inline DescribeReservedElasticsearchInstancesResult& AddReservedElasticsearchInstances(ReservedElasticsearchInstance&& value) { m_reservedElasticsearchInstances.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); }
77 inline DescribeReservedElasticsearchInstancesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline DescribeReservedElasticsearchInstancesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_nextToken;
83
84 Aws::Vector<ReservedElasticsearchInstance> m_reservedElasticsearchInstances;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace ElasticsearchService
91} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReservedElasticsearchInstancesResult & WithReservedElasticsearchInstances(const Aws::Vector< ReservedElasticsearchInstance > &value)
void SetReservedElasticsearchInstances(const Aws::Vector< ReservedElasticsearchInstance > &value)
AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReservedElasticsearchInstancesResult & WithReservedElasticsearchInstances(Aws::Vector< ReservedElasticsearchInstance > &&value)
DescribeReservedElasticsearchInstancesResult & AddReservedElasticsearchInstances(const ReservedElasticsearchInstance &value)
DescribeReservedElasticsearchInstancesResult & WithNextToken(const Aws::String &value)
DescribeReservedElasticsearchInstancesResult & WithRequestId(const Aws::String &value)
DescribeReservedElasticsearchInstancesResult & AddReservedElasticsearchInstances(ReservedElasticsearchInstance &&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