AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpgradeElasticsearchDomainResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/ChangeProgressDetails.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ElasticsearchService
25{
26namespace Model
27{
35 {
36 public:
37 AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainResult() = default;
40
41
43
44 inline const Aws::String& GetDomainName() const { return m_domainName; }
45 template<typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
47 template<typename DomainNameT = Aws::String>
48 UpgradeElasticsearchDomainResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetTargetVersion() const { return m_targetVersion; }
56 template<typename TargetVersionT = Aws::String>
57 void SetTargetVersion(TargetVersionT&& value) { m_targetVersionHasBeenSet = true; m_targetVersion = std::forward<TargetVersionT>(value); }
58 template<typename TargetVersionT = Aws::String>
59 UpgradeElasticsearchDomainResult& WithTargetVersion(TargetVersionT&& value) { SetTargetVersion(std::forward<TargetVersionT>(value)); return *this;}
61
63
67 inline bool GetPerformCheckOnly() const { return m_performCheckOnly; }
68 inline void SetPerformCheckOnly(bool value) { m_performCheckOnlyHasBeenSet = true; m_performCheckOnly = value; }
71
73
74 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
75 template<typename ChangeProgressDetailsT = ChangeProgressDetails>
76 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) { m_changeProgressDetailsHasBeenSet = true; m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value); }
77 template<typename ChangeProgressDetailsT = ChangeProgressDetails>
78 UpgradeElasticsearchDomainResult& WithChangeProgressDetails(ChangeProgressDetailsT&& value) { SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 UpgradeElasticsearchDomainResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_domainName;
92 bool m_domainNameHasBeenSet = false;
93
94 Aws::String m_targetVersion;
95 bool m_targetVersionHasBeenSet = false;
96
97 bool m_performCheckOnly{false};
98 bool m_performCheckOnlyHasBeenSet = false;
99
100 ChangeProgressDetails m_changeProgressDetails;
101 bool m_changeProgressDetailsHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace ElasticsearchService
109} // 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)
UpgradeElasticsearchDomainResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue