AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecuteChangeSetRequest.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
26 {
27 public:
28 AWS_CLOUDFORMATION_API ExecuteChangeSetRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ExecuteChangeSet"; }
35
36 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
48 inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
49 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
50 inline void SetChangeSetName(const Aws::String& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
51 inline void SetChangeSetName(Aws::String&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::move(value); }
52 inline void SetChangeSetName(const char* value) { m_changeSetNameHasBeenSet = true; m_changeSetName.assign(value); }
53 inline ExecuteChangeSetRequest& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
54 inline ExecuteChangeSetRequest& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
55 inline ExecuteChangeSetRequest& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
57
59
64 inline const Aws::String& GetStackName() const{ return m_stackName; }
65 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
66 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
67 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
68 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
69 inline ExecuteChangeSetRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
70 inline ExecuteChangeSetRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
71 inline ExecuteChangeSetRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
73
75
82 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
83 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
84 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
85 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
86 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
88 inline ExecuteChangeSetRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
89 inline ExecuteChangeSetRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
91
93
108 inline bool GetDisableRollback() const{ return m_disableRollback; }
109 inline bool DisableRollbackHasBeenSet() const { return m_disableRollbackHasBeenSet; }
110 inline void SetDisableRollback(bool value) { m_disableRollbackHasBeenSet = true; m_disableRollback = value; }
111 inline ExecuteChangeSetRequest& WithDisableRollback(bool value) { SetDisableRollback(value); return *this;}
113
115
120 inline bool GetRetainExceptOnCreate() const{ return m_retainExceptOnCreate; }
121 inline bool RetainExceptOnCreateHasBeenSet() const { return m_retainExceptOnCreateHasBeenSet; }
122 inline void SetRetainExceptOnCreate(bool value) { m_retainExceptOnCreateHasBeenSet = true; m_retainExceptOnCreate = value; }
125 private:
126
127 Aws::String m_changeSetName;
128 bool m_changeSetNameHasBeenSet = false;
129
130 Aws::String m_stackName;
131 bool m_stackNameHasBeenSet = false;
132
133 Aws::String m_clientRequestToken;
134 bool m_clientRequestTokenHasBeenSet = false;
135
136 bool m_disableRollback;
137 bool m_disableRollbackHasBeenSet = false;
138
139 bool m_retainExceptOnCreate;
140 bool m_retainExceptOnCreateHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace CloudFormation
145} // namespace Aws
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ExecuteChangeSetRequest & WithStackName(const char *value)
ExecuteChangeSetRequest & WithChangeSetName(Aws::String &&value)
ExecuteChangeSetRequest & WithChangeSetName(const Aws::String &value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
ExecuteChangeSetRequest & WithStackName(const Aws::String &value)
ExecuteChangeSetRequest & WithClientRequestToken(const Aws::String &value)
ExecuteChangeSetRequest & WithClientRequestToken(Aws::String &&value)
ExecuteChangeSetRequest & WithDisableRollback(bool value)
ExecuteChangeSetRequest & WithClientRequestToken(const char *value)
ExecuteChangeSetRequest & WithRetainExceptOnCreate(bool value)
ExecuteChangeSetRequest & WithChangeSetName(const char *value)
ExecuteChangeSetRequest & WithStackName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String