AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
UpgradeElasticsearchDomainResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
10#include <aws/es/model/ChangeProgressDetails.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ElasticsearchService {
24namespace Model {
32 public:
33 AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainResult() = default;
35 AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainResult& operator=(
37
39
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 template <typename DomainNameT = Aws::String>
42 void SetDomainName(DomainNameT&& value) {
43 m_domainNameHasBeenSet = true;
44 m_domainName = std::forward<DomainNameT>(value);
45 }
46 template <typename DomainNameT = Aws::String>
48 SetDomainName(std::forward<DomainNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTargetVersion() const { return m_targetVersion; }
58 template <typename TargetVersionT = Aws::String>
59 void SetTargetVersion(TargetVersionT&& value) {
60 m_targetVersionHasBeenSet = true;
61 m_targetVersion = std::forward<TargetVersionT>(value);
62 }
63 template <typename TargetVersionT = Aws::String>
65 SetTargetVersion(std::forward<TargetVersionT>(value));
66 return *this;
67 }
69
71
75 inline bool GetPerformCheckOnly() const { return m_performCheckOnly; }
76 inline void SetPerformCheckOnly(bool value) {
77 m_performCheckOnlyHasBeenSet = true;
78 m_performCheckOnly = value;
79 }
82 return *this;
83 }
85
87
88 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
89 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
90 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
91 m_changeProgressDetailsHasBeenSet = true;
92 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
93 }
94 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
96 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_domainName;
119
120 Aws::String m_targetVersion;
121
122 bool m_performCheckOnly{false};
123
124 ChangeProgressDetails m_changeProgressDetails;
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_domainNameHasBeenSet = false;
129 bool m_targetVersionHasBeenSet = false;
130 bool m_performCheckOnlyHasBeenSet = false;
131 bool m_changeProgressDetailsHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace ElasticsearchService
137} // namespace Aws
UpgradeElasticsearchDomainResult & WithTargetVersion(TargetVersionT &&value)
AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainResult()=default
UpgradeElasticsearchDomainResult & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
UpgradeElasticsearchDomainResult & WithDomainName(DomainNameT &&value)
AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue