AWS SDK for C++  1.9.106
AWS SDK for C++
UpgradeElasticsearchDomainResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
41 
42  inline const Aws::String& GetDomainName() const{ return m_domainName; }
43 
44 
45  inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
46 
47 
48  inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
49 
50 
51  inline void SetDomainName(const char* value) { m_domainName.assign(value); }
52 
53 
54  inline UpgradeElasticsearchDomainResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
55 
56 
57  inline UpgradeElasticsearchDomainResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
58 
59 
60  inline UpgradeElasticsearchDomainResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
61 
62 
66  inline const Aws::String& GetTargetVersion() const{ return m_targetVersion; }
67 
71  inline void SetTargetVersion(const Aws::String& value) { m_targetVersion = value; }
72 
76  inline void SetTargetVersion(Aws::String&& value) { m_targetVersion = std::move(value); }
77 
81  inline void SetTargetVersion(const char* value) { m_targetVersion.assign(value); }
82 
86  inline UpgradeElasticsearchDomainResult& WithTargetVersion(const Aws::String& value) { SetTargetVersion(value); return *this;}
87 
91  inline UpgradeElasticsearchDomainResult& WithTargetVersion(Aws::String&& value) { SetTargetVersion(std::move(value)); return *this;}
92 
96  inline UpgradeElasticsearchDomainResult& WithTargetVersion(const char* value) { SetTargetVersion(value); return *this;}
97 
98 
103  inline bool GetPerformCheckOnly() const{ return m_performCheckOnly; }
104 
109  inline void SetPerformCheckOnly(bool value) { m_performCheckOnly = value; }
110 
115  inline UpgradeElasticsearchDomainResult& WithPerformCheckOnly(bool value) { SetPerformCheckOnly(value); return *this;}
116 
117  private:
118 
119  Aws::String m_domainName;
120 
121  Aws::String m_targetVersion;
122 
123  bool m_performCheckOnly;
124  };
125 
126 } // namespace Model
127 } // namespace ElasticsearchService
128 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithTargetVersion
UpgradeElasticsearchDomainResult & WithTargetVersion(const Aws::String &value)
Definition: UpgradeElasticsearchDomainResult.h:86
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::UpgradeElasticsearchDomainResult
UpgradeElasticsearchDomainResult()
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::operator=
UpgradeElasticsearchDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetTargetVersion
void SetTargetVersion(const char *value)
Definition: UpgradeElasticsearchDomainResult.h:81
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetDomainName
void SetDomainName(const char *value)
Definition: UpgradeElasticsearchDomainResult.h:51
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithDomainName
UpgradeElasticsearchDomainResult & WithDomainName(const char *value)
Definition: UpgradeElasticsearchDomainResult.h:60
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::GetDomainName
const Aws::String & GetDomainName() const
Definition: UpgradeElasticsearchDomainResult.h:42
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult
Definition: UpgradeElasticsearchDomainResult.h:34
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::GetPerformCheckOnly
bool GetPerformCheckOnly() const
Definition: UpgradeElasticsearchDomainResult.h:103
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetTargetVersion
void SetTargetVersion(Aws::String &&value)
Definition: UpgradeElasticsearchDomainResult.h:76
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetTargetVersion
void SetTargetVersion(const Aws::String &value)
Definition: UpgradeElasticsearchDomainResult.h:71
AWSString.h
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithTargetVersion
UpgradeElasticsearchDomainResult & WithTargetVersion(const char *value)
Definition: UpgradeElasticsearchDomainResult.h:96
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetPerformCheckOnly
void SetPerformCheckOnly(bool value)
Definition: UpgradeElasticsearchDomainResult.h:109
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithDomainName
UpgradeElasticsearchDomainResult & WithDomainName(const Aws::String &value)
Definition: UpgradeElasticsearchDomainResult.h:54
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithPerformCheckOnly
UpgradeElasticsearchDomainResult & WithPerformCheckOnly(bool value)
Definition: UpgradeElasticsearchDomainResult.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: UpgradeElasticsearchDomainResult.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithTargetVersion
UpgradeElasticsearchDomainResult & WithTargetVersion(Aws::String &&value)
Definition: UpgradeElasticsearchDomainResult.h:91
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::UpgradeElasticsearchDomainResult
UpgradeElasticsearchDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::GetTargetVersion
const Aws::String & GetTargetVersion() const
Definition: UpgradeElasticsearchDomainResult.h:66
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: UpgradeElasticsearchDomainResult.h:48
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainResult::WithDomainName
UpgradeElasticsearchDomainResult & WithDomainName(Aws::String &&value)
Definition: UpgradeElasticsearchDomainResult.h:57