AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListElasticsearchVersionsResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ElasticsearchService
25{
26namespace Model
27{
36 {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API ListElasticsearchVersionsResult();
41
42
44
45 inline const Aws::Vector<Aws::String>& GetElasticsearchVersions() const{ return m_elasticsearchVersions; }
46 inline void SetElasticsearchVersions(const Aws::Vector<Aws::String>& value) { m_elasticsearchVersions = value; }
47 inline void SetElasticsearchVersions(Aws::Vector<Aws::String>&& value) { m_elasticsearchVersions = std::move(value); }
50 inline ListElasticsearchVersionsResult& AddElasticsearchVersions(const Aws::String& value) { m_elasticsearchVersions.push_back(value); return *this; }
51 inline ListElasticsearchVersionsResult& AddElasticsearchVersions(Aws::String&& value) { m_elasticsearchVersions.push_back(std::move(value)); return *this; }
52 inline ListElasticsearchVersionsResult& AddElasticsearchVersions(const char* value) { m_elasticsearchVersions.push_back(value); return *this; }
54
56
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline ListElasticsearchVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline ListElasticsearchVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline ListElasticsearchVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline ListElasticsearchVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline ListElasticsearchVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline ListElasticsearchVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::Vector<Aws::String> m_elasticsearchVersions;
79
80 Aws::String m_nextToken;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace ElasticsearchService
87} // namespace Aws
ListElasticsearchVersionsResult & WithElasticsearchVersions(const Aws::Vector< Aws::String > &value)
ListElasticsearchVersionsResult & WithRequestId(const Aws::String &value)
ListElasticsearchVersionsResult & WithNextToken(const Aws::String &value)
ListElasticsearchVersionsResult & AddElasticsearchVersions(const Aws::String &value)
ListElasticsearchVersionsResult & WithElasticsearchVersions(Aws::Vector< Aws::String > &&value)
AWS_ELASTICSEARCHSERVICE_API ListElasticsearchVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListElasticsearchVersionsResult & WithNextToken(Aws::String &&value)
ListElasticsearchVersionsResult & AddElasticsearchVersions(Aws::String &&value)
ListElasticsearchVersionsResult & AddElasticsearchVersions(const char *value)
AWS_ELASTICSEARCHSERVICE_API ListElasticsearchVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListElasticsearchVersionsResult & WithRequestId(Aws::String &&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