/** * 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 namespace Aws { namespace ResilienceHub { namespace Model { /** */ class DeleteAppInputSourceRequest : public ResilienceHubRequest { public: AWS_RESILIENCEHUB_API DeleteAppInputSourceRequest(); // 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 "DeleteAppInputSource"; } AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline const Aws::String& GetAppArn() const{ return m_appArn; } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppInputSourceRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppInputSourceRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Resilience Hub application. The format * for this ARN is: * arn:partition:resiliencehub:region:account:app/app-id. * For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppInputSourceRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;} /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline DeleteAppInputSourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline DeleteAppInputSourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Used for an idempotency token. A client token is a unique, case-sensitive * string of up to 64 ASCII characters. You should not reuse the same client token * for other API requests.

*/ inline DeleteAppInputSourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The namespace on your Amazon Elastic Kubernetes Service cluster that you want * to delete from the Resilience Hub application.

*/ inline const EksSourceClusterNamespace& GetEksSourceClusterNamespace() const{ return m_eksSourceClusterNamespace; } /** *

The namespace on your Amazon Elastic Kubernetes Service cluster that you want * to delete from the Resilience Hub application.

*/ inline bool EksSourceClusterNamespaceHasBeenSet() const { return m_eksSourceClusterNamespaceHasBeenSet; } /** *

The namespace on your Amazon Elastic Kubernetes Service cluster that you want * to delete from the Resilience Hub application.

*/ inline void SetEksSourceClusterNamespace(const EksSourceClusterNamespace& value) { m_eksSourceClusterNamespaceHasBeenSet = true; m_eksSourceClusterNamespace = value; } /** *

The namespace on your Amazon Elastic Kubernetes Service cluster that you want * to delete from the Resilience Hub application.

*/ inline void SetEksSourceClusterNamespace(EksSourceClusterNamespace&& value) { m_eksSourceClusterNamespaceHasBeenSet = true; m_eksSourceClusterNamespace = std::move(value); } /** *

The namespace on your Amazon Elastic Kubernetes Service cluster that you want * to delete from the Resilience Hub application.

*/ inline DeleteAppInputSourceRequest& WithEksSourceClusterNamespace(const EksSourceClusterNamespace& value) { SetEksSourceClusterNamespace(value); return *this;} /** *

The namespace on your Amazon Elastic Kubernetes Service cluster that you want * to delete from the Resilience Hub application.

*/ inline DeleteAppInputSourceRequest& WithEksSourceClusterNamespace(EksSourceClusterNamespace&& value) { SetEksSourceClusterNamespace(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppInputSourceRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppInputSourceRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the imported resource you want to remove * from the Resilience Hub application. For more information about ARNs, see * Amazon Resource Names (ARNs) in the AWS General Reference guide.

*/ inline DeleteAppInputSourceRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *

The imported Terraform s3 state file you want to remove from the Resilience * Hub application.

*/ inline const TerraformSource& GetTerraformSource() const{ return m_terraformSource; } /** *

The imported Terraform s3 state file you want to remove from the Resilience * Hub application.

*/ inline bool TerraformSourceHasBeenSet() const { return m_terraformSourceHasBeenSet; } /** *

The imported Terraform s3 state file you want to remove from the Resilience * Hub application.

*/ inline void SetTerraformSource(const TerraformSource& value) { m_terraformSourceHasBeenSet = true; m_terraformSource = value; } /** *

The imported Terraform s3 state file you want to remove from the Resilience * Hub application.

*/ inline void SetTerraformSource(TerraformSource&& value) { m_terraformSourceHasBeenSet = true; m_terraformSource = std::move(value); } /** *

The imported Terraform s3 state file you want to remove from the Resilience * Hub application.

*/ inline DeleteAppInputSourceRequest& WithTerraformSource(const TerraformSource& value) { SetTerraformSource(value); return *this;} /** *

The imported Terraform s3 state file you want to remove from the Resilience * Hub application.

*/ inline DeleteAppInputSourceRequest& WithTerraformSource(TerraformSource&& value) { SetTerraformSource(std::move(value)); return *this;} private: Aws::String m_appArn; bool m_appArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; EksSourceClusterNamespace m_eksSourceClusterNamespace; bool m_eksSourceClusterNamespaceHasBeenSet = false; Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; TerraformSource m_terraformSource; bool m_terraformSourceHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws