AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteStackInstancesRequest.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 <aws/cloudformation/model/DeploymentTargets.h>
12#include <aws/cloudformation/model/StackSetOperationPreferences.h>
13#include <aws/cloudformation/model/CallAs.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace CloudFormation
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLOUDFORMATION_API DeleteStackInstancesRequest();
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 "DeleteStackInstances"; }
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
49 inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
50 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
51 inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
52 inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
53 inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
54 inline DeleteStackInstancesRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
55 inline DeleteStackInstancesRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
56 inline DeleteStackInstancesRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
58
60
65 inline const Aws::Vector<Aws::String>& GetAccounts() const{ return m_accounts; }
66 inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; }
67 inline void SetAccounts(const Aws::Vector<Aws::String>& value) { m_accountsHasBeenSet = true; m_accounts = value; }
68 inline void SetAccounts(Aws::Vector<Aws::String>&& value) { m_accountsHasBeenSet = true; m_accounts = std::move(value); }
70 inline DeleteStackInstancesRequest& WithAccounts(Aws::Vector<Aws::String>&& value) { SetAccounts(std::move(value)); return *this;}
71 inline DeleteStackInstancesRequest& AddAccounts(const Aws::String& value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; }
72 inline DeleteStackInstancesRequest& AddAccounts(Aws::String&& value) { m_accountsHasBeenSet = true; m_accounts.push_back(std::move(value)); return *this; }
73 inline DeleteStackInstancesRequest& AddAccounts(const char* value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; }
75
77
82 inline const DeploymentTargets& GetDeploymentTargets() const{ return m_deploymentTargets; }
83 inline bool DeploymentTargetsHasBeenSet() const { return m_deploymentTargetsHasBeenSet; }
84 inline void SetDeploymentTargets(const DeploymentTargets& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = value; }
85 inline void SetDeploymentTargets(DeploymentTargets&& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = std::move(value); }
89
91
95 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
96 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
97 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
98 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
99 inline DeleteStackInstancesRequest& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
100 inline DeleteStackInstancesRequest& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
101 inline DeleteStackInstancesRequest& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
102 inline DeleteStackInstancesRequest& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
103 inline DeleteStackInstancesRequest& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
105
107
110 inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; }
111 inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
112 inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; }
113 inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); }
117
119
126 inline bool GetRetainStacks() const{ return m_retainStacks; }
127 inline bool RetainStacksHasBeenSet() const { return m_retainStacksHasBeenSet; }
128 inline void SetRetainStacks(bool value) { m_retainStacksHasBeenSet = true; m_retainStacks = value; }
129 inline DeleteStackInstancesRequest& WithRetainStacks(bool value) { SetRetainStacks(value); return *this;}
131
133
143 inline const Aws::String& GetOperationId() const{ return m_operationId; }
144 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
145 inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
146 inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
147 inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
148 inline DeleteStackInstancesRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
149 inline DeleteStackInstancesRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
150 inline DeleteStackInstancesRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;}
152
154
168 inline const CallAs& GetCallAs() const{ return m_callAs; }
169 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
170 inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
171 inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
172 inline DeleteStackInstancesRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
173 inline DeleteStackInstancesRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
175 private:
176
177 Aws::String m_stackSetName;
178 bool m_stackSetNameHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_accounts;
181 bool m_accountsHasBeenSet = false;
182
183 DeploymentTargets m_deploymentTargets;
184 bool m_deploymentTargetsHasBeenSet = false;
185
186 Aws::Vector<Aws::String> m_regions;
187 bool m_regionsHasBeenSet = false;
188
189 StackSetOperationPreferences m_operationPreferences;
190 bool m_operationPreferencesHasBeenSet = false;
191
192 bool m_retainStacks;
193 bool m_retainStacksHasBeenSet = false;
194
195 Aws::String m_operationId;
196 bool m_operationIdHasBeenSet = false;
197
198 CallAs m_callAs;
199 bool m_callAsHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace CloudFormation
204} // namespace Aws
DeleteStackInstancesRequest & WithStackSetName(const Aws::String &value)
void SetOperationPreferences(StackSetOperationPreferences &&value)
DeleteStackInstancesRequest & AddRegions(const Aws::String &value)
DeleteStackInstancesRequest & WithOperationId(Aws::String &&value)
void SetAccounts(const Aws::Vector< Aws::String > &value)
DeleteStackInstancesRequest & WithOperationPreferences(const StackSetOperationPreferences &value)
DeleteStackInstancesRequest & WithDeploymentTargets(DeploymentTargets &&value)
DeleteStackInstancesRequest & WithAccounts(const Aws::Vector< Aws::String > &value)
void SetOperationPreferences(const StackSetOperationPreferences &value)
DeleteStackInstancesRequest & WithOperationId(const char *value)
DeleteStackInstancesRequest & WithOperationId(const Aws::String &value)
DeleteStackInstancesRequest & WithStackSetName(Aws::String &&value)
const StackSetOperationPreferences & GetOperationPreferences() const
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
DeleteStackInstancesRequest & AddAccounts(const char *value)
DeleteStackInstancesRequest & WithStackSetName(const char *value)
DeleteStackInstancesRequest & WithOperationPreferences(StackSetOperationPreferences &&value)
DeleteStackInstancesRequest & WithCallAs(const CallAs &value)
DeleteStackInstancesRequest & AddAccounts(const Aws::String &value)
DeleteStackInstancesRequest & WithRegions(const Aws::Vector< Aws::String > &value)
DeleteStackInstancesRequest & WithCallAs(CallAs &&value)
DeleteStackInstancesRequest & WithAccounts(Aws::Vector< Aws::String > &&value)
DeleteStackInstancesRequest & WithRegions(Aws::Vector< Aws::String > &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteStackInstancesRequest & WithDeploymentTargets(const DeploymentTargets &value)
DeleteStackInstancesRequest & AddAccounts(Aws::String &&value)
DeleteStackInstancesRequest & AddRegions(Aws::String &&value)
DeleteStackInstancesRequest & AddRegions(const char *value)
void SetRegions(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector