/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Proton { namespace Model { /** */ class UpdateAccountSettingsRequest : public ProtonRequest { public: AWS_PROTON_API UpdateAccountSettingsRequest(); // 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 "UpdateAccountSettings"; } AWS_PROTON_API Aws::String SerializePayload() const override; AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Set to true to remove a configured pipeline repository from the * account settings. Don't set this field if you are updating the configured * pipeline repository.

*/ inline bool GetDeletePipelineProvisioningRepository() const{ return m_deletePipelineProvisioningRepository; } /** *

Set to true to remove a configured pipeline repository from the * account settings. Don't set this field if you are updating the configured * pipeline repository.

*/ inline bool DeletePipelineProvisioningRepositoryHasBeenSet() const { return m_deletePipelineProvisioningRepositoryHasBeenSet; } /** *

Set to true to remove a configured pipeline repository from the * account settings. Don't set this field if you are updating the configured * pipeline repository.

*/ inline void SetDeletePipelineProvisioningRepository(bool value) { m_deletePipelineProvisioningRepositoryHasBeenSet = true; m_deletePipelineProvisioningRepository = value; } /** *

Set to true to remove a configured pipeline repository from the * account settings. Don't set this field if you are updating the configured * pipeline repository.

*/ inline UpdateAccountSettingsRequest& WithDeletePipelineProvisioningRepository(bool value) { SetDeletePipelineProvisioningRepository(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline const Aws::String& GetPipelineCodebuildRoleArn() const{ return m_pipelineCodebuildRoleArn; } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline bool PipelineCodebuildRoleArnHasBeenSet() const { return m_pipelineCodebuildRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline void SetPipelineCodebuildRoleArn(const Aws::String& value) { m_pipelineCodebuildRoleArnHasBeenSet = true; m_pipelineCodebuildRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline void SetPipelineCodebuildRoleArn(Aws::String&& value) { m_pipelineCodebuildRoleArnHasBeenSet = true; m_pipelineCodebuildRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline void SetPipelineCodebuildRoleArn(const char* value) { m_pipelineCodebuildRoleArnHasBeenSet = true; m_pipelineCodebuildRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline UpdateAccountSettingsRequest& WithPipelineCodebuildRoleArn(const Aws::String& value) { SetPipelineCodebuildRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline UpdateAccountSettingsRequest& WithPipelineCodebuildRoleArn(Aws::String&& value) { SetPipelineCodebuildRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Proton assumes this role for CodeBuild-based * provisioning.

*/ inline UpdateAccountSettingsRequest& WithPipelineCodebuildRoleArn(const char* value) { SetPipelineCodebuildRoleArn(value); return *this;} /** *

A linked repository for pipeline provisioning. Specify it if you have * environments configured for self-managed provisioning with services that include * pipelines. A linked repository is a repository that has been registered with * Proton. For more information, see CreateRepository.

To remove a * previously configured repository, set * deletePipelineProvisioningRepository to true, and * don't set pipelineProvisioningRepository.

*/ inline const RepositoryBranchInput& GetPipelineProvisioningRepository() const{ return m_pipelineProvisioningRepository; } /** *

A linked repository for pipeline provisioning. Specify it if you have * environments configured for self-managed provisioning with services that include * pipelines. A linked repository is a repository that has been registered with * Proton. For more information, see CreateRepository.

To remove a * previously configured repository, set * deletePipelineProvisioningRepository to true, and * don't set pipelineProvisioningRepository.

*/ inline bool PipelineProvisioningRepositoryHasBeenSet() const { return m_pipelineProvisioningRepositoryHasBeenSet; } /** *

A linked repository for pipeline provisioning. Specify it if you have * environments configured for self-managed provisioning with services that include * pipelines. A linked repository is a repository that has been registered with * Proton. For more information, see CreateRepository.

To remove a * previously configured repository, set * deletePipelineProvisioningRepository to true, and * don't set pipelineProvisioningRepository.

*/ inline void SetPipelineProvisioningRepository(const RepositoryBranchInput& value) { m_pipelineProvisioningRepositoryHasBeenSet = true; m_pipelineProvisioningRepository = value; } /** *

A linked repository for pipeline provisioning. Specify it if you have * environments configured for self-managed provisioning with services that include * pipelines. A linked repository is a repository that has been registered with * Proton. For more information, see CreateRepository.

To remove a * previously configured repository, set * deletePipelineProvisioningRepository to true, and * don't set pipelineProvisioningRepository.

*/ inline void SetPipelineProvisioningRepository(RepositoryBranchInput&& value) { m_pipelineProvisioningRepositoryHasBeenSet = true; m_pipelineProvisioningRepository = std::move(value); } /** *

A linked repository for pipeline provisioning. Specify it if you have * environments configured for self-managed provisioning with services that include * pipelines. A linked repository is a repository that has been registered with * Proton. For more information, see CreateRepository.

To remove a * previously configured repository, set * deletePipelineProvisioningRepository to true, and * don't set pipelineProvisioningRepository.

*/ inline UpdateAccountSettingsRequest& WithPipelineProvisioningRepository(const RepositoryBranchInput& value) { SetPipelineProvisioningRepository(value); return *this;} /** *

A linked repository for pipeline provisioning. Specify it if you have * environments configured for self-managed provisioning with services that include * pipelines. A linked repository is a repository that has been registered with * Proton. For more information, see CreateRepository.

To remove a * previously configured repository, set * deletePipelineProvisioningRepository to true, and * don't set pipelineProvisioningRepository.

*/ inline UpdateAccountSettingsRequest& WithPipelineProvisioningRepository(RepositoryBranchInput&& value) { SetPipelineProvisioningRepository(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline const Aws::String& GetPipelineServiceRoleArn() const{ return m_pipelineServiceRoleArn; } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline bool PipelineServiceRoleArnHasBeenSet() const { return m_pipelineServiceRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline void SetPipelineServiceRoleArn(const Aws::String& value) { m_pipelineServiceRoleArnHasBeenSet = true; m_pipelineServiceRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline void SetPipelineServiceRoleArn(Aws::String&& value) { m_pipelineServiceRoleArnHasBeenSet = true; m_pipelineServiceRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline void SetPipelineServiceRoleArn(const char* value) { m_pipelineServiceRoleArnHasBeenSet = true; m_pipelineServiceRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline UpdateAccountSettingsRequest& WithPipelineServiceRoleArn(const Aws::String& value) { SetPipelineServiceRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline UpdateAccountSettingsRequest& WithPipelineServiceRoleArn(Aws::String&& value) { SetPipelineServiceRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service role you want to use for * provisioning pipelines. Assumed by Proton for Amazon Web Services-managed * provisioning, and by customer-owned automation for self-managed * provisioning.

To remove a previously configured ARN, specify an empty * string.

*/ inline UpdateAccountSettingsRequest& WithPipelineServiceRoleArn(const char* value) { SetPipelineServiceRoleArn(value); return *this;} private: bool m_deletePipelineProvisioningRepository; bool m_deletePipelineProvisioningRepositoryHasBeenSet = false; Aws::String m_pipelineCodebuildRoleArn; bool m_pipelineCodebuildRoleArnHasBeenSet = false; RepositoryBranchInput m_pipelineProvisioningRepository; bool m_pipelineProvisioningRepositoryHasBeenSet = false; Aws::String m_pipelineServiceRoleArn; bool m_pipelineServiceRoleArnHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws