AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RollbackStackRequest.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 <utility>
11
12namespace Aws
13{
14namespace CloudFormation
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CLOUDFORMATION_API RollbackStackRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RollbackStack"; }
31
32 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetStackName() const{ return m_stackName; }
44 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
45 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
46 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
47 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
48 inline RollbackStackRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
49 inline RollbackStackRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
50 inline RollbackStackRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
52
54
58 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
59 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
60 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
61 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
62 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
63 inline RollbackStackRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
64 inline RollbackStackRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
65 inline RollbackStackRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
67
69
72 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
73 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
75 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
76 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
78 inline RollbackStackRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
79 inline RollbackStackRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
81
83
88 inline bool GetRetainExceptOnCreate() const{ return m_retainExceptOnCreate; }
89 inline bool RetainExceptOnCreateHasBeenSet() const { return m_retainExceptOnCreateHasBeenSet; }
90 inline void SetRetainExceptOnCreate(bool value) { m_retainExceptOnCreateHasBeenSet = true; m_retainExceptOnCreate = value; }
91 inline RollbackStackRequest& WithRetainExceptOnCreate(bool value) { SetRetainExceptOnCreate(value); return *this;}
93 private:
94
95 Aws::String m_stackName;
96 bool m_stackNameHasBeenSet = false;
97
98 Aws::String m_roleARN;
99 bool m_roleARNHasBeenSet = false;
100
101 Aws::String m_clientRequestToken;
102 bool m_clientRequestTokenHasBeenSet = false;
103
104 bool m_retainExceptOnCreate;
105 bool m_retainExceptOnCreateHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CloudFormation
110} // namespace Aws
RollbackStackRequest & WithStackName(const char *value)
RollbackStackRequest & WithRoleARN(Aws::String &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
RollbackStackRequest & WithClientRequestToken(Aws::String &&value)
RollbackStackRequest & WithStackName(Aws::String &&value)
RollbackStackRequest & WithRoleARN(const Aws::String &value)
RollbackStackRequest & WithStackName(const Aws::String &value)
RollbackStackRequest & WithRetainExceptOnCreate(bool value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
RollbackStackRequest & WithClientRequestToken(const char *value)
RollbackStackRequest & WithRoleARN(const char *value)
RollbackStackRequest & WithClientRequestToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String