/** * 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 DescribeTemplateRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API DescribeTemplateRequest(); // 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 "DescribeTemplate"; } 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 describing.

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

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

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

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

*/ 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 describing.

*/ 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 describing.

*/ 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 describing.

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

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

*/ inline DescribeTemplateRequest& 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 describing.

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

The ID for the template.

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

The ID for the template.

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

The ID for the template.

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

The ID for the template.

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

The ID for the template.

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

The ID for the template.

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

The ID for the template.

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

The ID for the template.

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

(Optional) The number for the version to describe. If a * VersionNumber parameter value isn't provided, the latest version of * the template is described.

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

(Optional) The number for the version to describe. If a * VersionNumber parameter value isn't provided, the latest version of * the template is described.

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

(Optional) The number for the version to describe. If a * VersionNumber parameter value isn't provided, the latest version of * the template is described.

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

(Optional) The number for the version to describe. If a * VersionNumber parameter value isn't provided, the latest version of * the template is described.

*/ inline DescribeTemplateRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline const Aws::String& GetAliasName() const{ return m_aliasName; } /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; } /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; } /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); } /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); } /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline DescribeTemplateRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;} /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline DescribeTemplateRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;} /** *

The alias of the template that you want to describe. If you name a specific * alias, you describe the version that the alias points to. You can specify the * latest version of the template by providing the keyword $LATEST in * the AliasName parameter. The keyword $PUBLISHED * doesn't apply to templates.

*/ inline DescribeTemplateRequest& WithAliasName(const char* value) { SetAliasName(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; Aws::String m_aliasName; bool m_aliasNameHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws