AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Theme.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/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/amplifyuibuilder/model/ThemeValues.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AmplifyUIBuilder
26{
27namespace Model
28{
29
36 class Theme
37 {
38 public:
39 AWS_AMPLIFYUIBUILDER_API Theme();
40 AWS_AMPLIFYUIBUILDER_API Theme(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AMPLIFYUIBUILDER_API Theme& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAppId() const{ return m_appId; }
50 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
51 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
52 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
53 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
54 inline Theme& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
55 inline Theme& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
56 inline Theme& WithAppId(const char* value) { SetAppId(value); return *this;}
58
60
63 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
64 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
65 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
66 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
67 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
68 inline Theme& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
69 inline Theme& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
70 inline Theme& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
72
74
77 inline const Aws::String& GetId() const{ return m_id; }
78 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
79 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
80 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
81 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
82 inline Theme& WithId(const Aws::String& value) { SetId(value); return *this;}
83 inline Theme& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 inline Theme& WithId(const char* value) { SetId(value); return *this;}
86
88
91 inline const Aws::String& GetName() const{ return m_name; }
92 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
94 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
96 inline Theme& WithName(const Aws::String& value) { SetName(value); return *this;}
97 inline Theme& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
98 inline Theme& WithName(const char* value) { SetName(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
106 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
107 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
108 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
109 inline Theme& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
110 inline Theme& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
118 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
119 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
120 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
121 inline Theme& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
122 inline Theme& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
124
126
129 inline const Aws::Vector<ThemeValues>& GetValues() const{ return m_values; }
130 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
131 inline void SetValues(const Aws::Vector<ThemeValues>& value) { m_valuesHasBeenSet = true; m_values = value; }
132 inline void SetValues(Aws::Vector<ThemeValues>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
133 inline Theme& WithValues(const Aws::Vector<ThemeValues>& value) { SetValues(value); return *this;}
134 inline Theme& WithValues(Aws::Vector<ThemeValues>&& value) { SetValues(std::move(value)); return *this;}
135 inline Theme& AddValues(const ThemeValues& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
136 inline Theme& AddValues(ThemeValues&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
138
140
143 inline const Aws::Vector<ThemeValues>& GetOverrides() const{ return m_overrides; }
144 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
145 inline void SetOverrides(const Aws::Vector<ThemeValues>& value) { m_overridesHasBeenSet = true; m_overrides = value; }
146 inline void SetOverrides(Aws::Vector<ThemeValues>&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
147 inline Theme& WithOverrides(const Aws::Vector<ThemeValues>& value) { SetOverrides(value); return *this;}
148 inline Theme& WithOverrides(Aws::Vector<ThemeValues>&& value) { SetOverrides(std::move(value)); return *this;}
149 inline Theme& AddOverrides(const ThemeValues& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; }
150 inline Theme& AddOverrides(ThemeValues&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; }
152
154
157 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
158 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
160 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
161 inline Theme& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
162 inline Theme& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
163 inline Theme& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
164 inline Theme& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
165 inline Theme& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
166 inline Theme& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
167 inline Theme& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
168 inline Theme& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
169 inline Theme& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
171 private:
172
173 Aws::String m_appId;
174 bool m_appIdHasBeenSet = false;
175
176 Aws::String m_environmentName;
177 bool m_environmentNameHasBeenSet = false;
178
179 Aws::String m_id;
180 bool m_idHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
185 Aws::Utils::DateTime m_createdAt;
186 bool m_createdAtHasBeenSet = false;
187
188 Aws::Utils::DateTime m_modifiedAt;
189 bool m_modifiedAtHasBeenSet = false;
190
192 bool m_valuesHasBeenSet = false;
193
194 Aws::Vector<ThemeValues> m_overrides;
195 bool m_overridesHasBeenSet = false;
196
198 bool m_tagsHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace AmplifyUIBuilder
203} // namespace Aws
Theme & WithModifiedAt(Aws::Utils::DateTime &&value)
Definition Theme.h:122
Theme & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Theme.h:161
Theme & AddTags(const char *key, const char *value)
Definition Theme.h:169
void SetName(const Aws::String &value)
Definition Theme.h:93
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Theme.h:157
Theme & WithAppId(const char *value)
Definition Theme.h:56
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Theme.h:107
Theme & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Theme.h:110
Theme & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Theme.h:162
Theme & WithModifiedAt(const Aws::Utils::DateTime &value)
Definition Theme.h:121
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Theme.h:105
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Theme.h:108
void SetName(const char *value)
Definition Theme.h:95
AWS_AMPLIFYUIBUILDER_API Theme & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EnvironmentNameHasBeenSet() const
Definition Theme.h:64
const Aws::Utils::DateTime & GetModifiedAt() const
Definition Theme.h:117
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Theme.h:160
void SetEnvironmentName(const char *value)
Definition Theme.h:67
void SetId(Aws::String &&value)
Definition Theme.h:80
void SetEnvironmentName(Aws::String &&value)
Definition Theme.h:66
Theme & AddOverrides(const ThemeValues &value)
Definition Theme.h:149
Theme & WithAppId(const Aws::String &value)
Definition Theme.h:54
Theme & WithName(const Aws::String &value)
Definition Theme.h:96
Theme & AddValues(ThemeValues &&value)
Definition Theme.h:136
Theme & AddTags(Aws::String &&key, Aws::String &&value)
Definition Theme.h:166
AWS_AMPLIFYUIBUILDER_API Theme()
void SetValues(Aws::Vector< ThemeValues > &&value)
Definition Theme.h:132
void SetValues(const Aws::Vector< ThemeValues > &value)
Definition Theme.h:131
const Aws::Vector< ThemeValues > & GetValues() const
Definition Theme.h:129
Theme & WithId(const Aws::String &value)
Definition Theme.h:82
Theme & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Theme.h:109
Theme & WithValues(const Aws::Vector< ThemeValues > &value)
Definition Theme.h:133
Theme & AddValues(const ThemeValues &value)
Definition Theme.h:135
void SetOverrides(const Aws::Vector< ThemeValues > &value)
Definition Theme.h:145
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Theme.h:159
Theme & WithValues(Aws::Vector< ThemeValues > &&value)
Definition Theme.h:134
Theme & WithName(const char *value)
Definition Theme.h:98
Theme & WithAppId(Aws::String &&value)
Definition Theme.h:55
void SetModifiedAt(const Aws::Utils::DateTime &value)
Definition Theme.h:119
const Aws::Vector< ThemeValues > & GetOverrides() const
Definition Theme.h:143
Theme & AddTags(Aws::String &&key, const Aws::String &value)
Definition Theme.h:164
Theme & AddTags(Aws::String &&key, const char *value)
Definition Theme.h:168
const Aws::String & GetAppId() const
Definition Theme.h:49
void SetOverrides(Aws::Vector< ThemeValues > &&value)
Definition Theme.h:146
void SetAppId(Aws::String &&value)
Definition Theme.h:52
Theme & WithId(Aws::String &&value)
Definition Theme.h:83
const Aws::String & GetEnvironmentName() const
Definition Theme.h:63
Theme & AddTags(const char *key, Aws::String &&value)
Definition Theme.h:167
const Aws::String & GetName() const
Definition Theme.h:91
Theme & AddTags(const Aws::String &key, const Aws::String &value)
Definition Theme.h:163
Theme & WithEnvironmentName(Aws::String &&value)
Definition Theme.h:69
Theme & WithEnvironmentName(const Aws::String &value)
Definition Theme.h:68
AWS_AMPLIFYUIBUILDER_API Theme(Aws::Utils::Json::JsonView jsonValue)
Theme & WithName(Aws::String &&value)
Definition Theme.h:97
void SetId(const Aws::String &value)
Definition Theme.h:79
Theme & WithEnvironmentName(const char *value)
Definition Theme.h:70
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
Definition Theme.h:94
Theme & WithOverrides(const Aws::Vector< ThemeValues > &value)
Definition Theme.h:147
Theme & WithOverrides(Aws::Vector< ThemeValues > &&value)
Definition Theme.h:148
Theme & WithId(const char *value)
Definition Theme.h:84
void SetId(const char *value)
Definition Theme.h:81
void SetAppId(const Aws::String &value)
Definition Theme.h:51
void SetModifiedAt(Aws::Utils::DateTime &&value)
Definition Theme.h:120
const Aws::String & GetId() const
Definition Theme.h:77
Theme & AddOverrides(ThemeValues &&value)
Definition Theme.h:150
Theme & AddTags(const Aws::String &key, Aws::String &&value)
Definition Theme.h:165
void SetEnvironmentName(const Aws::String &value)
Definition Theme.h:65
void SetAppId(const char *value)
Definition Theme.h:53
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