/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AmplifyUIBuilder { namespace Model { /** *

Saves the data binding information for a theme.

See Also:

AWS * API Reference

*/ class UpdateThemeData { public: AWS_AMPLIFYUIBUILDER_API UpdateThemeData(); AWS_AMPLIFYUIBUILDER_API UpdateThemeData(Aws::Utils::Json::JsonView jsonValue); AWS_AMPLIFYUIBUILDER_API UpdateThemeData& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique ID of the theme to update.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique ID of the theme to update.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique ID of the theme to update.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique ID of the theme to update.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique ID of the theme to update.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique ID of the theme to update.

*/ inline UpdateThemeData& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique ID of the theme to update.

*/ inline UpdateThemeData& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique ID of the theme to update.

*/ inline UpdateThemeData& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the theme to update.

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

The name of the theme to update.

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

The name of the theme to update.

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

The name of the theme to update.

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

The name of the theme to update.

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

The name of the theme to update.

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

The name of the theme to update.

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

The name of the theme to update.

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

A list of key-value pairs that define the theme's properties.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

A list of key-value pairs that define the theme's properties.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

A list of key-value pairs that define the theme's properties.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

A list of key-value pairs that define the theme's properties.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

A list of key-value pairs that define the theme's properties.

*/ inline UpdateThemeData& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

A list of key-value pairs that define the theme's properties.

*/ inline UpdateThemeData& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

A list of key-value pairs that define the theme's properties.

*/ inline UpdateThemeData& AddValues(const ThemeValues& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

A list of key-value pairs that define the theme's properties.

*/ inline UpdateThemeData& AddValues(ThemeValues&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

Describes the properties that can be overriden to customize the theme.

*/ inline const Aws::Vector& GetOverrides() const{ return m_overrides; } /** *

Describes the properties that can be overriden to customize the theme.

*/ inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; } /** *

Describes the properties that can be overriden to customize the theme.

*/ inline void SetOverrides(const Aws::Vector& value) { m_overridesHasBeenSet = true; m_overrides = value; } /** *

Describes the properties that can be overriden to customize the theme.

*/ inline void SetOverrides(Aws::Vector&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); } /** *

Describes the properties that can be overriden to customize the theme.

*/ inline UpdateThemeData& WithOverrides(const Aws::Vector& value) { SetOverrides(value); return *this;} /** *

Describes the properties that can be overriden to customize the theme.

*/ inline UpdateThemeData& WithOverrides(Aws::Vector&& value) { SetOverrides(std::move(value)); return *this;} /** *

Describes the properties that can be overriden to customize the theme.

*/ inline UpdateThemeData& AddOverrides(const ThemeValues& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; } /** *

Describes the properties that can be overriden to customize the theme.

*/ inline UpdateThemeData& AddOverrides(ThemeValues&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_values; bool m_valuesHasBeenSet = false; Aws::Vector m_overrides; bool m_overridesHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws