AWS SDK for C++  1.9.97
AWS SDK for C++
GetUpgradeStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
48  inline const UpgradeStep& GetUpgradeStep() const{ return m_upgradeStep; }
49 
55  inline void SetUpgradeStep(const UpgradeStep& value) { m_upgradeStep = value; }
56 
62  inline void SetUpgradeStep(UpgradeStep&& value) { m_upgradeStep = std::move(value); }
63 
69  inline GetUpgradeStatusResult& WithUpgradeStep(const UpgradeStep& value) { SetUpgradeStep(value); return *this;}
70 
76  inline GetUpgradeStatusResult& WithUpgradeStep(UpgradeStep&& value) { SetUpgradeStep(std::move(value)); return *this;}
77 
78 
85  inline const UpgradeStatus& GetStepStatus() const{ return m_stepStatus; }
86 
93  inline void SetStepStatus(const UpgradeStatus& value) { m_stepStatus = value; }
94 
101  inline void SetStepStatus(UpgradeStatus&& value) { m_stepStatus = std::move(value); }
102 
109  inline GetUpgradeStatusResult& WithStepStatus(const UpgradeStatus& value) { SetStepStatus(value); return *this;}
110 
117  inline GetUpgradeStatusResult& WithStepStatus(UpgradeStatus&& value) { SetStepStatus(std::move(value)); return *this;}
118 
119 
123  inline const Aws::String& GetUpgradeName() const{ return m_upgradeName; }
124 
128  inline void SetUpgradeName(const Aws::String& value) { m_upgradeName = value; }
129 
133  inline void SetUpgradeName(Aws::String&& value) { m_upgradeName = std::move(value); }
134 
138  inline void SetUpgradeName(const char* value) { m_upgradeName.assign(value); }
139 
143  inline GetUpgradeStatusResult& WithUpgradeName(const Aws::String& value) { SetUpgradeName(value); return *this;}
144 
148  inline GetUpgradeStatusResult& WithUpgradeName(Aws::String&& value) { SetUpgradeName(std::move(value)); return *this;}
149 
153  inline GetUpgradeStatusResult& WithUpgradeName(const char* value) { SetUpgradeName(value); return *this;}
154 
155  private:
156 
157  UpgradeStep m_upgradeStep;
158 
159  UpgradeStatus m_stepStatus;
160 
161  Aws::String m_upgradeName;
162  };
163 
164 } // namespace Model
165 } // namespace ElasticsearchService
166 } // namespace Aws
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithUpgradeName
GetUpgradeStatusResult & WithUpgradeName(Aws::String &&value)
Definition: GetUpgradeStatusResult.h:148
UpgradeStatus.h
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetUpgradeStep
void SetUpgradeStep(UpgradeStep &&value)
Definition: GetUpgradeStatusResult.h:62
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithUpgradeStep
GetUpgradeStatusResult & WithUpgradeStep(const UpgradeStep &value)
Definition: GetUpgradeStatusResult.h:69
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::GetUpgradeStatusResult
GetUpgradeStatusResult()
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::GetStepStatus
const UpgradeStatus & GetStepStatus() const
Definition: GetUpgradeStatusResult.h:85
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::GetUpgradeStatusResult
GetUpgradeStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::UpgradeStatus
UpgradeStatus
Definition: UpgradeStatus.h:17
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetUpgradeStep
void SetUpgradeStep(const UpgradeStep &value)
Definition: GetUpgradeStatusResult.h:55
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetStepStatus
void SetStepStatus(UpgradeStatus &&value)
Definition: GetUpgradeStatusResult.h:101
UpgradeStep.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithStepStatus
GetUpgradeStatusResult & WithStepStatus(UpgradeStatus &&value)
Definition: GetUpgradeStatusResult.h:117
ElasticsearchService_EXPORTS.h
AWSString.h
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::GetUpgradeStep
const UpgradeStep & GetUpgradeStep() const
Definition: GetUpgradeStatusResult.h:48
Aws::ElasticsearchService::Model::GetUpgradeStatusResult
Definition: GetUpgradeStatusResult.h:36
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithUpgradeStep
GetUpgradeStatusResult & WithUpgradeStep(UpgradeStep &&value)
Definition: GetUpgradeStatusResult.h:76
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetStepStatus
void SetStepStatus(const UpgradeStatus &value)
Definition: GetUpgradeStatusResult.h:93
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetUpgradeName
void SetUpgradeName(const Aws::String &value)
Definition: GetUpgradeStatusResult.h:128
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetUpgradeName
void SetUpgradeName(Aws::String &&value)
Definition: GetUpgradeStatusResult.h:133
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithUpgradeName
GetUpgradeStatusResult & WithUpgradeName(const char *value)
Definition: GetUpgradeStatusResult.h:153
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithStepStatus
GetUpgradeStatusResult & WithStepStatus(const UpgradeStatus &value)
Definition: GetUpgradeStatusResult.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::GetUpgradeName
const Aws::String & GetUpgradeName() const
Definition: GetUpgradeStatusResult.h:123
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::WithUpgradeName
GetUpgradeStatusResult & WithUpgradeName(const Aws::String &value)
Definition: GetUpgradeStatusResult.h:143
Aws::ElasticsearchService::Model::UpgradeStep
UpgradeStep
Definition: UpgradeStep.h:17
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::SetUpgradeName
void SetUpgradeName(const char *value)
Definition: GetUpgradeStatusResult.h:138
Aws::ElasticsearchService::Model::GetUpgradeStatusResult::operator=
GetUpgradeStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)