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

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

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

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

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

The ID of the Amazon Web Services account that contains the theme 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 theme 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 theme 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 theme that you're * updating.

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

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

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

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

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

The ID for the theme.

*/ inline const Aws::String& GetThemeId() const{ return m_themeId; } /** *

The ID for the theme.

*/ inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; } /** *

The ID for the theme.

*/ inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; } /** *

The ID for the theme.

*/ inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); } /** *

The ID for the theme.

*/ inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); } /** *

The ID for the theme.

*/ inline UpdateThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;} /** *

The ID for the theme.

*/ inline UpdateThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;} /** *

The ID for the theme.

*/ inline UpdateThemeRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;} /** *

The name for the theme.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the theme.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the theme.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the theme.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the theme.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the theme.

*/ inline UpdateThemeRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the theme.

*/ inline UpdateThemeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the theme.

*/ inline UpdateThemeRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; } /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; } /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; } /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); } /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); } /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline UpdateThemeRequest& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;} /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline UpdateThemeRequest& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;} /** *

The theme ID, defined by Amazon QuickSight, that a custom theme inherits * from. All themes initially inherit from a default Amazon QuickSight theme.

*/ inline UpdateThemeRequest& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;} /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; } /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; } /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; } /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); } /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); } /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline UpdateThemeRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;} /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline UpdateThemeRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;} /** *

A description of the theme version that you're updating Every time that you * call UpdateTheme, you create a new version of the theme. Each * version of the theme maintains a description of the version in * VersionDescription.

*/ inline UpdateThemeRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;} /** *

The theme configuration, which contains the theme display properties.

*/ inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; } /** *

The theme configuration, which contains the theme display properties.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

The theme configuration, which contains the theme display properties.

*/ inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

The theme configuration, which contains the theme display properties.

*/ inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

The theme configuration, which contains the theme display properties.

*/ inline UpdateThemeRequest& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;} /** *

The theme configuration, which contains the theme display properties.

*/ inline UpdateThemeRequest& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_themeId; bool m_themeIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_baseThemeId; bool m_baseThemeIdHasBeenSet = false; Aws::String m_versionDescription; bool m_versionDescriptionHasBeenSet = false; ThemeConfiguration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws