AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
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() = default;
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 template<typename DomainNameT = Aws::String>
44 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
45 template<typename DomainNameT = Aws::String>
46 UpgradeElasticsearchDomainRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetTargetVersion() const { return m_targetVersion; }
54 inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; }
55 template<typename TargetVersionT = Aws::String>
56 void SetTargetVersion(TargetVersionT&& value) { m_targetVersionHasBeenSet = true; m_targetVersion = std::forward<TargetVersionT>(value); }
57 template<typename TargetVersionT = Aws::String>
58 UpgradeElasticsearchDomainRequest& WithTargetVersion(TargetVersionT&& value) { SetTargetVersion(std::forward<TargetVersionT>(value)); return *this;}
60
62
66 inline bool GetPerformCheckOnly() const { return m_performCheckOnly; }
67 inline bool PerformCheckOnlyHasBeenSet() const { return m_performCheckOnlyHasBeenSet; }
68 inline void SetPerformCheckOnly(bool value) { m_performCheckOnlyHasBeenSet = true; m_performCheckOnly = value; }
71 private:
72
73 Aws::String m_domainName;
74 bool m_domainNameHasBeenSet = false;
75
76 Aws::String m_targetVersion;
77 bool m_targetVersionHasBeenSet = false;
78
79 bool m_performCheckOnly{false};
80 bool m_performCheckOnlyHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ElasticsearchService
85} // namespace Aws
UpgradeElasticsearchDomainRequest & WithDomainName(DomainNameT &&value)
AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainRequest()=default
UpgradeElasticsearchDomainRequest & WithTargetVersion(TargetVersionT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String