/** * 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 namespace Aws { namespace CloudFormation { namespace Model { /** */ class ImportStacksToStackSetRequest : public CloudFormationRequest { public: AWS_CLOUDFORMATION_API ImportStacksToStackSetRequest(); // 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 "ImportStacksToStackSet"; } AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override; protected: AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The name of the stack set. The name must be unique in the Region where you * create your stack set.

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

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline const Aws::Vector& GetStackIds() const{ return m_stackIds; } /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline bool StackIdsHasBeenSet() const { return m_stackIdsHasBeenSet; } /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline void SetStackIds(const Aws::Vector& value) { m_stackIdsHasBeenSet = true; m_stackIds = value; } /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline void SetStackIds(Aws::Vector&& value) { m_stackIdsHasBeenSet = true; m_stackIds = std::move(value); } /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& WithStackIds(const Aws::Vector& value) { SetStackIds(value); return *this;} /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& WithStackIds(Aws::Vector&& value) { SetStackIds(std::move(value)); return *this;} /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& AddStackIds(const Aws::String& value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(value); return *this; } /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& AddStackIds(Aws::String&& value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(std::move(value)); return *this; } /** *

The IDs of the stacks you are importing into a stack set. You import up to 10 * stacks per stack set at a time.

Specify either StackIds or * StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& AddStackIds(const char* value) { m_stackIdsHasBeenSet = true; m_stackIds.push_back(value); return *this; } /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline const Aws::String& GetStackIdsUrl() const{ return m_stackIdsUrl; } /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline bool StackIdsUrlHasBeenSet() const { return m_stackIdsUrlHasBeenSet; } /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline void SetStackIdsUrl(const Aws::String& value) { m_stackIdsUrlHasBeenSet = true; m_stackIdsUrl = value; } /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline void SetStackIdsUrl(Aws::String&& value) { m_stackIdsUrlHasBeenSet = true; m_stackIdsUrl = std::move(value); } /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline void SetStackIdsUrl(const char* value) { m_stackIdsUrlHasBeenSet = true; m_stackIdsUrl.assign(value); } /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& WithStackIdsUrl(const Aws::String& value) { SetStackIdsUrl(value); return *this;} /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& WithStackIdsUrl(Aws::String&& value) { SetStackIdsUrl(std::move(value)); return *this;} /** *

The Amazon S3 URL which contains list of stack ids to be inputted.

*

Specify either StackIds or StackIdsUrl.

*/ inline ImportStacksToStackSetRequest& WithStackIdsUrl(const char* value) { SetStackIdsUrl(value); return *this;} /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline const Aws::Vector& GetOrganizationalUnitIds() const{ return m_organizationalUnitIds; } /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline bool OrganizationalUnitIdsHasBeenSet() const { return m_organizationalUnitIdsHasBeenSet; } /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline void SetOrganizationalUnitIds(const Aws::Vector& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds = value; } /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline void SetOrganizationalUnitIds(Aws::Vector&& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds = std::move(value); } /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline ImportStacksToStackSetRequest& WithOrganizationalUnitIds(const Aws::Vector& value) { SetOrganizationalUnitIds(value); return *this;} /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline ImportStacksToStackSetRequest& WithOrganizationalUnitIds(Aws::Vector&& value) { SetOrganizationalUnitIds(std::move(value)); return *this;} /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline ImportStacksToStackSetRequest& AddOrganizationalUnitIds(const Aws::String& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(value); return *this; } /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline ImportStacksToStackSetRequest& AddOrganizationalUnitIds(Aws::String&& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(std::move(value)); return *this; } /** *

The list of OU ID's to which the stacks being imported has to be mapped as * deployment target.

*/ inline ImportStacksToStackSetRequest& AddOrganizationalUnitIds(const char* value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(value); return *this; } /** *

The user-specified preferences for how CloudFormation performs a stack set * operation.

For more information about maximum concurrent accounts and * failure tolerance, see Stack * set operation options.

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

The user-specified preferences for how CloudFormation performs a stack set * operation.

For more information about maximum concurrent accounts and * failure tolerance, see Stack * set operation options.

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

The user-specified preferences for how CloudFormation performs a stack set * operation.

For more information about maximum concurrent accounts and * failure tolerance, see Stack * set operation options.

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

The user-specified preferences for how CloudFormation performs a stack set * operation.

For more information about maximum concurrent accounts and * failure tolerance, see Stack * set operation options.

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

The user-specified preferences for how CloudFormation performs a stack set * operation.

For more information about maximum concurrent accounts and * failure tolerance, see Stack * set operation options.

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

The user-specified preferences for how CloudFormation performs a stack set * operation.

For more information about maximum concurrent accounts and * failure tolerance, see Stack * set operation options.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

A unique, user defined, identifier for the stack set operation.

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

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.

  • For service * managed stack sets, specify DELEGATED_ADMIN.

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

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.

  • For service * managed stack sets, specify DELEGATED_ADMIN.

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

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.

  • For service * managed stack sets, specify DELEGATED_ADMIN.

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

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.

  • For service * managed stack sets, specify DELEGATED_ADMIN.

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

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.

  • For service * managed stack sets, specify DELEGATED_ADMIN.

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

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.

  • For service * managed stack sets, specify DELEGATED_ADMIN.

*/ inline ImportStacksToStackSetRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;} private: Aws::String m_stackSetName; bool m_stackSetNameHasBeenSet = false; Aws::Vector m_stackIds; bool m_stackIdsHasBeenSet = false; Aws::String m_stackIdsUrl; bool m_stackIdsUrlHasBeenSet = false; Aws::Vector m_organizationalUnitIds; bool m_organizationalUnitIdsHasBeenSet = 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