AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CancelDomainConfigChangeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace OpenSearchService {
15namespace Model {
16
20 public:
21 AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CancelDomainConfigChange"; }
28
29 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetDomainName() const { return m_domainName; }
34 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
35 template <typename DomainNameT = Aws::String>
36 void SetDomainName(DomainNameT&& value) {
37 m_domainNameHasBeenSet = true;
38 m_domainName = std::forward<DomainNameT>(value);
39 }
40 template <typename DomainNameT = Aws::String>
42 SetDomainName(std::forward<DomainNameT>(value));
43 return *this;
44 }
46
48
52 inline bool GetDryRun() const { return m_dryRun; }
53 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
54 inline void SetDryRun(bool value) {
55 m_dryRunHasBeenSet = true;
56 m_dryRun = value;
57 }
59 SetDryRun(value);
60 return *this;
61 }
63 private:
64 Aws::String m_domainName;
65
66 bool m_dryRun{false};
67 bool m_domainNameHasBeenSet = false;
68 bool m_dryRunHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace OpenSearchService
73} // namespace Aws
AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeRequest()=default
CancelDomainConfigChangeRequest & WithDomainName(DomainNameT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String