AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
42
43
45
49 inline const Aws::Vector<CompatibleVersionsMap>& GetCompatibleElasticsearchVersions() const { return m_compatibleElasticsearchVersions; }
50 template<typename CompatibleElasticsearchVersionsT = Aws::Vector<CompatibleVersionsMap>>
51 void SetCompatibleElasticsearchVersions(CompatibleElasticsearchVersionsT&& value) { m_compatibleElasticsearchVersionsHasBeenSet = true; m_compatibleElasticsearchVersions = std::forward<CompatibleElasticsearchVersionsT>(value); }
52 template<typename CompatibleElasticsearchVersionsT = Aws::Vector<CompatibleVersionsMap>>
53 GetCompatibleElasticsearchVersionsResult& WithCompatibleElasticsearchVersions(CompatibleElasticsearchVersionsT&& value) { SetCompatibleElasticsearchVersions(std::forward<CompatibleElasticsearchVersionsT>(value)); return *this;}
54 template<typename CompatibleElasticsearchVersionsT = CompatibleVersionsMap>
55 GetCompatibleElasticsearchVersionsResult& AddCompatibleElasticsearchVersions(CompatibleElasticsearchVersionsT&& value) { m_compatibleElasticsearchVersionsHasBeenSet = true; m_compatibleElasticsearchVersions.emplace_back(std::forward<CompatibleElasticsearchVersionsT>(value)); return *this; }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 GetCompatibleElasticsearchVersionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::Vector<CompatibleVersionsMap> m_compatibleElasticsearchVersions;
69 bool m_compatibleElasticsearchVersionsHasBeenSet = false;
70
71 Aws::String m_requestId;
72 bool m_requestIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ElasticsearchService
77} // namespace Aws
GetCompatibleElasticsearchVersionsResult & WithCompatibleElasticsearchVersions(CompatibleElasticsearchVersionsT &&value)
GetCompatibleElasticsearchVersionsResult & AddCompatibleElasticsearchVersions(CompatibleElasticsearchVersionsT &&value)
AWS_ELASTICSEARCHSERVICE_API GetCompatibleElasticsearchVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API GetCompatibleElasticsearchVersionsResult()=default
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