AWS SDK for C++  1.9.126
AWS SDK for C++
UpdateStackInstancesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 #include <aws/core/utils/UUID.h>
17 
18 namespace Aws
19 {
20 namespace CloudFormation
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "UpdateStackInstances"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
49  inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
50 
55  inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
56 
61  inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
62 
67  inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
68 
73  inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
74 
79  inline UpdateStackInstancesRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
80 
85  inline UpdateStackInstancesRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
86 
91  inline UpdateStackInstancesRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
92 
93 
101  inline const Aws::Vector<Aws::String>& GetAccounts() const{ return m_accounts; }
102 
110  inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; }
111 
119  inline void SetAccounts(const Aws::Vector<Aws::String>& value) { m_accountsHasBeenSet = true; m_accounts = value; }
120 
128  inline void SetAccounts(Aws::Vector<Aws::String>&& value) { m_accountsHasBeenSet = true; m_accounts = std::move(value); }
129 
137  inline UpdateStackInstancesRequest& WithAccounts(const Aws::Vector<Aws::String>& value) { SetAccounts(value); return *this;}
138 
146  inline UpdateStackInstancesRequest& WithAccounts(Aws::Vector<Aws::String>&& value) { SetAccounts(std::move(value)); return *this;}
147 
155  inline UpdateStackInstancesRequest& AddAccounts(const Aws::String& value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; }
156 
164  inline UpdateStackInstancesRequest& AddAccounts(Aws::String&& value) { m_accountsHasBeenSet = true; m_accounts.push_back(std::move(value)); return *this; }
165 
173  inline UpdateStackInstancesRequest& AddAccounts(const char* value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; }
174 
175 
184  inline const DeploymentTargets& GetDeploymentTargets() const{ return m_deploymentTargets; }
185 
194  inline bool DeploymentTargetsHasBeenSet() const { return m_deploymentTargetsHasBeenSet; }
195 
204  inline void SetDeploymentTargets(const DeploymentTargets& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = value; }
205 
214  inline void SetDeploymentTargets(DeploymentTargets&& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = std::move(value); }
215 
224  inline UpdateStackInstancesRequest& WithDeploymentTargets(const DeploymentTargets& value) { SetDeploymentTargets(value); return *this;}
225 
234  inline UpdateStackInstancesRequest& WithDeploymentTargets(DeploymentTargets&& value) { SetDeploymentTargets(std::move(value)); return *this;}
235 
236 
242  inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
243 
249  inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
250 
256  inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
257 
263  inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
264 
270  inline UpdateStackInstancesRequest& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
271 
277  inline UpdateStackInstancesRequest& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
278 
284  inline UpdateStackInstancesRequest& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
285 
291  inline UpdateStackInstancesRequest& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
292 
298  inline UpdateStackInstancesRequest& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
299 
300 
327  inline const Aws::Vector<Parameter>& GetParameterOverrides() const{ return m_parameterOverrides; }
328 
355  inline bool ParameterOverridesHasBeenSet() const { return m_parameterOverridesHasBeenSet; }
356 
383  inline void SetParameterOverrides(const Aws::Vector<Parameter>& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = value; }
384 
411  inline void SetParameterOverrides(Aws::Vector<Parameter>&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = std::move(value); }
412 
439  inline UpdateStackInstancesRequest& WithParameterOverrides(const Aws::Vector<Parameter>& value) { SetParameterOverrides(value); return *this;}
440 
467  inline UpdateStackInstancesRequest& WithParameterOverrides(Aws::Vector<Parameter>&& value) { SetParameterOverrides(std::move(value)); return *this;}
468 
495  inline UpdateStackInstancesRequest& AddParameterOverrides(const Parameter& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(value); return *this; }
496 
523  inline UpdateStackInstancesRequest& AddParameterOverrides(Parameter&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(std::move(value)); return *this; }
524 
525 
529  inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; }
530 
534  inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
535 
539  inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; }
540 
544  inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); }
545 
549  inline UpdateStackInstancesRequest& WithOperationPreferences(const StackSetOperationPreferences& value) { SetOperationPreferences(value); return *this;}
550 
554  inline UpdateStackInstancesRequest& WithOperationPreferences(StackSetOperationPreferences&& value) { SetOperationPreferences(std::move(value)); return *this;}
555 
556 
565  inline const Aws::String& GetOperationId() const{ return m_operationId; }
566 
575  inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
576 
585  inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
586 
595  inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
596 
605  inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
606 
615  inline UpdateStackInstancesRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
616 
625  inline UpdateStackInstancesRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
626 
635  inline UpdateStackInstancesRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;}
636 
637 
652  inline const CallAs& GetCallAs() const{ return m_callAs; }
653 
668  inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
669 
684  inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
685 
700  inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
701 
716  inline UpdateStackInstancesRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
717 
732  inline UpdateStackInstancesRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
733 
734  private:
735 
736  Aws::String m_stackSetName;
737  bool m_stackSetNameHasBeenSet;
738 
739  Aws::Vector<Aws::String> m_accounts;
740  bool m_accountsHasBeenSet;
741 
742  DeploymentTargets m_deploymentTargets;
743  bool m_deploymentTargetsHasBeenSet;
744 
745  Aws::Vector<Aws::String> m_regions;
746  bool m_regionsHasBeenSet;
747 
748  Aws::Vector<Parameter> m_parameterOverrides;
749  bool m_parameterOverridesHasBeenSet;
750 
751  StackSetOperationPreferences m_operationPreferences;
752  bool m_operationPreferencesHasBeenSet;
753 
754  Aws::String m_operationId;
755  bool m_operationIdHasBeenSet;
756 
757  CallAs m_callAs;
758  bool m_callAsHasBeenSet;
759  };
760 
761 } // namespace Model
762 } // namespace CloudFormation
763 } // namespace Aws
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetStackSetName
const Aws::String & GetStackSetName() const
Definition: UpdateStackInstancesRequest.h:49
Aws::CloudFormation::Model::UpdateStackInstancesRequest::StackSetNameHasBeenSet
bool StackSetNameHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:55
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithOperationId
UpdateStackInstancesRequest & WithOperationId(Aws::String &&value)
Definition: UpdateStackInstancesRequest.h:625
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetAccounts
void SetAccounts(const Aws::Vector< Aws::String > &value)
Definition: UpdateStackInstancesRequest.h:119
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddAccounts
UpdateStackInstancesRequest & AddAccounts(const char *value)
Definition: UpdateStackInstancesRequest.h:173
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetRegions
const Aws::Vector< Aws::String > & GetRegions() const
Definition: UpdateStackInstancesRequest.h:242
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithDeploymentTargets
UpdateStackInstancesRequest & WithDeploymentTargets(DeploymentTargets &&value)
Definition: UpdateStackInstancesRequest.h:234
StackSetOperationPreferences.h
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithOperationPreferences
UpdateStackInstancesRequest & WithOperationPreferences(StackSetOperationPreferences &&value)
Definition: UpdateStackInstancesRequest.h:554
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetStackSetName
void SetStackSetName(const char *value)
Definition: UpdateStackInstancesRequest.h:73
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetOperationId
void SetOperationId(const char *value)
Definition: UpdateStackInstancesRequest.h:605
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddRegions
UpdateStackInstancesRequest & AddRegions(Aws::String &&value)
Definition: UpdateStackInstancesRequest.h:291
Aws::CloudFormation::Model::DeploymentTargets
Definition: DeploymentTargets.h:39
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetCallAs
const CallAs & GetCallAs() const
Definition: UpdateStackInstancesRequest.h:652
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetCallAs
void SetCallAs(const CallAs &value)
Definition: UpdateStackInstancesRequest.h:684
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithRegions
UpdateStackInstancesRequest & WithRegions(const Aws::Vector< Aws::String > &value)
Definition: UpdateStackInstancesRequest.h:270
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithStackSetName
UpdateStackInstancesRequest & WithStackSetName(const Aws::String &value)
Definition: UpdateStackInstancesRequest.h:79
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetCallAs
void SetCallAs(CallAs &&value)
Definition: UpdateStackInstancesRequest.h:700
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetOperationId
void SetOperationId(Aws::String &&value)
Definition: UpdateStackInstancesRequest.h:595
AWSVector.h
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetAccounts
void SetAccounts(Aws::Vector< Aws::String > &&value)
Definition: UpdateStackInstancesRequest.h:128
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetOperationPreferences
void SetOperationPreferences(StackSetOperationPreferences &&value)
Definition: UpdateStackInstancesRequest.h:544
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithAccounts
UpdateStackInstancesRequest & WithAccounts(const Aws::Vector< Aws::String > &value)
Definition: UpdateStackInstancesRequest.h:137
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetOperationId
void SetOperationId(const Aws::String &value)
Definition: UpdateStackInstancesRequest.h:585
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetOperationPreferences
const StackSetOperationPreferences & GetOperationPreferences() const
Definition: UpdateStackInstancesRequest.h:529
Aws::CloudFormation::Model::UpdateStackInstancesRequest::OperationPreferencesHasBeenSet
bool OperationPreferencesHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:534
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetStackSetName
void SetStackSetName(const Aws::String &value)
Definition: UpdateStackInstancesRequest.h:61
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetRegions
void SetRegions(const Aws::Vector< Aws::String > &value)
Definition: UpdateStackInstancesRequest.h:256
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithOperationPreferences
UpdateStackInstancesRequest & WithOperationPreferences(const StackSetOperationPreferences &value)
Definition: UpdateStackInstancesRequest.h:549
Parameter.h
CloudFormationRequest.h
Aws::CloudFormation::Model::CallAs
CallAs
Definition: CallAs.h:17
Aws::CloudFormation::Model::UpdateStackInstancesRequest::RegionsHasBeenSet
bool RegionsHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:249
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetStackSetName
void SetStackSetName(Aws::String &&value)
Definition: UpdateStackInstancesRequest.h:67
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetOperationId
const Aws::String & GetOperationId() const
Definition: UpdateStackInstancesRequest.h:565
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetDeploymentTargets
void SetDeploymentTargets(DeploymentTargets &&value)
Definition: UpdateStackInstancesRequest.h:214
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithParameterOverrides
UpdateStackInstancesRequest & WithParameterOverrides(const Aws::Vector< Parameter > &value)
Definition: UpdateStackInstancesRequest.h:439
DeploymentTargets.h
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithRegions
UpdateStackInstancesRequest & WithRegions(Aws::Vector< Aws::String > &&value)
Definition: UpdateStackInstancesRequest.h:277
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetRegions
void SetRegions(Aws::Vector< Aws::String > &&value)
Definition: UpdateStackInstancesRequest.h:263
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetDeploymentTargets
void SetDeploymentTargets(const DeploymentTargets &value)
Definition: UpdateStackInstancesRequest.h:204
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetOperationPreferences
void SetOperationPreferences(const StackSetOperationPreferences &value)
Definition: UpdateStackInstancesRequest.h:539
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithDeploymentTargets
UpdateStackInstancesRequest & WithDeploymentTargets(const DeploymentTargets &value)
Definition: UpdateStackInstancesRequest.h:224
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddAccounts
UpdateStackInstancesRequest & AddAccounts(const Aws::String &value)
Definition: UpdateStackInstancesRequest.h:155
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithCallAs
UpdateStackInstancesRequest & WithCallAs(CallAs &&value)
Definition: UpdateStackInstancesRequest.h:732
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AccountsHasBeenSet
bool AccountsHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:110
AWSString.h
Aws::CloudFormation::Model::UpdateStackInstancesRequest::DeploymentTargetsHasBeenSet
bool DeploymentTargetsHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:194
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithParameterOverrides
UpdateStackInstancesRequest & WithParameterOverrides(Aws::Vector< Parameter > &&value)
Definition: UpdateStackInstancesRequest.h:467
Aws::CloudFormation::Model::Parameter
Definition: Parameter.h:32
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithStackSetName
UpdateStackInstancesRequest & WithStackSetName(Aws::String &&value)
Definition: UpdateStackInstancesRequest.h:85
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddRegions
UpdateStackInstancesRequest & AddRegions(const char *value)
Definition: UpdateStackInstancesRequest.h:298
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithCallAs
UpdateStackInstancesRequest & WithCallAs(const CallAs &value)
Definition: UpdateStackInstancesRequest.h:716
Aws::CloudFormation::Model::UpdateStackInstancesRequest::OperationIdHasBeenSet
bool OperationIdHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:575
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetAccounts
const Aws::Vector< Aws::String > & GetAccounts() const
Definition: UpdateStackInstancesRequest.h:101
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddAccounts
UpdateStackInstancesRequest & AddAccounts(Aws::String &&value)
Definition: UpdateStackInstancesRequest.h:164
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetParameterOverrides
void SetParameterOverrides(const Aws::Vector< Parameter > &value)
Definition: UpdateStackInstancesRequest.h:383
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithStackSetName
UpdateStackInstancesRequest & WithStackSetName(const char *value)
Definition: UpdateStackInstancesRequest.h:91
Aws::CloudFormation::Model::StackSetOperationPreferences
Definition: StackSetOperationPreferences.h:38
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddRegions
UpdateStackInstancesRequest & AddRegions(const Aws::String &value)
Definition: UpdateStackInstancesRequest.h:284
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddParameterOverrides
UpdateStackInstancesRequest & AddParameterOverrides(const Parameter &value)
Definition: UpdateStackInstancesRequest.h:495
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateStackInstancesRequest.h:36
CallAs.h
Aws::CloudFormation::Model::UpdateStackInstancesRequest::CallAsHasBeenSet
bool CallAsHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:668
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithOperationId
UpdateStackInstancesRequest & WithOperationId(const char *value)
Definition: UpdateStackInstancesRequest.h:635
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFormation::Model::UpdateStackInstancesRequest
Definition: UpdateStackInstancesRequest.h:28
Aws::CloudFormation::Model::UpdateStackInstancesRequest::ParameterOverridesHasBeenSet
bool ParameterOverridesHasBeenSet() const
Definition: UpdateStackInstancesRequest.h:355
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithOperationId
UpdateStackInstancesRequest & WithOperationId(const Aws::String &value)
Definition: UpdateStackInstancesRequest.h:615
Aws::CloudFormation::Model::UpdateStackInstancesRequest::AddParameterOverrides
UpdateStackInstancesRequest & AddParameterOverrides(Parameter &&value)
Definition: UpdateStackInstancesRequest.h:523
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFormation::Model::UpdateStackInstancesRequest::SetParameterOverrides
void SetParameterOverrides(Aws::Vector< Parameter > &&value)
Definition: UpdateStackInstancesRequest.h:411
Aws::CloudFormation::Model::UpdateStackInstancesRequest::UpdateStackInstancesRequest
UpdateStackInstancesRequest()
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetDeploymentTargets
const DeploymentTargets & GetDeploymentTargets() const
Definition: UpdateStackInstancesRequest.h:184
Aws::CloudFormation::Model::UpdateStackInstancesRequest::WithAccounts
UpdateStackInstancesRequest & WithAccounts(Aws::Vector< Aws::String > &&value)
Definition: UpdateStackInstancesRequest.h:146
UUID.h
Aws::CloudFormation::Model::UpdateStackInstancesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::CloudFormation::Model::UpdateStackInstancesRequest::GetParameterOverrides
const Aws::Vector< Parameter > & GetParameterOverrides() const
Definition: UpdateStackInstancesRequest.h:327