AWS SDK for C++  1.9.105
AWS SDK for C++
UpgradeElasticsearchDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticsearchService
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpgradeElasticsearchDomain"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
39 
40  inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 
42 
43  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 
45 
46  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 
48 
49  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 
51 
52  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
53 
54 
55  inline UpgradeElasticsearchDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
56 
57 
58  inline UpgradeElasticsearchDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
59 
60 
61  inline UpgradeElasticsearchDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
62 
63 
67  inline const Aws::String& GetTargetVersion() const{ return m_targetVersion; }
68 
72  inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; }
73 
77  inline void SetTargetVersion(const Aws::String& value) { m_targetVersionHasBeenSet = true; m_targetVersion = value; }
78 
82  inline void SetTargetVersion(Aws::String&& value) { m_targetVersionHasBeenSet = true; m_targetVersion = std::move(value); }
83 
87  inline void SetTargetVersion(const char* value) { m_targetVersionHasBeenSet = true; m_targetVersion.assign(value); }
88 
92  inline UpgradeElasticsearchDomainRequest& WithTargetVersion(const Aws::String& value) { SetTargetVersion(value); return *this;}
93 
97  inline UpgradeElasticsearchDomainRequest& WithTargetVersion(Aws::String&& value) { SetTargetVersion(std::move(value)); return *this;}
98 
102  inline UpgradeElasticsearchDomainRequest& WithTargetVersion(const char* value) { SetTargetVersion(value); return *this;}
103 
104 
109  inline bool GetPerformCheckOnly() const{ return m_performCheckOnly; }
110 
115  inline bool PerformCheckOnlyHasBeenSet() const { return m_performCheckOnlyHasBeenSet; }
116 
121  inline void SetPerformCheckOnly(bool value) { m_performCheckOnlyHasBeenSet = true; m_performCheckOnly = value; }
122 
127  inline UpgradeElasticsearchDomainRequest& WithPerformCheckOnly(bool value) { SetPerformCheckOnly(value); return *this;}
128 
129  private:
130 
131  Aws::String m_domainName;
132  bool m_domainNameHasBeenSet;
133 
134  Aws::String m_targetVersion;
135  bool m_targetVersionHasBeenSet;
136 
137  bool m_performCheckOnly;
138  bool m_performCheckOnlyHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace ElasticsearchService
143 } // namespace Aws
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithTargetVersion
UpgradeElasticsearchDomainRequest & WithTargetVersion(Aws::String &&value)
Definition: UpgradeElasticsearchDomainRequest.h:97
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: UpgradeElasticsearchDomainRequest.h:40
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetPerformCheckOnly
void SetPerformCheckOnly(bool value)
Definition: UpgradeElasticsearchDomainRequest.h:121
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithDomainName
UpgradeElasticsearchDomainRequest & WithDomainName(const Aws::String &value)
Definition: UpgradeElasticsearchDomainRequest.h:55
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: UpgradeElasticsearchDomainRequest.h:46
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetDomainName
void SetDomainName(const char *value)
Definition: UpgradeElasticsearchDomainRequest.h:52
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::TargetVersionHasBeenSet
bool TargetVersionHasBeenSet() const
Definition: UpgradeElasticsearchDomainRequest.h:72
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::GetTargetVersion
const Aws::String & GetTargetVersion() const
Definition: UpgradeElasticsearchDomainRequest.h:67
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest
Definition: UpgradeElasticsearchDomainRequest.h:26
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::PerformCheckOnlyHasBeenSet
bool PerformCheckOnlyHasBeenSet() const
Definition: UpgradeElasticsearchDomainRequest.h:115
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithDomainName
UpgradeElasticsearchDomainRequest & WithDomainName(const char *value)
Definition: UpgradeElasticsearchDomainRequest.h:61
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithDomainName
UpgradeElasticsearchDomainRequest & WithDomainName(Aws::String &&value)
Definition: UpgradeElasticsearchDomainRequest.h:58
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithTargetVersion
UpgradeElasticsearchDomainRequest & WithTargetVersion(const Aws::String &value)
Definition: UpgradeElasticsearchDomainRequest.h:92
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithPerformCheckOnly
UpgradeElasticsearchDomainRequest & WithPerformCheckOnly(bool value)
Definition: UpgradeElasticsearchDomainRequest.h:127
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetTargetVersion
void SetTargetVersion(const Aws::String &value)
Definition: UpgradeElasticsearchDomainRequest.h:77
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::WithTargetVersion
UpgradeElasticsearchDomainRequest & WithTargetVersion(const char *value)
Definition: UpgradeElasticsearchDomainRequest.h:102
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetTargetVersion
void SetTargetVersion(Aws::String &&value)
Definition: UpgradeElasticsearchDomainRequest.h:82
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: UpgradeElasticsearchDomainRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetTargetVersion
void SetTargetVersion(const char *value)
Definition: UpgradeElasticsearchDomainRequest.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::UpgradeElasticsearchDomainRequest
UpgradeElasticsearchDomainRequest()
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::GetPerformCheckOnly
bool GetPerformCheckOnly() const
Definition: UpgradeElasticsearchDomainRequest.h:109
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: UpgradeElasticsearchDomainRequest.h:49
Aws::ElasticsearchService::Model::UpgradeElasticsearchDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpgradeElasticsearchDomainRequest.h:34