AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ChangeSetNameT = Aws::String>
51 void SetChangeSetName(ChangeSetNameT&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::forward<ChangeSetNameT>(value); }
52 template<typename ChangeSetNameT = Aws::String>
53 ExecuteChangeSetRequest& WithChangeSetName(ChangeSetNameT&& value) { SetChangeSetName(std::forward<ChangeSetNameT>(value)); return *this;}
55
57
62 inline const Aws::String& GetStackName() const { return m_stackName; }
63 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
64 template<typename StackNameT = Aws::String>
65 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
66 template<typename StackNameT = Aws::String>
67 ExecuteChangeSetRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
69
71
78 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
79 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
80 template<typename ClientRequestTokenT = Aws::String>
81 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
82 template<typename ClientRequestTokenT = Aws::String>
83 ExecuteChangeSetRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
85
87
102 inline bool GetDisableRollback() const { return m_disableRollback; }
103 inline bool DisableRollbackHasBeenSet() const { return m_disableRollbackHasBeenSet; }
104 inline void SetDisableRollback(bool value) { m_disableRollbackHasBeenSet = true; m_disableRollback = value; }
105 inline ExecuteChangeSetRequest& WithDisableRollback(bool value) { SetDisableRollback(value); return *this;}
107
109
114 inline bool GetRetainExceptOnCreate() const { return m_retainExceptOnCreate; }
115 inline bool RetainExceptOnCreateHasBeenSet() const { return m_retainExceptOnCreateHasBeenSet; }
116 inline void SetRetainExceptOnCreate(bool value) { m_retainExceptOnCreateHasBeenSet = true; m_retainExceptOnCreate = value; }
119 private:
120
121 Aws::String m_changeSetName;
122 bool m_changeSetNameHasBeenSet = false;
123
124 Aws::String m_stackName;
125 bool m_stackNameHasBeenSet = false;
126
127 Aws::String m_clientRequestToken;
128 bool m_clientRequestTokenHasBeenSet = false;
129
130 bool m_disableRollback{false};
131 bool m_disableRollbackHasBeenSet = false;
132
133 bool m_retainExceptOnCreate{false};
134 bool m_retainExceptOnCreateHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace CloudFormation
139} // 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