AWS SDK for C++  1.9.154
AWS SDK for C++
TemplateVersion.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace QuickSight
28 {
29 namespace Model
30 {
31 
38  {
39  public:
44 
45 
49  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
50 
54  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
55 
59  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
60 
64  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
65 
69  inline TemplateVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
70 
74  inline TemplateVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
75 
76 
80  inline const Aws::Vector<TemplateError>& GetErrors() const{ return m_errors; }
81 
85  inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
86 
90  inline void SetErrors(const Aws::Vector<TemplateError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
91 
95  inline void SetErrors(Aws::Vector<TemplateError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
96 
100  inline TemplateVersion& WithErrors(const Aws::Vector<TemplateError>& value) { SetErrors(value); return *this;}
101 
105  inline TemplateVersion& WithErrors(Aws::Vector<TemplateError>&& value) { SetErrors(std::move(value)); return *this;}
106 
110  inline TemplateVersion& AddErrors(const TemplateError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
111 
115  inline TemplateVersion& AddErrors(TemplateError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
116 
117 
121  inline long long GetVersionNumber() const{ return m_versionNumber; }
122 
126  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
127 
131  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
132 
136  inline TemplateVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
137 
138 
142  inline const ResourceStatus& GetStatus() const{ return m_status; }
143 
147  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
148 
152  inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
153 
157  inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
158 
162  inline TemplateVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
163 
167  inline TemplateVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
168 
169 
175  inline const Aws::Vector<DataSetConfiguration>& GetDataSetConfigurations() const{ return m_dataSetConfigurations; }
176 
182  inline bool DataSetConfigurationsHasBeenSet() const { return m_dataSetConfigurationsHasBeenSet; }
183 
189  inline void SetDataSetConfigurations(const Aws::Vector<DataSetConfiguration>& value) { m_dataSetConfigurationsHasBeenSet = true; m_dataSetConfigurations = value; }
190 
196  inline void SetDataSetConfigurations(Aws::Vector<DataSetConfiguration>&& value) { m_dataSetConfigurationsHasBeenSet = true; m_dataSetConfigurations = std::move(value); }
197 
203  inline TemplateVersion& WithDataSetConfigurations(const Aws::Vector<DataSetConfiguration>& value) { SetDataSetConfigurations(value); return *this;}
204 
210  inline TemplateVersion& WithDataSetConfigurations(Aws::Vector<DataSetConfiguration>&& value) { SetDataSetConfigurations(std::move(value)); return *this;}
211 
217  inline TemplateVersion& AddDataSetConfigurations(const DataSetConfiguration& value) { m_dataSetConfigurationsHasBeenSet = true; m_dataSetConfigurations.push_back(value); return *this; }
218 
224  inline TemplateVersion& AddDataSetConfigurations(DataSetConfiguration&& value) { m_dataSetConfigurationsHasBeenSet = true; m_dataSetConfigurations.push_back(std::move(value)); return *this; }
225 
226 
230  inline const Aws::String& GetDescription() const{ return m_description; }
231 
235  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
236 
240  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
241 
245  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
246 
250  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
251 
255  inline TemplateVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
256 
260  inline TemplateVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
261 
265  inline TemplateVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
266 
267 
272  inline const Aws::String& GetSourceEntityArn() const{ return m_sourceEntityArn; }
273 
278  inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; }
279 
284  inline void SetSourceEntityArn(const Aws::String& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = value; }
285 
290  inline void SetSourceEntityArn(Aws::String&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::move(value); }
291 
296  inline void SetSourceEntityArn(const char* value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn.assign(value); }
297 
302  inline TemplateVersion& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;}
303 
308  inline TemplateVersion& WithSourceEntityArn(Aws::String&& value) { SetSourceEntityArn(std::move(value)); return *this;}
309 
314  inline TemplateVersion& WithSourceEntityArn(const char* value) { SetSourceEntityArn(value); return *this;}
315 
316 
320  inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
321 
325  inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
326 
330  inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
331 
335  inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
336 
340  inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
341 
345  inline TemplateVersion& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
346 
350  inline TemplateVersion& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
351 
355  inline TemplateVersion& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
356 
357 
362  inline const Aws::Vector<Sheet>& GetSheets() const{ return m_sheets; }
363 
368  inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; }
369 
374  inline void SetSheets(const Aws::Vector<Sheet>& value) { m_sheetsHasBeenSet = true; m_sheets = value; }
375 
380  inline void SetSheets(Aws::Vector<Sheet>&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); }
381 
386  inline TemplateVersion& WithSheets(const Aws::Vector<Sheet>& value) { SetSheets(value); return *this;}
387 
392  inline TemplateVersion& WithSheets(Aws::Vector<Sheet>&& value) { SetSheets(std::move(value)); return *this;}
393 
398  inline TemplateVersion& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; }
399 
404  inline TemplateVersion& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; }
405 
406  private:
407 
408  Aws::Utils::DateTime m_createdTime;
409  bool m_createdTimeHasBeenSet;
410 
412  bool m_errorsHasBeenSet;
413 
414  long long m_versionNumber;
415  bool m_versionNumberHasBeenSet;
416 
417  ResourceStatus m_status;
418  bool m_statusHasBeenSet;
419 
420  Aws::Vector<DataSetConfiguration> m_dataSetConfigurations;
421  bool m_dataSetConfigurationsHasBeenSet;
422 
423  Aws::String m_description;
424  bool m_descriptionHasBeenSet;
425 
426  Aws::String m_sourceEntityArn;
427  bool m_sourceEntityArnHasBeenSet;
428 
429  Aws::String m_themeArn;
430  bool m_themeArnHasBeenSet;
431 
432  Aws::Vector<Sheet> m_sheets;
433  bool m_sheetsHasBeenSet;
434  };
435 
436 } // namespace Model
437 } // namespace QuickSight
438 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
ResourceStatus.h
Aws::QuickSight::Model::TemplateVersion::GetSourceEntityArn
const Aws::String & GetSourceEntityArn() const
Definition: TemplateVersion.h:272
Aws::QuickSight::Model::TemplateVersion
Definition: TemplateVersion.h:38
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TemplateVersion::SetSourceEntityArn
void SetSourceEntityArn(const Aws::String &value)
Definition: TemplateVersion.h:284
Aws::QuickSight::Model::TemplateVersion::SetDataSetConfigurations
void SetDataSetConfigurations(Aws::Vector< DataSetConfiguration > &&value)
Definition: TemplateVersion.h:196
Aws::QuickSight::Model::TemplateVersion::WithThemeArn
TemplateVersion & WithThemeArn(Aws::String &&value)
Definition: TemplateVersion.h:350
Aws::QuickSight::Model::TemplateVersion::WithErrors
TemplateVersion & WithErrors(const Aws::Vector< TemplateError > &value)
Definition: TemplateVersion.h:100
Aws::QuickSight::Model::TemplateVersion::TemplateVersion
TemplateVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateVersion::WithStatus
TemplateVersion & WithStatus(const ResourceStatus &value)
Definition: TemplateVersion.h:162
Aws::QuickSight::Model::TemplateVersion::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: TemplateVersion.h:330
Aws::QuickSight::Model::TemplateVersion::AddSheets
TemplateVersion & AddSheets(Sheet &&value)
Definition: TemplateVersion.h:404
Aws::QuickSight::Model::TemplateVersion::WithErrors
TemplateVersion & WithErrors(Aws::Vector< TemplateError > &&value)
Definition: TemplateVersion.h:105
DateTime.h
Aws::QuickSight::Model::TemplateVersion::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TemplateVersion.h:147
Aws::QuickSight::Model::TemplateVersion::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateVersion.h:59
Aws::QuickSight::Model::TemplateVersion::AddErrors
TemplateVersion & AddErrors(const TemplateError &value)
Definition: TemplateVersion.h:110
Aws::QuickSight::Model::TemplateVersion::WithVersionNumber
TemplateVersion & WithVersionNumber(long long value)
Definition: TemplateVersion.h:136
Aws::QuickSight::Model::TemplateVersion::GetErrors
const Aws::Vector< TemplateError > & GetErrors() const
Definition: TemplateVersion.h:80
Aws::QuickSight::Model::TemplateVersion::GetSheets
const Aws::Vector< Sheet > & GetSheets() const
Definition: TemplateVersion.h:362
Aws::QuickSight::Model::TemplateError
Definition: TemplateError.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::TemplateVersion::SetSheets
void SetSheets(const Aws::Vector< Sheet > &value)
Definition: TemplateVersion.h:374
Aws::QuickSight::Model::TemplateVersion::GetDescription
const Aws::String & GetDescription() const
Definition: TemplateVersion.h:230
TemplateError.h
Aws::QuickSight::Model::TemplateVersion::ErrorsHasBeenSet
bool ErrorsHasBeenSet() const
Definition: TemplateVersion.h:85
AWSVector.h
Aws::QuickSight::Model::TemplateVersion::TemplateVersion
TemplateVersion()
Aws::QuickSight::Model::TemplateVersion::AddSheets
TemplateVersion & AddSheets(const Sheet &value)
Definition: TemplateVersion.h:398
Aws::QuickSight::Model::TemplateVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::TemplateVersion::SetSheets
void SetSheets(Aws::Vector< Sheet > &&value)
Definition: TemplateVersion.h:380
Aws::QuickSight::Model::TemplateVersion::SetStatus
void SetStatus(const ResourceStatus &value)
Definition: TemplateVersion.h:152
Aws::QuickSight::Model::TemplateVersion::SetThemeArn
void SetThemeArn(const char *value)
Definition: TemplateVersion.h:340
Aws::QuickSight::Model::TemplateVersion::GetStatus
const ResourceStatus & GetStatus() const
Definition: TemplateVersion.h:142
Aws::QuickSight::Model::TemplateVersion::WithStatus
TemplateVersion & WithStatus(ResourceStatus &&value)
Definition: TemplateVersion.h:167
DataSetConfiguration.h
Aws::QuickSight::Model::TemplateVersion::ThemeArnHasBeenSet
bool ThemeArnHasBeenSet() const
Definition: TemplateVersion.h:325
Aws::QuickSight::Model::TemplateVersion::WithDataSetConfigurations
TemplateVersion & WithDataSetConfigurations(Aws::Vector< DataSetConfiguration > &&value)
Definition: TemplateVersion.h:210
Aws::QuickSight::Model::TemplateVersion::DataSetConfigurationsHasBeenSet
bool DataSetConfigurationsHasBeenSet() const
Definition: TemplateVersion.h:182
Aws::QuickSight::Model::TemplateVersion::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: TemplateVersion.h:54
Aws::QuickSight::Model::TemplateVersion::WithCreatedTime
TemplateVersion & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateVersion.h:69
Aws::QuickSight::Model::TemplateVersion::WithSourceEntityArn
TemplateVersion & WithSourceEntityArn(const char *value)
Definition: TemplateVersion.h:314
Aws::QuickSight::Model::TemplateVersion::WithSheets
TemplateVersion & WithSheets(const Aws::Vector< Sheet > &value)
Definition: TemplateVersion.h:386
Aws::QuickSight::Model::TemplateVersion::SheetsHasBeenSet
bool SheetsHasBeenSet() const
Definition: TemplateVersion.h:368
Aws::QuickSight::Model::TemplateVersion::GetVersionNumber
long long GetVersionNumber() const
Definition: TemplateVersion.h:121
Aws::QuickSight::Model::TemplateVersion::WithCreatedTime
TemplateVersion & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateVersion.h:74
Aws::QuickSight::Model::TemplateVersion::WithSheets
TemplateVersion & WithSheets(Aws::Vector< Sheet > &&value)
Definition: TemplateVersion.h:392
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::TemplateVersion::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: TemplateVersion.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::TemplateVersion::WithThemeArn
TemplateVersion & WithThemeArn(const Aws::String &value)
Definition: TemplateVersion.h:345
Aws::QuickSight::Model::TemplateVersion::SetSourceEntityArn
void SetSourceEntityArn(Aws::String &&value)
Definition: TemplateVersion.h:290
Aws::QuickSight::Model::TemplateVersion::WithSourceEntityArn
TemplateVersion & WithSourceEntityArn(Aws::String &&value)
Definition: TemplateVersion.h:308
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::DataSetConfiguration
Definition: DataSetConfiguration.h:35
Aws::QuickSight::Model::TemplateVersion::WithDataSetConfigurations
TemplateVersion & WithDataSetConfigurations(const Aws::Vector< DataSetConfiguration > &value)
Definition: TemplateVersion.h:203
Aws::QuickSight::Model::TemplateVersion::WithDescription
TemplateVersion & WithDescription(Aws::String &&value)
Definition: TemplateVersion.h:260
Aws::QuickSight::Model::TemplateVersion::AddDataSetConfigurations
TemplateVersion & AddDataSetConfigurations(const DataSetConfiguration &value)
Definition: TemplateVersion.h:217
Aws::QuickSight::Model::TemplateVersion::SetSourceEntityArn
void SetSourceEntityArn(const char *value)
Definition: TemplateVersion.h:296
Aws::QuickSight::Model::TemplateVersion::SetVersionNumber
void SetVersionNumber(long long value)
Definition: TemplateVersion.h:131
Aws::QuickSight::Model::TemplateVersion::AddErrors
TemplateVersion & AddErrors(TemplateError &&value)
Definition: TemplateVersion.h:115
Aws::QuickSight::Model::TemplateVersion::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: TemplateVersion.h:126
Aws::QuickSight::Model::TemplateVersion::operator=
TemplateVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateVersion::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: TemplateVersion.h:320
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::TemplateVersion::WithSourceEntityArn
TemplateVersion & WithSourceEntityArn(const Aws::String &value)
Definition: TemplateVersion.h:302
Aws::QuickSight::Model::TemplateVersion::WithDescription
TemplateVersion & WithDescription(const char *value)
Definition: TemplateVersion.h:265
Aws::QuickSight::Model::TemplateVersion::SetDescription
void SetDescription(const Aws::String &value)
Definition: TemplateVersion.h:240
Aws::QuickSight::Model::TemplateVersion::WithThemeArn
TemplateVersion & WithThemeArn(const char *value)
Definition: TemplateVersion.h:355
Aws::QuickSight::Model::TemplateVersion::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: TemplateVersion.h:49
Aws::QuickSight::Model::TemplateVersion::AddDataSetConfigurations
TemplateVersion & AddDataSetConfigurations(DataSetConfiguration &&value)
Definition: TemplateVersion.h:224
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TemplateVersion::SetErrors
void SetErrors(const Aws::Vector< TemplateError > &value)
Definition: TemplateVersion.h:90
Aws::QuickSight::Model::TemplateVersion::GetDataSetConfigurations
const Aws::Vector< DataSetConfiguration > & GetDataSetConfigurations() const
Definition: TemplateVersion.h:175
Aws::QuickSight::Model::TemplateVersion::SetDataSetConfigurations
void SetDataSetConfigurations(const Aws::Vector< DataSetConfiguration > &value)
Definition: TemplateVersion.h:189
Aws::QuickSight::Model::TemplateVersion::SetStatus
void SetStatus(ResourceStatus &&value)
Definition: TemplateVersion.h:157
Aws::QuickSight::Model::TemplateVersion::SourceEntityArnHasBeenSet
bool SourceEntityArnHasBeenSet() const
Definition: TemplateVersion.h:278
Sheet.h
Aws::QuickSight::Model::TemplateVersion::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: TemplateVersion.h:335
Aws::QuickSight::Model::TemplateVersion::SetErrors
void SetErrors(Aws::Vector< TemplateError > &&value)
Definition: TemplateVersion.h:95
Aws::QuickSight::Model::TemplateVersion::SetDescription
void SetDescription(const char *value)
Definition: TemplateVersion.h:250
Aws::QuickSight::Model::TemplateVersion::SetDescription
void SetDescription(Aws::String &&value)
Definition: TemplateVersion.h:245
Aws::QuickSight::Model::TemplateVersion::WithDescription
TemplateVersion & WithDescription(const Aws::String &value)
Definition: TemplateVersion.h:255
Aws::QuickSight::Model::Sheet
Definition: Sheet.h:37
Aws::QuickSight::Model::TemplateVersion::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateVersion.h:64