AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
ContinueUpdateRollbackRequest.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#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudFormation {
16namespace Model {
17
25 public:
26 AWS_CLOUDFORMATION_API ContinueUpdateRollbackRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ContinueUpdateRollback"; }
33
34 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
48 inline const Aws::String& GetStackName() const { return m_stackName; }
49 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
50 template <typename StackNameT = Aws::String>
51 void SetStackName(StackNameT&& value) {
52 m_stackNameHasBeenSet = true;
53 m_stackName = std::forward<StackNameT>(value);
54 }
55 template <typename StackNameT = Aws::String>
57 SetStackName(std::forward<StackNameT>(value));
58 return *this;
59 }
61
63
74 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
75 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
76 template <typename RoleARNT = Aws::String>
77 void SetRoleARN(RoleARNT&& value) {
78 m_roleARNHasBeenSet = true;
79 m_roleARN = std::forward<RoleARNT>(value);
80 }
81 template <typename RoleARNT = Aws::String>
83 SetRoleARN(std::forward<RoleARNT>(value));
84 return *this;
85 }
87
89
122 inline const Aws::Vector<Aws::String>& GetResourcesToSkip() const { return m_resourcesToSkip; }
123 inline bool ResourcesToSkipHasBeenSet() const { return m_resourcesToSkipHasBeenSet; }
124 template <typename ResourcesToSkipT = Aws::Vector<Aws::String>>
125 void SetResourcesToSkip(ResourcesToSkipT&& value) {
126 m_resourcesToSkipHasBeenSet = true;
127 m_resourcesToSkip = std::forward<ResourcesToSkipT>(value);
128 }
129 template <typename ResourcesToSkipT = Aws::Vector<Aws::String>>
131 SetResourcesToSkip(std::forward<ResourcesToSkipT>(value));
132 return *this;
133 }
134 template <typename ResourcesToSkipT = Aws::String>
136 m_resourcesToSkipHasBeenSet = true;
137 m_resourcesToSkip.emplace_back(std::forward<ResourcesToSkipT>(value));
138 return *this;
139 }
141
143
150 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
151 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
152 template <typename ClientRequestTokenT = Aws::String>
153 void SetClientRequestToken(ClientRequestTokenT&& value) {
154 m_clientRequestTokenHasBeenSet = true;
155 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
156 }
157 template <typename ClientRequestTokenT = Aws::String>
159 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
160 return *this;
161 }
163
165
188 inline bool GetForceRollback() const { return m_forceRollback; }
189 inline bool ForceRollbackHasBeenSet() const { return m_forceRollbackHasBeenSet; }
190 inline void SetForceRollback(bool value) {
191 m_forceRollbackHasBeenSet = true;
192 m_forceRollback = value;
193 }
195 SetForceRollback(value);
196 return *this;
197 }
199 private:
200 Aws::String m_stackName;
201
202 Aws::String m_roleARN;
203
204 Aws::Vector<Aws::String> m_resourcesToSkip;
205
206 Aws::String m_clientRequestToken;
207
208 bool m_forceRollback{false};
209 bool m_stackNameHasBeenSet = false;
210 bool m_roleARNHasBeenSet = false;
211 bool m_resourcesToSkipHasBeenSet = false;
212 bool m_clientRequestTokenHasBeenSet = false;
213 bool m_forceRollbackHasBeenSet = false;
214};
215
216} // namespace Model
217} // namespace CloudFormation
218} // namespace Aws
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API ContinueUpdateRollbackRequest()=default
ContinueUpdateRollbackRequest & WithRoleARN(RoleARNT &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ContinueUpdateRollbackRequest & AddResourcesToSkip(ResourcesToSkipT &&value)
ContinueUpdateRollbackRequest & WithClientRequestToken(ClientRequestTokenT &&value)
ContinueUpdateRollbackRequest & WithResourcesToSkip(ResourcesToSkipT &&value)
ContinueUpdateRollbackRequest & WithStackName(StackNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector