AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpgradeElasticsearchDomainRequest.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElasticsearchService
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainRequest();
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_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetDomainName() const{ return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
44 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
45 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
46 inline UpgradeElasticsearchDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
47 inline UpgradeElasticsearchDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
48 inline UpgradeElasticsearchDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
50
52
55 inline const Aws::String& GetTargetVersion() const{ return m_targetVersion; }
56 inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; }
57 inline void SetTargetVersion(const Aws::String& value) { m_targetVersionHasBeenSet = true; m_targetVersion = value; }
58 inline void SetTargetVersion(Aws::String&& value) { m_targetVersionHasBeenSet = true; m_targetVersion = std::move(value); }
59 inline void SetTargetVersion(const char* value) { m_targetVersionHasBeenSet = true; m_targetVersion.assign(value); }
61 inline UpgradeElasticsearchDomainRequest& WithTargetVersion(Aws::String&& value) { SetTargetVersion(std::move(value)); return *this;}
62 inline UpgradeElasticsearchDomainRequest& WithTargetVersion(const char* value) { SetTargetVersion(value); return *this;}
64
66
70 inline bool GetPerformCheckOnly() const{ return m_performCheckOnly; }
71 inline bool PerformCheckOnlyHasBeenSet() const { return m_performCheckOnlyHasBeenSet; }
72 inline void SetPerformCheckOnly(bool value) { m_performCheckOnlyHasBeenSet = true; m_performCheckOnly = value; }
75 private:
76
77 Aws::String m_domainName;
78 bool m_domainNameHasBeenSet = false;
79
80 Aws::String m_targetVersion;
81 bool m_targetVersionHasBeenSet = false;
82
83 bool m_performCheckOnly;
84 bool m_performCheckOnlyHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ElasticsearchService
89} // namespace Aws
UpgradeElasticsearchDomainRequest & WithTargetVersion(const Aws::String &value)
UpgradeElasticsearchDomainRequest & WithDomainName(const Aws::String &value)
UpgradeElasticsearchDomainRequest & WithTargetVersion(Aws::String &&value)
UpgradeElasticsearchDomainRequest & WithDomainName(Aws::String &&value)
UpgradeElasticsearchDomainRequest & WithTargetVersion(const char *value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String