/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace CloudFormation { namespace Model { /** */ class CreateStackInstancesRequest : public CloudFormationRequest { public: AWS_CLOUDFORMATION_API CreateStackInstancesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateStackInstances"; } AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override; protected: AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline const Aws::String& GetStackSetName() const{ return m_stackSetName; } /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; } /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; } /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); } /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); } /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline CreateStackInstancesRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;} /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline CreateStackInstancesRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;} /** *

The name or unique ID of the stack set that you want to create stack * instances from.

*/ inline CreateStackInstancesRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;} /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline const Aws::Vector& GetAccounts() const{ return m_accounts; } /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; } /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline void SetAccounts(const Aws::Vector& value) { m_accountsHasBeenSet = true; m_accounts = value; } /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline void SetAccounts(Aws::Vector&& value) { m_accountsHasBeenSet = true; m_accounts = std::move(value); } /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline CreateStackInstancesRequest& WithAccounts(const Aws::Vector& value) { SetAccounts(value); return *this;} /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline CreateStackInstancesRequest& WithAccounts(Aws::Vector&& value) { SetAccounts(std::move(value)); return *this;} /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline CreateStackInstancesRequest& AddAccounts(const Aws::String& value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; } /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline CreateStackInstancesRequest& AddAccounts(Aws::String&& value) { m_accountsHasBeenSet = true; m_accounts.push_back(std::move(value)); return *this; } /** *

[Self-managed permissions] The names of one or more Amazon Web Services * accounts that you want to create stack instances in the specified Region(s) * for.

You can specify Accounts or * DeploymentTargets, but not both.

*/ inline CreateStackInstancesRequest& AddAccounts(const char* value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; } /** *

[Service-managed permissions] The Organizations accounts for which to create * stack instances in the specified Amazon Web Services Regions.

You can * specify Accounts or DeploymentTargets, but not * both.

*/ inline const DeploymentTargets& GetDeploymentTargets() const{ return m_deploymentTargets; } /** *

[Service-managed permissions] The Organizations accounts for which to create * stack instances in the specified Amazon Web Services Regions.

You can * specify Accounts or DeploymentTargets, but not * both.

*/ inline bool DeploymentTargetsHasBeenSet() const { return m_deploymentTargetsHasBeenSet; } /** *

[Service-managed permissions] The Organizations accounts for which to create * stack instances in the specified Amazon Web Services Regions.

You can * specify Accounts or DeploymentTargets, but not * both.

*/ inline void SetDeploymentTargets(const DeploymentTargets& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = value; } /** *

[Service-managed permissions] The Organizations accounts for which to create * stack instances in the specified Amazon Web Services Regions.

You can * specify Accounts or DeploymentTargets, but not * both.

*/ inline void SetDeploymentTargets(DeploymentTargets&& value) { m_deploymentTargetsHasBeenSet = true; m_deploymentTargets = std::move(value); } /** *

[Service-managed permissions] The Organizations accounts for which to create * stack instances in the specified Amazon Web Services Regions.

You can * specify Accounts or DeploymentTargets, but not * both.

*/ inline CreateStackInstancesRequest& WithDeploymentTargets(const DeploymentTargets& value) { SetDeploymentTargets(value); return *this;} /** *

[Service-managed permissions] The Organizations accounts for which to create * stack instances in the specified Amazon Web Services Regions.

You can * specify Accounts or DeploymentTargets, but not * both.

*/ inline CreateStackInstancesRequest& WithDeploymentTargets(DeploymentTargets&& value) { SetDeploymentTargets(std::move(value)); return *this;} /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline const Aws::Vector& GetRegions() const{ return m_regions; } /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline void SetRegions(const Aws::Vector& value) { m_regionsHasBeenSet = true; m_regions = value; } /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline void SetRegions(Aws::Vector&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); } /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline CreateStackInstancesRequest& WithRegions(const Aws::Vector& value) { SetRegions(value); return *this;} /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline CreateStackInstancesRequest& WithRegions(Aws::Vector&& value) { SetRegions(std::move(value)); return *this;} /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline CreateStackInstancesRequest& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline CreateStackInstancesRequest& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *

The names of one or more Amazon Web Services Regions where you want to create * stack instances using the specified Amazon Web Services accounts.

