AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContinueUpdateRollbackRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFormation
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CLOUDFORMATION_API ContinueUpdateRollbackRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ContinueUpdateRollback"; }
36
37 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
52 inline const Aws::String& GetStackName() const{ return m_stackName; }
53 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
54 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
55 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
56 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
57 inline ContinueUpdateRollbackRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
58 inline ContinueUpdateRollbackRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
59 inline ContinueUpdateRollbackRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
61
63
74 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
75 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
76 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
77 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
78 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
79 inline ContinueUpdateRollbackRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
80 inline ContinueUpdateRollbackRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
81 inline ContinueUpdateRollbackRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
83
85
118 inline const Aws::Vector<Aws::String>& GetResourcesToSkip() const{ return m_resourcesToSkip; }
119 inline bool ResourcesToSkipHasBeenSet() const { return m_resourcesToSkipHasBeenSet; }
120 inline void SetResourcesToSkip(const Aws::Vector<Aws::String>& value) { m_resourcesToSkipHasBeenSet = true; m_resourcesToSkip = value; }
121 inline void SetResourcesToSkip(Aws::Vector<Aws::String>&& value) { m_resourcesToSkipHasBeenSet = true; m_resourcesToSkip = std::move(value); }
124 inline ContinueUpdateRollbackRequest& AddResourcesToSkip(const Aws::String& value) { m_resourcesToSkipHasBeenSet = true; m_resourcesToSkip.push_back(value); return *this; }
125 inline ContinueUpdateRollbackRequest& AddResourcesToSkip(Aws::String&& value) { m_resourcesToSkipHasBeenSet = true; m_resourcesToSkip.push_back(std::move(value)); return *this; }
126 inline ContinueUpdateRollbackRequest& AddResourcesToSkip(const char* value) { m_resourcesToSkipHasBeenSet = true; m_resourcesToSkip.push_back(value); return *this; }
128
130
137 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
138 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
139 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
140 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
141 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
144 inline ContinueUpdateRollbackRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
146 private:
147
148 Aws::String m_stackName;
149 bool m_stackNameHasBeenSet = false;
150
151 Aws::String m_roleARN;
152 bool m_roleARNHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_resourcesToSkip;
155 bool m_resourcesToSkipHasBeenSet = false;
156
157 Aws::String m_clientRequestToken;
158 bool m_clientRequestTokenHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace CloudFormation
163} // namespace Aws
ContinueUpdateRollbackRequest & WithRoleARN(const Aws::String &value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
ContinueUpdateRollbackRequest & WithStackName(Aws::String &&value)
ContinueUpdateRollbackRequest & AddResourcesToSkip(const char *value)
ContinueUpdateRollbackRequest & WithClientRequestToken(const Aws::String &value)
ContinueUpdateRollbackRequest & WithResourcesToSkip(const Aws::Vector< Aws::String > &value)
void SetResourcesToSkip(const Aws::Vector< Aws::String > &value)
ContinueUpdateRollbackRequest & WithStackName(const char *value)
ContinueUpdateRollbackRequest & WithClientRequestToken(Aws::String &&value)
ContinueUpdateRollbackRequest & WithRoleARN(const char *value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ContinueUpdateRollbackRequest & WithResourcesToSkip(Aws::Vector< Aws::String > &&value)
ContinueUpdateRollbackRequest & WithClientRequestToken(const char *value)
ContinueUpdateRollbackRequest & WithRoleARN(Aws::String &&value)
ContinueUpdateRollbackRequest & AddResourcesToSkip(Aws::String &&value)
ContinueUpdateRollbackRequest & AddResourcesToSkip(const Aws::String &value)
ContinueUpdateRollbackRequest & WithStackName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector