/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace QuickSight { namespace Model { /** */ class DeleteTemplateRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API DeleteTemplateRequest(); // 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 "DeleteTemplate"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline DeleteTemplateRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline DeleteTemplateRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The ID of the Amazon Web Services account that contains the template that * you're deleting.

*/ inline DeleteTemplateRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

An ID for the template you want to delete.

*/ inline const Aws::String& GetTemplateId() const{ return m_templateId; } /** *

An ID for the template you want to delete.

*/ inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; } /** *

An ID for the template you want to delete.

*/ inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; } /** *

An ID for the template you want to delete.

*/ inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); } /** *

An ID for the template you want to delete.

*/ inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); } /** *

An ID for the template you want to delete.

*/ inline DeleteTemplateRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *

An ID for the template you want to delete.

*/ inline DeleteTemplateRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} /** *

An ID for the template you want to delete.

*/ inline DeleteTemplateRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} /** *

Specifies the version of the template that you want to delete. If you don't * provide a version number, DeleteTemplate deletes all versions of * the template.

*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *

Specifies the version of the template that you want to delete. If you don't * provide a version number, DeleteTemplate deletes all versions of * the template.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

Specifies the version of the template that you want to delete. If you don't * provide a version number, DeleteTemplate deletes all versions of * the template.

*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

Specifies the version of the template that you want to delete. If you don't * provide a version number, DeleteTemplate deletes all versions of * the template.

*/ inline DeleteTemplateRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_templateId; bool m_templateIdHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws