AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateThemeData.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/amplifyuibuilder/model/ThemeValues.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AmplifyUIBuilder
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_AMPLIFYUIBUILDER_API CreateThemeData();
39 AWS_AMPLIFYUIBUILDER_API CreateThemeData(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API CreateThemeData& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CreateThemeData& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CreateThemeData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CreateThemeData& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<ThemeValues>& GetValues() const{ return m_values; }
63 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
64 inline void SetValues(const Aws::Vector<ThemeValues>& value) { m_valuesHasBeenSet = true; m_values = value; }
65 inline void SetValues(Aws::Vector<ThemeValues>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
66 inline CreateThemeData& WithValues(const Aws::Vector<ThemeValues>& value) { SetValues(value); return *this;}
67 inline CreateThemeData& WithValues(Aws::Vector<ThemeValues>&& value) { SetValues(std::move(value)); return *this;}
68 inline CreateThemeData& AddValues(const ThemeValues& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
69 inline CreateThemeData& AddValues(ThemeValues&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
71
73
77 inline const Aws::Vector<ThemeValues>& GetOverrides() const{ return m_overrides; }
78 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
79 inline void SetOverrides(const Aws::Vector<ThemeValues>& value) { m_overridesHasBeenSet = true; m_overrides = value; }
80 inline void SetOverrides(Aws::Vector<ThemeValues>&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
81 inline CreateThemeData& WithOverrides(const Aws::Vector<ThemeValues>& value) { SetOverrides(value); return *this;}
82 inline CreateThemeData& WithOverrides(Aws::Vector<ThemeValues>&& value) { SetOverrides(std::move(value)); return *this;}
83 inline CreateThemeData& AddOverrides(const ThemeValues& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; }
84 inline CreateThemeData& AddOverrides(ThemeValues&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
94 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
95 inline CreateThemeData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
96 inline CreateThemeData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
97 inline CreateThemeData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 inline CreateThemeData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateThemeData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
100 inline CreateThemeData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
101 inline CreateThemeData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline CreateThemeData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
103 inline CreateThemeData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
111 bool m_valuesHasBeenSet = false;
112
113 Aws::Vector<ThemeValues> m_overrides;
114 bool m_overridesHasBeenSet = false;
115
117 bool m_tagsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace AmplifyUIBuilder
122} // namespace Aws
const Aws::Vector< ThemeValues > & GetValues() const
AWS_AMPLIFYUIBUILDER_API CreateThemeData(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API CreateThemeData()
CreateThemeData & WithName(const Aws::String &value)
CreateThemeData & AddTags(const char *key, Aws::String &&value)
CreateThemeData & AddValues(const ThemeValues &value)
void SetValues(const Aws::Vector< ThemeValues > &value)
CreateThemeData & AddTags(Aws::String &&key, const char *value)
CreateThemeData & AddValues(ThemeValues &&value)
void SetOverrides(const Aws::Vector< ThemeValues > &value)
CreateThemeData & AddTags(const Aws::String &key, Aws::String &&value)
void SetOverrides(Aws::Vector< ThemeValues > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateThemeData & AddTags(Aws::String &&key, const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API CreateThemeData & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateThemeData & WithOverrides(const Aws::Vector< ThemeValues > &value)
CreateThemeData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateThemeData & WithName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateThemeData & AddTags(const char *key, const char *value)
void SetValues(Aws::Vector< ThemeValues > &&value)
CreateThemeData & AddTags(const Aws::String &key, const Aws::String &value)
CreateThemeData & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< ThemeValues > & GetOverrides() const
CreateThemeData & AddOverrides(const ThemeValues &value)
CreateThemeData & WithValues(const Aws::Vector< ThemeValues > &value)
CreateThemeData & AddOverrides(ThemeValues &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateThemeData & WithName(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
CreateThemeData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateThemeData & WithValues(Aws::Vector< ThemeValues > &&value)
CreateThemeData & WithOverrides(Aws::Vector< ThemeValues > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue