AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpgradeElasticsearchDomainRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElasticsearchService {
15namespace Model {
16
24 public:
25 AWS_ELASTICSEARCHSERVICE_API UpgradeElasticsearchDomainRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpgradeElasticsearchDomain"; }
32
33 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
34
36
37 inline const Aws::String& GetDomainName() const { return m_domainName; }
38 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
39 template <typename DomainNameT = Aws::String>
40 void SetDomainName(DomainNameT&& value) {
41 m_domainNameHasBeenSet = true;
42 m_domainName = std::forward<DomainNameT>(value);
43 }
44 template <typename DomainNameT = Aws::String>
46 SetDomainName(std::forward<DomainNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetTargetVersion() const { return m_targetVersion; }
56 inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; }
57 template <typename TargetVersionT = Aws::String>
58 void SetTargetVersion(TargetVersionT&& value) {
59 m_targetVersionHasBeenSet = true;
60 m_targetVersion = std::forward<TargetVersionT>(value);
61 }
62 template <typename TargetVersionT = Aws::String>
64 SetTargetVersion(std::forward<TargetVersionT>(value));
65 return *this;
66 }
68
70
74 inline bool GetPerformCheckOnly() const { return m_performCheckOnly; }
75 inline bool PerformCheckOnlyHasBeenSet() const { return m_performCheckOnlyHasBeenSet; }
76 inline void SetPerformCheckOnly(bool value) {
77 m_performCheckOnlyHasBeenSet = true;
78 m_performCheckOnly = value;
79 }
82 return *this;
83 }
85 private:
86 Aws::String m_domainName;
87
88 Aws::String m_targetVersion;
89
90 bool m_performCheckOnly{false};
91 bool m_domainNameHasBeenSet = false;
92 bool m_targetVersionHasBeenSet = false;
93 bool m_performCheckOnlyHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ElasticsearchService
98} // 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