*/ inline CreateStackInstancesRequest& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline const Aws::Vector& GetParameterOverrides() const{ return m_parameterOverrides; } /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline bool ParameterOverridesHasBeenSet() const { return m_parameterOverridesHasBeenSet; } /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline void SetParameterOverrides(const Aws::Vector& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = value; } /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline void SetParameterOverrides(Aws::Vector&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = std::move(value); } /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline CreateStackInstancesRequest& WithParameterOverrides(const Aws::Vector& value) { SetParameterOverrides(value); return *this;} /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline CreateStackInstancesRequest& WithParameterOverrides(Aws::Vector&& value) { SetParameterOverrides(std::move(value)); return *this;} /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline CreateStackInstancesRequest& AddParameterOverrides(const Parameter& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(value); return *this; } /** *

A list of stack set parameters whose values you want to override in the * selected stack instances.

Any overridden parameter values will be applied * to all stack instances in the specified accounts and Amazon Web Services * Regions. When specifying parameters and their values, be aware of how * CloudFormation sets parameter values during stack instance operations:

    *
  • To override the current value for a parameter, include the parameter and * specify its value.

  • To leave an overridden parameter set to its * present value, include the parameter and specify UsePreviousValue * as true. (You can't specify both a value and set * UsePreviousValue to true.)

  • To set an * overridden parameter back to the value specified in the stack set, specify a * parameter list but don't include the parameter in the list.

  • To * leave all parameters set to their present values, don't specify this property at * all.

During stack set updates, any parameter values * overridden for a stack instance aren't updated, but retain their overridden * value.

You can only override the parameter values that are * specified in the stack set; to add or delete a parameter itself, use UpdateStackSet * to update the stack set template.

*/ inline CreateStackInstancesRequest& AddParameterOverrides(Parameter&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(std::move(value)); return *this; } /** *

Preferences for how CloudFormation performs this stack set operation.

*/ inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; } /** *

Preferences for how CloudFormation performs this stack set operation.

*/ inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; } /** *

Preferences for how CloudFormation performs this stack set operation.

*/ inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; } /** *

Preferences for how CloudFormation performs this stack set operation.

*/ inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); } /** *

Preferences for how CloudFormation performs this stack set operation.

*/ inline CreateStackInstancesRequest& WithOperationPreferences(const StackSetOperationPreferences& value) { SetOperationPreferences(value); return *this;} /** *

Preferences for how CloudFormation performs this stack set operation.

*/ inline CreateStackInstancesRequest& WithOperationPreferences(StackSetOperationPreferences&& value) { SetOperationPreferences(std::move(value)); return *this;} /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline const Aws::String& GetOperationId() const{ return m_operationId; } /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; } /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; } /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); } /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); } /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline CreateStackInstancesRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;} /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline CreateStackInstancesRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;} /** *

The unique identifier for this stack set operation.

The operation ID * also functions as an idempotency token, to ensure that CloudFormation performs * the stack set operation only once, even if you retry the request multiple times. * You might retry stack set operation requests to ensure that CloudFormation * successfully received them.

If you don't specify an operation ID, the SDK * generates one automatically.

Repeating this stack set operation with a * new operation ID retries all stack instances whose status is * OUTDATED.

*/ inline CreateStackInstancesRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;} /** *

[Service-managed permissions] Specifies whether you are acting as an account * administrator in the organization's management account or as a delegated * administrator in a member account.

By default, SELF is * specified. Use SELF for stack sets with self-managed * permissions.

  • If you are signed in to the management account, * specify SELF.

  • If you are signed in to a delegated * administrator account, specify DELEGATED_ADMIN.

    Your Amazon * Web Services account must be registered as a delegated administrator in the * management account. For more information, see Register * a delegated administrator in the CloudFormation User Guide.

  • *
*/ inline const CallAs& GetCallAs() const{ return m_callAs; } /** *

[Service-managed permissions] Specifies whether you are acting as an account * administrator in the organization's management account or as a delegated * administrator in a member account.

By default, SELF is * specified. Use SELF for stack sets with self-managed * permissions.

  • If you are signed in to the management account, * specify SELF.

  • If you are signed in to a delegated * administrator account, specify DELEGATED_ADMIN.

    Your Amazon * Web Services account must be registered as a delegated administrator in the * management account. For more information, see Register * a delegated administrator in the CloudFormation User Guide.

  • *
*/ inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; } /** *

[Service-managed permissions] Specifies whether you are acting as an account * administrator in the organization's management account or as a delegated * administrator in a member account.

By default, SELF is * specified. Use SELF for stack sets with self-managed * permissions.

  • If you are signed in to the management account, * specify SELF.

  • If you are signed in to a delegated * administrator account, specify DELEGATED_ADMIN.

    Your Amazon * Web Services account must be registered as a delegated administrator in the * management account. For more information, see Register * a delegated administrator in the CloudFormation User Guide.

  • *
*/ inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; } /** *

[Service-managed permissions] Specifies whether you are acting as an account * administrator in the organization's management account or as a delegated * administrator in a member account.

By default, SELF is * specified. Use SELF for stack sets with self-managed * permissions.

  • If you are signed in to the management account, * specify SELF.

  • If you are signed in to a delegated * administrator account, specify DELEGATED_ADMIN.

    Your Amazon * Web Services account must be registered as a delegated administrator in the * management account. For more information, see Register * a delegated administrator in the CloudFormation User Guide.

  • *
*/ inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); } /** *

[Service-managed permissions] Specifies whether you are acting as an account * administrator in the organization's management account or as a delegated * administrator in a member account.

By default, SELF is * specified. Use SELF for stack sets with self-managed * permissions.

  • If you are signed in to the management account, * specify SELF.

  • If you are signed in to a delegated * administrator account, specify DELEGATED_ADMIN.

    Your Amazon * Web Services account must be registered as a delegated administrator in the * management account. For more information, see Register * a delegated administrator in the CloudFormation User Guide.

  • *
*/ inline CreateStackInstancesRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;} /** *

[Service-managed permissions] Specifies whether you are acting as an account * administrator in the organization's management account or as a delegated * administrator in a member account.

By default, SELF is * specified. Use SELF for stack sets with self-managed * permissions.

  • If you are signed in to the management account, * specify SELF.

  • If you are signed in to a delegated * administrator account, specify DELEGATED_ADMIN.

    Your Amazon * Web Services account must be registered as a delegated administrator in the * management account. For more information, see Register * a delegated administrator in the CloudFormation User Guide.

  • *
*/ inline CreateStackInstancesRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;} private: Aws::String m_stackSetName; bool m_stackSetNameHasBeenSet = false; Aws::Vector m_accounts; bool m_accountsHasBeenSet = false; DeploymentTargets m_deploymentTargets; bool m_deploymentTargetsHasBeenSet = false; Aws::Vector m_regions; bool m_regionsHasBeenSet = false; Aws::Vector m_parameterOverrides; bool m_parameterOverridesHasBeenSet = false; StackSetOperationPreferences m_operationPreferences; bool m_operationPreferencesHasBeenSet = false; Aws::String m_operationId; bool m_operationIdHasBeenSet = false; CallAs m_callAs; bool m_callAsHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws