/** * 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 UpdateTemplateAliasRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API UpdateTemplateAliasRequest(); // 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 "UpdateTemplateAlias"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

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

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

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

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

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

*/ 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 alias * that you're updating.

*/ 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 alias * that you're updating.

*/ 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 alias * that you're updating.

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

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

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

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

*/ inline UpdateTemplateAliasRequest& 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 UpdateTemplateAliasRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *

The ID for the template.

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

The ID for the template.

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

The alias of the template that you want to update. If you name a specific * alias, you update 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 update. If you name a specific * alias, you update 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 update. If you name a specific * alias, you update 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 update. If you name a specific * alias, you update 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 update. If you name a specific * alias, you update 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 update. If you name a specific * alias, you update 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 UpdateTemplateAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;} /** *

The alias of the template that you want to update. If you name a specific * alias, you update 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 UpdateTemplateAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;} /** *

The alias of the template that you want to update. If you name a specific * alias, you update 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 UpdateTemplateAliasRequest& 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 UpdateTemplateAliasRequest& 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