7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/ChangeProgressDetails.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
43 template <
typename UpgradeIdT = Aws::String>
45 m_upgradeIdHasBeenSet =
true;
46 m_upgradeId = std::forward<UpgradeIdT>(value);
48 template <
typename UpgradeIdT = Aws::String>
60 template <
typename DomainNameT = Aws::String>
62 m_domainNameHasBeenSet =
true;
63 m_domainName = std::forward<DomainNameT>(value);
65 template <
typename DomainNameT = Aws::String>
77 template <
typename TargetVersionT = Aws::String>
79 m_targetVersionHasBeenSet =
true;
80 m_targetVersion = std::forward<TargetVersionT>(value);
82 template <
typename TargetVersionT = Aws::String>
95 m_performCheckOnlyHasBeenSet =
true;
96 m_performCheckOnly = value;
109 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
111 m_advancedOptionsHasBeenSet =
true;
112 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
114 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
119 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
121 m_advancedOptionsHasBeenSet =
true;
122 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
133 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
135 m_changeProgressDetailsHasBeenSet =
true;
136 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
138 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
148 template <
typename RequestIdT = Aws::String>
150 m_requestIdHasBeenSet =
true;
151 m_requestId = std::forward<RequestIdT>(value);
153 template <
typename RequestIdT = Aws::String>
168 bool m_performCheckOnly{
false};
172 ChangeProgressDetails m_changeProgressDetails;
176 bool m_upgradeIdHasBeenSet =
false;
177 bool m_domainNameHasBeenSet =
false;
178 bool m_targetVersionHasBeenSet =
false;
179 bool m_performCheckOnlyHasBeenSet =
false;
180 bool m_advancedOptionsHasBeenSet =
false;
181 bool m_changeProgressDetailsHasBeenSet =
false;
182 bool m_requestIdHasBeenSet =
false;
UpgradeDomainResult & WithRequestId(RequestIdT &&value)
UpgradeDomainResult & WithPerformCheckOnly(bool value)
AWS_OPENSEARCHSERVICE_API UpgradeDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpgradeDomainResult & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
const Aws::String & GetTargetVersion() const
UpgradeDomainResult & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
void SetUpgradeId(UpgradeIdT &&value)
UpgradeDomainResult & WithDomainName(DomainNameT &&value)
UpgradeDomainResult & WithAdvancedOptions(AdvancedOptionsT &&value)
const Aws::String & GetDomainName() const
const Aws::String & GetRequestId() const
UpgradeDomainResult & WithTargetVersion(TargetVersionT &&value)
AWS_OPENSEARCHSERVICE_API UpgradeDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ChangeProgressDetails & GetChangeProgressDetails() const
void SetDomainName(DomainNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetUpgradeId() const
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
void SetPerformCheckOnly(bool value)
UpgradeDomainResult & WithUpgradeId(UpgradeIdT &&value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
void SetTargetVersion(TargetVersionT &&value)
void SetChangeProgressDetails(ChangeProgressDetailsT &&value)
AWS_OPENSEARCHSERVICE_API UpgradeDomainResult()=default
bool GetPerformCheckOnly() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue