/** * 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 { class ThemeValues; /** *

Describes the configuration of a theme's properties.

See Also:

* AWS * API Reference

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

The value of a theme property.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The value of a theme property.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of a theme property.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of a theme property.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value of a theme property.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The value of a theme property.

*/ inline ThemeValue& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The value of a theme property.

*/ inline ThemeValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The value of a theme property.

*/ inline ThemeValue& WithValue(const char* value) { SetValue(value); return *this;} /** *

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

*/ inline const Aws::Vector& GetChildren() const{ return m_children; } /** *

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

*/ inline bool ChildrenHasBeenSet() const { return m_childrenHasBeenSet; } /** *

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

*/ inline void SetChildren(const Aws::Vector& value) { m_childrenHasBeenSet = true; m_children = value; } /** *

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

*/ inline void SetChildren(Aws::Vector&& value) { m_childrenHasBeenSet = true; m_children = std::move(value); } /** *

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

*/ inline ThemeValue& WithChildren(const Aws::Vector& value) { SetChildren(value); return *this;} /** *

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

*/ inline ThemeValue& WithChildren(Aws::Vector&& value) { SetChildren(std::move(value)); return *this;} /** *

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

*/ inline ThemeValue& AddChildren(const ThemeValues& value) { m_childrenHasBeenSet = true; m_children.push_back(value); return *this; } /** *

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

*/ inline ThemeValue& AddChildren(ThemeValues&& value) { m_childrenHasBeenSet = true; m_children.push_back(std::move(value)); return *this; } private: Aws::String m_value; bool m_valueHasBeenSet = false; Aws::Vector m_children; bool m_childrenHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws