AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
ExecuteChangeSetRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudFormation {
15namespace Model {
16
24 public:
25 AWS_CLOUDFORMATION_API ExecuteChangeSetRequest() = 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 "ExecuteChangeSet"; }
32
33 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
44 inline const Aws::String& GetChangeSetName() const { return m_changeSetName; }
45 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
46 template <typename ChangeSetNameT = Aws::String>
47 void SetChangeSetName(ChangeSetNameT&& value) {
48 m_changeSetNameHasBeenSet = true;
49 m_changeSetName = std::forward<ChangeSetNameT>(value);
50 }
51 template <typename ChangeSetNameT = Aws::String>
52 ExecuteChangeSetRequest& WithChangeSetName(ChangeSetNameT&& value) {
53 SetChangeSetName(std::forward<ChangeSetNameT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetStackName() const { return m_stackName; }
65 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
66 template <typename StackNameT = Aws::String>
67 void SetStackName(StackNameT&& value) {
68 m_stackNameHasBeenSet = true;
69 m_stackName = std::forward<StackNameT>(value);
70 }
71 template <typename StackNameT = Aws::String>
73 SetStackName(std::forward<StackNameT>(value));
74 return *this;
75 }
77
79
86 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
87 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
88 template <typename ClientRequestTokenT = Aws::String>
89 void SetClientRequestToken(ClientRequestTokenT&& value) {
90 m_clientRequestTokenHasBeenSet = true;
91 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
92 }
93 template <typename ClientRequestTokenT = Aws::String>
94 ExecuteChangeSetRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
95 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
96 return *this;
97 }
99
101
116 inline bool GetDisableRollback() const { return m_disableRollback; }
117 inline bool DisableRollbackHasBeenSet() const { return m_disableRollbackHasBeenSet; }
118 inline void SetDisableRollback(bool value) {
119 m_disableRollbackHasBeenSet = true;
120 m_disableRollback = value;
121 }
123 SetDisableRollback(value);
124 return *this;
125 }
127
129
134 inline bool GetRetainExceptOnCreate() const { return m_retainExceptOnCreate; }
135 inline bool RetainExceptOnCreateHasBeenSet() const { return m_retainExceptOnCreateHasBeenSet; }
136 inline void SetRetainExceptOnCreate(bool value) {
137 m_retainExceptOnCreateHasBeenSet = true;
138 m_retainExceptOnCreate = value;
139 }
142 return *this;
143 }
145 private:
146 Aws::String m_changeSetName;
147
148 Aws::String m_stackName;
149
150 Aws::String m_clientRequestToken;
151
152 bool m_disableRollback{false};
153
154 bool m_retainExceptOnCreate{false};
155 bool m_changeSetNameHasBeenSet = false;
156 bool m_stackNameHasBeenSet = false;
157 bool m_clientRequestTokenHasBeenSet = false;
158 bool m_disableRollbackHasBeenSet = false;
159 bool m_retainExceptOnCreateHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace CloudFormation
164} // namespace Aws
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDFORMATION_API ExecuteChangeSetRequest()=default
ExecuteChangeSetRequest & WithStackName(StackNameT &&value)
ExecuteChangeSetRequest & WithChangeSetName(ChangeSetNameT &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
ExecuteChangeSetRequest & WithDisableRollback(bool value)
ExecuteChangeSetRequest & WithRetainExceptOnCreate(bool value)
ExecuteChangeSetRequest & WithClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String