AWS SDK for C++  1.9.154
AWS SDK for C++
ThemeVersion.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace QuickSight
27 {
28 namespace Model
29 {
30 
37  {
38  public:
43 
44 
48  inline long long GetVersionNumber() const{ return m_versionNumber; }
49 
53  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
54 
58  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
59 
63  inline ThemeVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
64 
65 
69  inline const Aws::String& GetArn() const{ return m_arn; }
70 
74  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
75 
79  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
80 
84  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
85 
89  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
90 
94  inline ThemeVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
95 
99  inline ThemeVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
100 
104  inline ThemeVersion& WithArn(const char* value) { SetArn(value); return *this;}
105 
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 
120  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
121 
125  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
126 
130  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
131 
135  inline ThemeVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
136 
140  inline ThemeVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
141 
145  inline ThemeVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
146 
147 
152  inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
153 
158  inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
159 
164  inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
165 
170  inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
171 
176  inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
177 
182  inline ThemeVersion& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
183 
188  inline ThemeVersion& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
189 
194  inline ThemeVersion& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
195 
196 
200  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
201 
205  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
206 
210  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
211 
215  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
216 
220  inline ThemeVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
221 
225  inline ThemeVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
226 
227 
231  inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
232 
236  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
237 
241  inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
242 
246  inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
247 
251  inline ThemeVersion& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
252 
256  inline ThemeVersion& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
257 
258 
262  inline const Aws::Vector<ThemeError>& GetErrors() const{ return m_errors; }
263 
267  inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
268 
272  inline void SetErrors(const Aws::Vector<ThemeError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
273 
277  inline void SetErrors(Aws::Vector<ThemeError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
278 
282  inline ThemeVersion& WithErrors(const Aws::Vector<ThemeError>& value) { SetErrors(value); return *this;}
283 
287  inline ThemeVersion& WithErrors(Aws::Vector<ThemeError>&& value) { SetErrors(std::move(value)); return *this;}
288 
292  inline ThemeVersion& AddErrors(const ThemeError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
293 
297  inline ThemeVersion& AddErrors(ThemeError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
298 
299 
303  inline const ResourceStatus& GetStatus() const{ return m_status; }
304 
308  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
309 
313  inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
314 
318  inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
319 
323  inline ThemeVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
324 
328  inline ThemeVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
329 
330  private:
331 
332  long long m_versionNumber;
333  bool m_versionNumberHasBeenSet;
334 
335  Aws::String m_arn;
336  bool m_arnHasBeenSet;
337 
338  Aws::String m_description;
339  bool m_descriptionHasBeenSet;
340 
341  Aws::String m_baseThemeId;
342  bool m_baseThemeIdHasBeenSet;
343 
344  Aws::Utils::DateTime m_createdTime;
345  bool m_createdTimeHasBeenSet;
346 
347  ThemeConfiguration m_configuration;
348  bool m_configurationHasBeenSet;
349 
350  Aws::Vector<ThemeError> m_errors;
351  bool m_errorsHasBeenSet;
352 
353  ResourceStatus m_status;
354  bool m_statusHasBeenSet;
355  };
356 
357 } // namespace Model
358 } // namespace QuickSight
359 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::ThemeVersion::SetDescription
void SetDescription(const Aws::String &value)
Definition: ThemeVersion.h:120
ResourceStatus.h
Aws::QuickSight::Model::ThemeVersion::WithDescription
ThemeVersion & WithDescription(const Aws::String &value)
Definition: ThemeVersion.h:135
Aws::QuickSight::Model::ThemeVersion::WithArn
ThemeVersion & WithArn(const Aws::String &value)
Definition: ThemeVersion.h:94
Aws::QuickSight::Model::ThemeVersion::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: ThemeVersion.h:205
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ThemeVersion::SetVersionNumber
void SetVersionNumber(long long value)
Definition: ThemeVersion.h:58
Aws::QuickSight::Model::ThemeVersion::GetConfiguration
const ThemeConfiguration & GetConfiguration() const
Definition: ThemeVersion.h:231
Aws::QuickSight::Model::ThemeVersion::WithArn
ThemeVersion & WithArn(Aws::String &&value)
Definition: ThemeVersion.h:99
Aws::QuickSight::Model::ThemeVersion::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: ThemeVersion.h:53
Aws::QuickSight::Model::ThemeVersion::WithConfiguration
ThemeVersion & WithConfiguration(const ThemeConfiguration &value)
Definition: ThemeVersion.h:251
Aws::QuickSight::Model::ThemeError
Definition: ThemeError.h:33
Aws::QuickSight::Model::ThemeVersion::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: ThemeVersion.h:215
Aws::QuickSight::Model::ThemeVersion::GetBaseThemeId
const Aws::String & GetBaseThemeId() const
Definition: ThemeVersion.h:152
Aws::QuickSight::Model::ThemeVersion::AddErrors
ThemeVersion & AddErrors(const ThemeError &value)
Definition: ThemeVersion.h:292
Aws::QuickSight::Model::ThemeVersion::SetDescription
void SetDescription(const char *value)
Definition: ThemeVersion.h:130
DateTime.h
Aws::QuickSight::Model::ThemeVersion::WithBaseThemeId
ThemeVersion & WithBaseThemeId(const Aws::String &value)
Definition: ThemeVersion.h:182
Aws::QuickSight::Model::ThemeVersion::GetDescription
const Aws::String & GetDescription() const
Definition: ThemeVersion.h:110
Aws::QuickSight::Model::ThemeVersion::WithCreatedTime
ThemeVersion & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: ThemeVersion.h:220
Aws::QuickSight::Model::ThemeVersion::SetDescription
void SetDescription(Aws::String &&value)
Definition: ThemeVersion.h:125
Aws::QuickSight::Model::ThemeVersion::WithDescription
ThemeVersion & WithDescription(const char *value)
Definition: ThemeVersion.h:145
Aws::QuickSight::Model::ThemeVersion::SetArn
void SetArn(Aws::String &&value)
Definition: ThemeVersion.h:84
Aws::QuickSight::Model::ThemeVersion::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: ThemeVersion.h:200
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ThemeVersion::AddErrors
ThemeVersion & AddErrors(ThemeError &&value)
Definition: ThemeVersion.h:297
Aws::QuickSight::Model::ThemeVersion::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ThemeVersion.h:115
Aws::QuickSight::Model::ThemeVersion::GetStatus
const ResourceStatus & GetStatus() const
Definition: ThemeVersion.h:303
AWSVector.h
Aws::QuickSight::Model::ThemeVersion::SetStatus
void SetStatus(const ResourceStatus &value)
Definition: ThemeVersion.h:313
Aws::QuickSight::Model::ThemeVersion::WithArn
ThemeVersion & WithArn(const char *value)
Definition: ThemeVersion.h:104
Aws::QuickSight::Model::ThemeVersion::ThemeVersion
ThemeVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ThemeVersion::WithBaseThemeId
ThemeVersion & WithBaseThemeId(const char *value)
Definition: ThemeVersion.h:194
Aws::QuickSight::Model::ThemeVersion::SetBaseThemeId
void SetBaseThemeId(const Aws::String &value)
Definition: ThemeVersion.h:164
Aws::QuickSight::Model::ThemeVersion::SetConfiguration
void SetConfiguration(const ThemeConfiguration &value)
Definition: ThemeVersion.h:241
Aws::QuickSight::Model::ThemeVersion::WithVersionNumber
ThemeVersion & WithVersionNumber(long long value)
Definition: ThemeVersion.h:63
Aws::QuickSight::Model::ThemeVersion::GetArn
const Aws::String & GetArn() const
Definition: ThemeVersion.h:69
Aws::QuickSight::Model::ThemeVersion::WithBaseThemeId
ThemeVersion & WithBaseThemeId(Aws::String &&value)
Definition: ThemeVersion.h:188
Aws::QuickSight::Model::ThemeVersion::WithConfiguration
ThemeVersion & WithConfiguration(ThemeConfiguration &&value)
Definition: ThemeVersion.h:256
Aws::QuickSight::Model::ThemeVersion::GetVersionNumber
long long GetVersionNumber() const
Definition: ThemeVersion.h:48
Aws::QuickSight::Model::ThemeVersion::SetArn
void SetArn(const char *value)
Definition: ThemeVersion.h:89
Aws::QuickSight::Model::ThemeConfiguration
Definition: ThemeConfiguration.h:35
ThemeConfiguration.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::ThemeVersion::WithStatus
ThemeVersion & WithStatus(const ResourceStatus &value)
Definition: ThemeVersion.h:323
Aws::QuickSight::Model::ThemeVersion::WithDescription
ThemeVersion & WithDescription(Aws::String &&value)
Definition: ThemeVersion.h:140
Aws::QuickSight::Model::ThemeVersion::operator=
ThemeVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ThemeVersion::SetConfiguration
void SetConfiguration(ThemeConfiguration &&value)
Definition: ThemeVersion.h:246
Aws::QuickSight::Model::ThemeVersion::SetBaseThemeId
void SetBaseThemeId(const char *value)
Definition: ThemeVersion.h:176
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::ThemeVersion::WithErrors
ThemeVersion & WithErrors(const Aws::Vector< ThemeError > &value)
Definition: ThemeVersion.h:282
Aws::QuickSight::Model::ThemeVersion::SetArn
void SetArn(const Aws::String &value)
Definition: ThemeVersion.h:79
Aws::QuickSight::Model::ThemeVersion::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ThemeVersion.h:308
Aws::QuickSight::Model::ThemeVersion::SetStatus
void SetStatus(ResourceStatus &&value)
Definition: ThemeVersion.h:318
Aws::QuickSight::Model::ThemeVersion::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: ThemeVersion.h:236
Aws::QuickSight::Model::ThemeVersion::ThemeVersion
ThemeVersion()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ThemeVersion
Definition: ThemeVersion.h:37
Aws::QuickSight::Model::ThemeVersion::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ThemeVersion.h:74
Aws::QuickSight::Model::ThemeVersion::WithErrors
ThemeVersion & WithErrors(Aws::Vector< ThemeError > &&value)
Definition: ThemeVersion.h:287
Aws::QuickSight::Model::ThemeVersion::WithCreatedTime
ThemeVersion & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: ThemeVersion.h:225
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ThemeVersion::BaseThemeIdHasBeenSet
bool BaseThemeIdHasBeenSet() const
Definition: ThemeVersion.h:158
Aws::QuickSight::Model::ThemeVersion::SetErrors
void SetErrors(Aws::Vector< ThemeError > &&value)
Definition: ThemeVersion.h:277
Aws::QuickSight::Model::ThemeVersion::SetErrors
void SetErrors(const Aws::Vector< ThemeError > &value)
Definition: ThemeVersion.h:272
Aws::QuickSight::Model::ThemeVersion::GetErrors
const Aws::Vector< ThemeError > & GetErrors() const
Definition: ThemeVersion.h:262
Aws::QuickSight::Model::ThemeVersion::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: ThemeVersion.h:210
ThemeError.h
Aws::QuickSight::Model::ThemeVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::ThemeVersion::SetBaseThemeId
void SetBaseThemeId(Aws::String &&value)
Definition: ThemeVersion.h:170
Aws::QuickSight::Model::ThemeVersion::WithStatus
ThemeVersion & WithStatus(ResourceStatus &&value)
Definition: ThemeVersion.h:328
Aws::QuickSight::Model::ThemeVersion::ErrorsHasBeenSet
bool ErrorsHasBeenSet() const
Definition: ThemeVersion.h:267