/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A theme is a collection of style settings that apply globally to the
* components associated with an Amplify application.See Also:
AWS
* API Reference
The unique ID for the Amplify app associated with the theme.
*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *The unique ID for the Amplify app associated with the theme.
*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *The unique ID for the Amplify app associated with the theme.
*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *The unique ID for the Amplify app associated with the theme.
*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *The unique ID for the Amplify app associated with the theme.
*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *The unique ID for the Amplify app associated with the theme.
*/ inline Theme& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The unique ID for the Amplify app associated with the theme.
*/ inline Theme& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The unique ID for the Amplify app associated with the theme.
*/ inline Theme& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The name of the backend environment that is a part of the Amplify app.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the backend environment that is a part of the Amplify app.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the backend environment that is a part of the Amplify app.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the backend environment that is a part of the Amplify app.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the backend environment that is a part of the Amplify app.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the backend environment that is a part of the Amplify app.
*/ inline Theme& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the backend environment that is a part of the Amplify app.
*/ inline Theme& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the backend environment that is a part of the Amplify app.
*/ inline Theme& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The ID for the theme.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID for the theme.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID for the theme.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID for the theme.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID for the theme.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID for the theme.
*/ inline Theme& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID for the theme.
*/ inline Theme& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID for the theme.
*/ inline Theme& WithId(const char* value) { SetId(value); return *this;} /** *The name of the theme.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the theme.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the theme.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the theme.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the theme.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the theme.
*/ inline Theme& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the theme.
*/ inline Theme& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the theme.
*/ inline Theme& WithName(const char* value) { SetName(value); return *this;} /** *The time that the theme was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time that the theme was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time that the theme was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time that the theme was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time that the theme was created.
*/ inline Theme& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time that the theme was created.
*/ inline Theme& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time that the theme was modified.
*/ inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** *The time that the theme was modified.
*/ inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** *The time that the theme was modified.
*/ inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** *The time that the theme was modified.
*/ inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** *The time that the theme was modified.
*/ inline Theme& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** *The time that the theme was modified.
*/ inline Theme& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} /** *A list of key-value pairs that defines the properties of the theme.
*/ inline const Aws::VectorA list of key-value pairs that defines the properties of the theme.
*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *A list of key-value pairs that defines the properties of the theme.
*/ inline void SetValues(const Aws::VectorA list of key-value pairs that defines the properties of the theme.
*/ inline void SetValues(Aws::VectorA list of key-value pairs that defines the properties of the theme.
*/ inline Theme& WithValues(const Aws::VectorA list of key-value pairs that defines the properties of the theme.
*/ inline Theme& WithValues(Aws::VectorA list of key-value pairs that defines the properties of the theme.
*/ inline Theme& AddValues(const ThemeValues& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *A list of key-value pairs that defines the properties of the theme.
*/ inline Theme& AddValues(ThemeValues&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *Describes the properties that can be overriden to customize a theme.
*/ inline const Aws::VectorDescribes the properties that can be overriden to customize a theme.
*/ inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; } /** *Describes the properties that can be overriden to customize a theme.
*/ inline void SetOverrides(const Aws::VectorDescribes the properties that can be overriden to customize a theme.
*/ inline void SetOverrides(Aws::VectorDescribes the properties that can be overriden to customize a theme.
*/ inline Theme& WithOverrides(const Aws::VectorDescribes the properties that can be overriden to customize a theme.
*/ inline Theme& WithOverrides(Aws::VectorDescribes the properties that can be overriden to customize a theme.
*/ inline Theme& AddOverrides(const ThemeValues& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; } /** *Describes the properties that can be overriden to customize a theme.
*/ inline Theme& AddOverrides(ThemeValues&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline const Aws::MapOne or more key-value pairs to use when tagging the theme.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline void SetTags(const Aws::MapOne or more key-value pairs to use when tagging the theme.
*/ inline void SetTags(Aws::MapOne or more key-value pairs to use when tagging the theme.
*/ inline Theme& WithTags(const Aws::MapOne or more key-value pairs to use when tagging the theme.
*/ inline Theme& WithTags(Aws::MapOne or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *One or more key-value pairs to use when tagging the theme.
*/ inline Theme& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; Aws::Vector