/** * 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 QuickSight { namespace Model { /** */ class CreateTemplateAliasRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API CreateTemplateAliasRequest(); // 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 "CreateTemplateAlias"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID of the Amazon Web Services account that contains the template that you * creating an alias for.

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

The ID of the Amazon Web Services account that contains the template that you * creating an alias for.

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

The ID of the Amazon Web Services account that contains the template that you * creating an alias for.

*/ 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 * creating an alias for.

*/ 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 * creating an alias for.

*/ 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 * creating an alias for.

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

The ID of the Amazon Web Services account that contains the template that you * creating an alias for.

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

The ID of the Amazon Web Services account that contains the template that you * creating an alias for.

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

An ID for the template.

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

An ID for the template.

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

An ID for the template.

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

An ID for the template.

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

An ID for the template.

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

An ID for the template.

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

An ID for the template.

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

An ID for the template.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

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

The name that you want to give to the template alias that you're creating. * Don't start the alias name with the $ character. Alias names that * start with $ are reserved by Amazon QuickSight.

*/ inline CreateTemplateAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;} /** *

The version number of the template.

*/ inline long long GetTemplateVersionNumber() const{ return m_templateVersionNumber; } /** *

The version number of the template.

*/ inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; } /** *

The version number of the template.

*/ inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; } /** *

The version number of the template.

*/ inline CreateTemplateAliasRequest& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_templateId; bool m_templateIdHasBeenSet = false; Aws::String m_aliasName; bool m_aliasNameHasBeenSet = false; long long m_templateVersionNumber; bool m_templateVersionNumberHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws