AWS SDK for C++  1.9.132
AWS SDK for C++
DashboardVersion.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 const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
49 
53  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
54 
58  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
59 
63  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
64 
68  inline DashboardVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
69 
73  inline DashboardVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
74 
75 
79  inline const Aws::Vector<DashboardError>& GetErrors() const{ return m_errors; }
80 
84  inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
85 
89  inline void SetErrors(const Aws::Vector<DashboardError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
90 
94  inline void SetErrors(Aws::Vector<DashboardError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
95 
99  inline DashboardVersion& WithErrors(const Aws::Vector<DashboardError>& value) { SetErrors(value); return *this;}
100 
104  inline DashboardVersion& WithErrors(Aws::Vector<DashboardError>&& value) { SetErrors(std::move(value)); return *this;}
105 
109  inline DashboardVersion& AddErrors(const DashboardError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
110 
114  inline DashboardVersion& AddErrors(DashboardError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
115 
116 
120  inline long long GetVersionNumber() const{ return m_versionNumber; }
121 
125  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
126 
130  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
131 
135  inline DashboardVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
136 
137 
141  inline const ResourceStatus& GetStatus() const{ return m_status; }
142 
146  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
147 
151  inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
152 
156  inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
157 
161  inline DashboardVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
162 
166  inline DashboardVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
167 
168 
172  inline const Aws::String& GetArn() const{ return m_arn; }
173 
177  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
178 
182  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
183 
187  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
188 
192  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
193 
197  inline DashboardVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
198 
202  inline DashboardVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
203 
207  inline DashboardVersion& WithArn(const char* value) { SetArn(value); return *this;}
208 
209 
213  inline const Aws::String& GetSourceEntityArn() const{ return m_sourceEntityArn; }
214 
218  inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; }
219 
223  inline void SetSourceEntityArn(const Aws::String& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = value; }
224 
228  inline void SetSourceEntityArn(Aws::String&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::move(value); }
229 
233  inline void SetSourceEntityArn(const char* value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn.assign(value); }
234 
238  inline DashboardVersion& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;}
239 
243  inline DashboardVersion& WithSourceEntityArn(Aws::String&& value) { SetSourceEntityArn(std::move(value)); return *this;}
244 
248  inline DashboardVersion& WithSourceEntityArn(const char* value) { SetSourceEntityArn(value); return *this;}
249 
250 
255  inline const Aws::Vector<Aws::String>& GetDataSetArns() const{ return m_dataSetArns; }
256 
261  inline bool DataSetArnsHasBeenSet() const { return m_dataSetArnsHasBeenSet; }
262 
267  inline void SetDataSetArns(const Aws::Vector<Aws::String>& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = value; }
268 
273  inline void SetDataSetArns(Aws::Vector<Aws::String>&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = std::move(value); }
274 
279  inline DashboardVersion& WithDataSetArns(const Aws::Vector<Aws::String>& value) { SetDataSetArns(value); return *this;}
280 
285  inline DashboardVersion& WithDataSetArns(Aws::Vector<Aws::String>&& value) { SetDataSetArns(std::move(value)); return *this;}
286 
291  inline DashboardVersion& AddDataSetArns(const Aws::String& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
292 
297  inline DashboardVersion& AddDataSetArns(Aws::String&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(std::move(value)); return *this; }
298 
303  inline DashboardVersion& AddDataSetArns(const char* value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
304 
305 
309  inline const Aws::String& GetDescription() const{ return m_description; }
310 
314  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
315 
319  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
320 
324  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
325 
329  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
330 
334  inline DashboardVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
335 
339  inline DashboardVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
340 
344  inline DashboardVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
345 
346 
350  inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
351 
355  inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
356 
360  inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
361 
365  inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
366 
370  inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
371 
375  inline DashboardVersion& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
376 
380  inline DashboardVersion& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
381 
385  inline DashboardVersion& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
386 
387 
392  inline const Aws::Vector<Sheet>& GetSheets() const{ return m_sheets; }
393 
398  inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; }
399 
404  inline void SetSheets(const Aws::Vector<Sheet>& value) { m_sheetsHasBeenSet = true; m_sheets = value; }
405 
410  inline void SetSheets(Aws::Vector<Sheet>&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); }
411 
416  inline DashboardVersion& WithSheets(const Aws::Vector<Sheet>& value) { SetSheets(value); return *this;}
417 
422  inline DashboardVersion& WithSheets(Aws::Vector<Sheet>&& value) { SetSheets(std::move(value)); return *this;}
423 
428  inline DashboardVersion& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; }
429 
434  inline DashboardVersion& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; }
435 
436  private:
437 
438  Aws::Utils::DateTime m_createdTime;
439  bool m_createdTimeHasBeenSet;
440 
442  bool m_errorsHasBeenSet;
443 
444  long long m_versionNumber;
445  bool m_versionNumberHasBeenSet;
446 
447  ResourceStatus m_status;
448  bool m_statusHasBeenSet;
449 
450  Aws::String m_arn;
451  bool m_arnHasBeenSet;
452 
453  Aws::String m_sourceEntityArn;
454  bool m_sourceEntityArnHasBeenSet;
455 
456  Aws::Vector<Aws::String> m_dataSetArns;
457  bool m_dataSetArnsHasBeenSet;
458 
459  Aws::String m_description;
460  bool m_descriptionHasBeenSet;
461 
462  Aws::String m_themeArn;
463  bool m_themeArnHasBeenSet;
464 
465  Aws::Vector<Sheet> m_sheets;
466  bool m_sheetsHasBeenSet;
467  };
468 
469 } // namespace Model
470 } // namespace QuickSight
471 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::DashboardVersion::AddDataSetArns
DashboardVersion & AddDataSetArns(const Aws::String &value)
Definition: DashboardVersion.h:291
ResourceStatus.h
Aws::QuickSight::Model::DashboardVersion::GetArn
const Aws::String & GetArn() const
Definition: DashboardVersion.h:172
Aws::QuickSight::Model::DashboardVersion::WithCreatedTime
DashboardVersion & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: DashboardVersion.h:68
Aws::QuickSight::Model::DashboardVersion::AddDataSetArns
DashboardVersion & AddDataSetArns(Aws::String &&value)
Definition: DashboardVersion.h:297
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DashboardVersion::DashboardVersion
DashboardVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DashboardVersion::WithVersionNumber
DashboardVersion & WithVersionNumber(long long value)
Definition: DashboardVersion.h:135
Aws::QuickSight::Model::DashboardVersion::SheetsHasBeenSet
bool SheetsHasBeenSet() const
Definition: DashboardVersion.h:398
Aws::QuickSight::Model::DashboardVersion::WithSourceEntityArn
DashboardVersion & WithSourceEntityArn(const Aws::String &value)
Definition: DashboardVersion.h:238
Aws::QuickSight::Model::DashboardVersion::WithArn
DashboardVersion & WithArn(const Aws::String &value)
Definition: DashboardVersion.h:197
Aws::QuickSight::Model::DashboardVersion::GetStatus
const ResourceStatus & GetStatus() const
Definition: DashboardVersion.h:141
Aws::QuickSight::Model::DashboardVersion::WithArn
DashboardVersion & WithArn(const char *value)
Definition: DashboardVersion.h:207
Aws::QuickSight::Model::DashboardVersion::operator=
DashboardVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::DashboardVersion::WithErrors
DashboardVersion & WithErrors(Aws::Vector< DashboardError > &&value)
Definition: DashboardVersion.h:104
Aws::QuickSight::Model::DashboardVersion::WithDescription
DashboardVersion & WithDescription(const char *value)
Definition: DashboardVersion.h:344
Aws::QuickSight::Model::DashboardVersion::SetArn
void SetArn(const char *value)
Definition: DashboardVersion.h:192
DateTime.h
Aws::QuickSight::Model::DashboardVersion::SetSourceEntityArn
void SetSourceEntityArn(Aws::String &&value)
Definition: DashboardVersion.h:228
Aws::QuickSight::Model::DashboardVersion::GetDataSetArns
const Aws::Vector< Aws::String > & GetDataSetArns() const
Definition: DashboardVersion.h:255
Aws::QuickSight::Model::DashboardVersion::SetStatus
void SetStatus(const ResourceStatus &value)
Definition: DashboardVersion.h:151
Aws::QuickSight::Model::DashboardVersion::GetErrors
const Aws::Vector< DashboardError > & GetErrors() const
Definition: DashboardVersion.h:79
Aws::QuickSight::Model::DashboardVersion::WithThemeArn
DashboardVersion & WithThemeArn(const Aws::String &value)
Definition: DashboardVersion.h:375
Aws::QuickSight::Model::DashboardVersion::DashboardVersion
DashboardVersion()
Aws::QuickSight::Model::DashboardVersion::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: DashboardVersion.h:365
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DashboardVersion::AddErrors
DashboardVersion & AddErrors(const DashboardError &value)
Definition: DashboardVersion.h:109
Aws::QuickSight::Model::DashboardVersion
Definition: DashboardVersion.h:37
Aws::QuickSight::Model::DashboardVersion::WithThemeArn
DashboardVersion & WithThemeArn(Aws::String &&value)
Definition: DashboardVersion.h:380
Aws::QuickSight::Model::DashboardVersion::WithDataSetArns
DashboardVersion & WithDataSetArns(Aws::Vector< Aws::String > &&value)
Definition: DashboardVersion.h:285
AWSVector.h
Aws::QuickSight::Model::DashboardVersion::DataSetArnsHasBeenSet
bool DataSetArnsHasBeenSet() const
Definition: DashboardVersion.h:261
Aws::QuickSight::Model::DashboardVersion::WithSheets
DashboardVersion & WithSheets(const Aws::Vector< Sheet > &value)
Definition: DashboardVersion.h:416
Aws::QuickSight::Model::DashboardVersion::WithArn
DashboardVersion & WithArn(Aws::String &&value)
Definition: DashboardVersion.h:202
Aws::QuickSight::Model::DashboardVersion::SetSourceEntityArn
void SetSourceEntityArn(const char *value)
Definition: DashboardVersion.h:233
Aws::QuickSight::Model::DashboardVersion::SetErrors
void SetErrors(Aws::Vector< DashboardError > &&value)
Definition: DashboardVersion.h:94
Aws::QuickSight::Model::DashboardVersion::SetDescription
void SetDescription(Aws::String &&value)
Definition: DashboardVersion.h:324
Aws::QuickSight::Model::DashboardVersion::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: DashboardVersion.h:53
Aws::QuickSight::Model::DashboardVersion::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: DashboardVersion.h:58
Aws::QuickSight::Model::DashboardVersion::AddSheets
DashboardVersion & AddSheets(const Sheet &value)
Definition: DashboardVersion.h:428
Aws::QuickSight::Model::DashboardVersion::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: DashboardVersion.h:125
Aws::QuickSight::Model::DashboardVersion::WithDescription
DashboardVersion & WithDescription(const Aws::String &value)
Definition: DashboardVersion.h:334
Aws::QuickSight::Model::DashboardVersion::ThemeArnHasBeenSet
bool ThemeArnHasBeenSet() const
Definition: DashboardVersion.h:355
Aws::QuickSight::Model::DashboardVersion::ErrorsHasBeenSet
bool ErrorsHasBeenSet() const
Definition: DashboardVersion.h:84
Aws::QuickSight::Model::DashboardVersion::SourceEntityArnHasBeenSet
bool SourceEntityArnHasBeenSet() const
Definition: DashboardVersion.h:218
Aws::QuickSight::Model::DashboardVersion::WithStatus
DashboardVersion & WithStatus(const ResourceStatus &value)
Definition: DashboardVersion.h:161
Aws::QuickSight::Model::DashboardVersion::WithCreatedTime
DashboardVersion & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: DashboardVersion.h:73
Aws::QuickSight::Model::DashboardVersion::SetDescription
void SetDescription(const Aws::String &value)
Definition: DashboardVersion.h:319
Aws::QuickSight::Model::DashboardVersion::AddErrors
DashboardVersion & AddErrors(DashboardError &&value)
Definition: DashboardVersion.h:114
Aws::QuickSight::Model::DashboardVersion::WithThemeArn
DashboardVersion & WithThemeArn(const char *value)
Definition: DashboardVersion.h:385
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::DashboardVersion::WithSourceEntityArn
DashboardVersion & WithSourceEntityArn(const char *value)
Definition: DashboardVersion.h:248
AWSString.h
Aws::QuickSight::Model::DashboardVersion::SetSheets
void SetSheets(const Aws::Vector< Sheet > &value)
Definition: DashboardVersion.h:404
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::DashboardError
Definition: DashboardError.h:33
Aws::QuickSight::Model::DashboardVersion::SetStatus
void SetStatus(ResourceStatus &&value)
Definition: DashboardVersion.h:156
Aws::QuickSight::Model::DashboardVersion::SetThemeArn
void SetThemeArn(const char *value)
Definition: DashboardVersion.h:370
Aws::QuickSight::Model::DashboardVersion::SetArn
void SetArn(Aws::String &&value)
Definition: DashboardVersion.h:187
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::DashboardVersion::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: DashboardVersion.h:360
Aws::QuickSight::Model::DashboardVersion::WithDataSetArns
DashboardVersion & WithDataSetArns(const Aws::Vector< Aws::String > &value)
Definition: DashboardVersion.h:279
Aws::QuickSight::Model::DashboardVersion::SetVersionNumber
void SetVersionNumber(long long value)
Definition: DashboardVersion.h:130
Aws::QuickSight::Model::DashboardVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::DashboardVersion::SetDescription
void SetDescription(const char *value)
Definition: DashboardVersion.h:329
Aws::QuickSight::Model::DashboardVersion::GetSheets
const Aws::Vector< Sheet > & GetSheets() const
Definition: DashboardVersion.h:392
Aws::QuickSight::Model::DashboardVersion::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DashboardVersion.h:146
Aws::QuickSight::Model::DashboardVersion::SetSheets
void SetSheets(Aws::Vector< Sheet > &&value)
Definition: DashboardVersion.h:410
Aws::QuickSight::Model::DashboardVersion::SetDataSetArns
void SetDataSetArns(Aws::Vector< Aws::String > &&value)
Definition: DashboardVersion.h:273
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
DashboardError.h
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DashboardVersion::GetDescription
const Aws::String & GetDescription() const
Definition: DashboardVersion.h:309
Aws::QuickSight::Model::DashboardVersion::AddDataSetArns
DashboardVersion & AddDataSetArns(const char *value)
Definition: DashboardVersion.h:303
Aws::QuickSight::Model::DashboardVersion::GetVersionNumber
long long GetVersionNumber() const
Definition: DashboardVersion.h:120
Aws::QuickSight::Model::DashboardVersion::WithSheets
DashboardVersion & WithSheets(Aws::Vector< Sheet > &&value)
Definition: DashboardVersion.h:422
Aws::QuickSight::Model::DashboardVersion::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: DashboardVersion.h:63
Aws::QuickSight::Model::DashboardVersion::SetDataSetArns
void SetDataSetArns(const Aws::Vector< Aws::String > &value)
Definition: DashboardVersion.h:267
Aws::QuickSight::Model::DashboardVersion::SetErrors
void SetErrors(const Aws::Vector< DashboardError > &value)
Definition: DashboardVersion.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DashboardVersion::GetSourceEntityArn
const Aws::String & GetSourceEntityArn() const
Definition: DashboardVersion.h:213
Aws::QuickSight::Model::DashboardVersion::SetArn
void SetArn(const Aws::String &value)
Definition: DashboardVersion.h:182
Aws::QuickSight::Model::DashboardVersion::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DashboardVersion.h:314
Aws::QuickSight::Model::DashboardVersion::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: DashboardVersion.h:177
Aws::QuickSight::Model::DashboardVersion::WithSourceEntityArn
DashboardVersion & WithSourceEntityArn(Aws::String &&value)
Definition: DashboardVersion.h:243
Aws::QuickSight::Model::DashboardVersion::SetSourceEntityArn
void SetSourceEntityArn(const Aws::String &value)
Definition: DashboardVersion.h:223
Sheet.h
Aws::QuickSight::Model::DashboardVersion::WithStatus
DashboardVersion & WithStatus(ResourceStatus &&value)
Definition: DashboardVersion.h:166
Aws::QuickSight::Model::DashboardVersion::AddSheets
DashboardVersion & AddSheets(Sheet &&value)
Definition: DashboardVersion.h:434
Aws::QuickSight::Model::DashboardVersion::WithDescription
DashboardVersion & WithDescription(Aws::String &&value)
Definition: DashboardVersion.h:339
Aws::QuickSight::Model::DashboardVersion::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: DashboardVersion.h:48
Aws::QuickSight::Model::DashboardVersion::WithErrors
DashboardVersion & WithErrors(const Aws::Vector< DashboardError > &value)
Definition: DashboardVersion.h:99
Aws::QuickSight::Model::DashboardVersion::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: DashboardVersion.h:350
Aws::QuickSight::Model::Sheet
Definition: Sheet.h:37