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

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 DeleteRecommendationTemplateRequest& 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 DeleteRecommendationTemplateRequest& 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 DeleteRecommendationTemplateRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline const Aws::String& GetRecommendationTemplateArn() const{ return m_recommendationTemplateArn; } /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline bool RecommendationTemplateArnHasBeenSet() const { return m_recommendationTemplateArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline void SetRecommendationTemplateArn(const Aws::String& value) { m_recommendationTemplateArnHasBeenSet = true; m_recommendationTemplateArn = value; } /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline void SetRecommendationTemplateArn(Aws::String&& value) { m_recommendationTemplateArnHasBeenSet = true; m_recommendationTemplateArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline void SetRecommendationTemplateArn(const char* value) { m_recommendationTemplateArnHasBeenSet = true; m_recommendationTemplateArn.assign(value); } /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline DeleteRecommendationTemplateRequest& WithRecommendationTemplateArn(const Aws::String& value) { SetRecommendationTemplateArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline DeleteRecommendationTemplateRequest& WithRecommendationTemplateArn(Aws::String&& value) { SetRecommendationTemplateArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for a recommendation template.

*/ inline DeleteRecommendationTemplateRequest& WithRecommendationTemplateArn(const char* value) { SetRecommendationTemplateArn(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_recommendationTemplateArn; bool m_recommendationTemplateArnHasBeenSet = false; }; } // namespace Model } // namespace ResilienceHub } // namespace Aws