AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCompatibleElasticsearchVersionsResult.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 <aws/es/model/CompatibleVersionsMap.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 GetCompatibleElasticsearchVersionsResult();
42
43
45
49 inline const Aws::Vector<CompatibleVersionsMap>& GetCompatibleElasticsearchVersions() const{ return m_compatibleElasticsearchVersions; }
50 inline void SetCompatibleElasticsearchVersions(const Aws::Vector<CompatibleVersionsMap>& value) { m_compatibleElasticsearchVersions = value; }
51 inline void SetCompatibleElasticsearchVersions(Aws::Vector<CompatibleVersionsMap>&& value) { m_compatibleElasticsearchVersions = std::move(value); }
54 inline GetCompatibleElasticsearchVersionsResult& AddCompatibleElasticsearchVersions(const CompatibleVersionsMap& value) { m_compatibleElasticsearchVersions.push_back(value); return *this; }
55 inline GetCompatibleElasticsearchVersionsResult& AddCompatibleElasticsearchVersions(CompatibleVersionsMap&& value) { m_compatibleElasticsearchVersions.push_back(std::move(value)); return *this; }
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline GetCompatibleElasticsearchVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline GetCompatibleElasticsearchVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::Vector<CompatibleVersionsMap> m_compatibleElasticsearchVersions;
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace ElasticsearchService
77} // namespace Aws
GetCompatibleElasticsearchVersionsResult & AddCompatibleElasticsearchVersions(const CompatibleVersionsMap &value)
GetCompatibleElasticsearchVersionsResult & WithCompatibleElasticsearchVersions(const Aws::Vector< CompatibleVersionsMap > &value)
GetCompatibleElasticsearchVersionsResult & AddCompatibleElasticsearchVersions(CompatibleVersionsMap &&value)
GetCompatibleElasticsearchVersionsResult & WithRequestId(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API GetCompatibleElasticsearchVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCompatibleElasticsearchVersionsResult & WithCompatibleElasticsearchVersions(Aws::Vector< CompatibleVersionsMap > &&value)
AWS_ELASTICSEARCHSERVICE_API GetCompatibleElasticsearchVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue