AWS SDK for C++  1.9.109
AWS SDK for C++
GetCompatibleElasticsearchVersionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ElasticsearchService
25 {
26 namespace Model
27 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<CompatibleVersionsMap>& GetCompatibleElasticsearchVersions() const{ return m_compatibleElasticsearchVersions; }
48 
53  inline void SetCompatibleElasticsearchVersions(const Aws::Vector<CompatibleVersionsMap>& value) { m_compatibleElasticsearchVersions = value; }
54 
59  inline void SetCompatibleElasticsearchVersions(Aws::Vector<CompatibleVersionsMap>&& value) { m_compatibleElasticsearchVersions = std::move(value); }
60 
65  inline GetCompatibleElasticsearchVersionsResult& WithCompatibleElasticsearchVersions(const Aws::Vector<CompatibleVersionsMap>& value) { SetCompatibleElasticsearchVersions(value); return *this;}
66 
71  inline GetCompatibleElasticsearchVersionsResult& WithCompatibleElasticsearchVersions(Aws::Vector<CompatibleVersionsMap>&& value) { SetCompatibleElasticsearchVersions(std::move(value)); return *this;}
72 
77  inline GetCompatibleElasticsearchVersionsResult& AddCompatibleElasticsearchVersions(const CompatibleVersionsMap& value) { m_compatibleElasticsearchVersions.push_back(value); return *this; }
78 
83  inline GetCompatibleElasticsearchVersionsResult& AddCompatibleElasticsearchVersions(CompatibleVersionsMap&& value) { m_compatibleElasticsearchVersions.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<CompatibleVersionsMap> m_compatibleElasticsearchVersions;
88  };
89 
90 } // namespace Model
91 } // namespace ElasticsearchService
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::SetCompatibleElasticsearchVersions
void SetCompatibleElasticsearchVersions(Aws::Vector< CompatibleVersionsMap > &&value)
Definition: GetCompatibleElasticsearchVersionsResult.h:59
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::AddCompatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResult & AddCompatibleElasticsearchVersions(CompatibleVersionsMap &&value)
Definition: GetCompatibleElasticsearchVersionsResult.h:83
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::WithCompatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResult & WithCompatibleElasticsearchVersions(const Aws::Vector< CompatibleVersionsMap > &value)
Definition: GetCompatibleElasticsearchVersionsResult.h:65
Aws::ElasticsearchService::Model::CompatibleVersionsMap
Definition: CompatibleVersionsMap.h:35
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::SetCompatibleElasticsearchVersions
void SetCompatibleElasticsearchVersions(const Aws::Vector< CompatibleVersionsMap > &value)
Definition: GetCompatibleElasticsearchVersionsResult.h:53
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::AddCompatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResult & AddCompatibleElasticsearchVersions(const CompatibleVersionsMap &value)
Definition: GetCompatibleElasticsearchVersionsResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::operator=
GetCompatibleElasticsearchVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::GetCompatibleElasticsearchVersions
const Aws::Vector< CompatibleVersionsMap > & GetCompatibleElasticsearchVersions() const
Definition: GetCompatibleElasticsearchVersionsResult.h:47
ElasticsearchService_EXPORTS.h
CompatibleVersionsMap.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::GetCompatibleElasticsearchVersionsResult
GetCompatibleElasticsearchVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult
Definition: GetCompatibleElasticsearchVersionsResult.h:36
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::GetCompatibleElasticsearchVersionsResult
GetCompatibleElasticsearchVersionsResult()
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsResult::WithCompatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResult & WithCompatibleElasticsearchVersions(Aws::Vector< CompatibleVersionsMap > &&value)
Definition: GetCompatibleElasticsearchVersionsResult.h:71