AWS SDK for C++  1.9.154
AWS SDK for C++
Analysis.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 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
50 
54  inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
55 
59  inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
60 
64  inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
65 
69  inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
70 
74  inline Analysis& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
75 
79  inline Analysis& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
80 
84  inline Analysis& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
85 
86 
90  inline const Aws::String& GetArn() const{ return m_arn; }
91 
95  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
96 
100  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
101 
105  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
106 
110  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
111 
115  inline Analysis& WithArn(const Aws::String& value) { SetArn(value); return *this;}
116 
120  inline Analysis& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
121 
125  inline Analysis& WithArn(const char* value) { SetArn(value); return *this;}
126 
127 
131  inline const Aws::String& GetName() const{ return m_name; }
132 
136  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
137 
141  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
142 
146  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
147 
151  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
152 
156  inline Analysis& WithName(const Aws::String& value) { SetName(value); return *this;}
157 
161  inline Analysis& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
162 
166  inline Analysis& WithName(const char* value) { SetName(value); return *this;}
167 
168 
172  inline const ResourceStatus& GetStatus() const{ return m_status; }
173 
177  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
178 
182  inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
183 
187  inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
188 
192  inline Analysis& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
193 
197  inline Analysis& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
198 
199 
203  inline const Aws::Vector<AnalysisError>& GetErrors() const{ return m_errors; }
204 
208  inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
209 
213  inline void SetErrors(const Aws::Vector<AnalysisError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
214 
218  inline void SetErrors(Aws::Vector<AnalysisError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
219 
223  inline Analysis& WithErrors(const Aws::Vector<AnalysisError>& value) { SetErrors(value); return *this;}
224 
228  inline Analysis& WithErrors(Aws::Vector<AnalysisError>&& value) { SetErrors(std::move(value)); return *this;}
229 
233  inline Analysis& AddErrors(const AnalysisError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
234 
238  inline Analysis& AddErrors(AnalysisError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
239 
240 
244  inline const Aws::Vector<Aws::String>& GetDataSetArns() const{ return m_dataSetArns; }
245 
249  inline bool DataSetArnsHasBeenSet() const { return m_dataSetArnsHasBeenSet; }
250 
254  inline void SetDataSetArns(const Aws::Vector<Aws::String>& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = value; }
255 
259  inline void SetDataSetArns(Aws::Vector<Aws::String>&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = std::move(value); }
260 
264  inline Analysis& WithDataSetArns(const Aws::Vector<Aws::String>& value) { SetDataSetArns(value); return *this;}
265 
269  inline Analysis& WithDataSetArns(Aws::Vector<Aws::String>&& value) { SetDataSetArns(std::move(value)); return *this;}
270 
274  inline Analysis& AddDataSetArns(const Aws::String& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
275 
279  inline Analysis& AddDataSetArns(Aws::String&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(std::move(value)); return *this; }
280 
284  inline Analysis& AddDataSetArns(const char* value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
285 
286 
290  inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
291 
295  inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
296 
300  inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
301 
305  inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
306 
310  inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
311 
315  inline Analysis& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
316 
320  inline Analysis& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
321 
325  inline Analysis& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
326 
327 
331  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
332 
336  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
337 
341  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
342 
346  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
347 
351  inline Analysis& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
352 
356  inline Analysis& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
357 
358 
362  inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
363 
367  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
368 
372  inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
373 
377  inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
378 
382  inline Analysis& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
383 
387  inline Analysis& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
388 
389 
394  inline const Aws::Vector<Sheet>& GetSheets() const{ return m_sheets; }
395 
400  inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; }
401 
406  inline void SetSheets(const Aws::Vector<Sheet>& value) { m_sheetsHasBeenSet = true; m_sheets = value; }
407 
412  inline void SetSheets(Aws::Vector<Sheet>&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); }
413 
418  inline Analysis& WithSheets(const Aws::Vector<Sheet>& value) { SetSheets(value); return *this;}
419 
424  inline Analysis& WithSheets(Aws::Vector<Sheet>&& value) { SetSheets(std::move(value)); return *this;}
425 
430  inline Analysis& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; }
431 
436  inline Analysis& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; }
437 
438  private:
439 
440  Aws::String m_analysisId;
441  bool m_analysisIdHasBeenSet;
442 
443  Aws::String m_arn;
444  bool m_arnHasBeenSet;
445 
446  Aws::String m_name;
447  bool m_nameHasBeenSet;
448 
449  ResourceStatus m_status;
450  bool m_statusHasBeenSet;
451 
453  bool m_errorsHasBeenSet;
454 
455  Aws::Vector<Aws::String> m_dataSetArns;
456  bool m_dataSetArnsHasBeenSet;
457 
458  Aws::String m_themeArn;
459  bool m_themeArnHasBeenSet;
460 
461  Aws::Utils::DateTime m_createdTime;
462  bool m_createdTimeHasBeenSet;
463 
464  Aws::Utils::DateTime m_lastUpdatedTime;
465  bool m_lastUpdatedTimeHasBeenSet;
466 
467  Aws::Vector<Sheet> m_sheets;
468  bool m_sheetsHasBeenSet;
469  };
470 
471 } // namespace Model
472 } // namespace QuickSight
473 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::Analysis::WithName
Analysis & WithName(const Aws::String &value)
Definition: Analysis.h:156
Aws::QuickSight::Model::Analysis::WithName
Analysis & WithName(const char *value)
Definition: Analysis.h:166
Aws::QuickSight::Model::Analysis::WithStatus
Analysis & WithStatus(const ResourceStatus &value)
Definition: Analysis.h:192
Aws::QuickSight::Model::Analysis::GetArn
const Aws::String & GetArn() const
Definition: Analysis.h:90
ResourceStatus.h
Aws::QuickSight::Model::Analysis::AddErrors
Analysis & AddErrors(AnalysisError &&value)
Definition: Analysis.h:238
Aws::QuickSight::Model::Analysis::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Analysis.h:372
Aws::QuickSight::Model::Analysis::AddSheets
Analysis & AddSheets(const Sheet &value)
Definition: Analysis.h:430
QuickSight_EXPORTS.h
Aws::QuickSight::Model::Analysis::AddSheets
Analysis & AddSheets(Sheet &&value)
Definition: Analysis.h:436
Aws::QuickSight::Model::Analysis::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Analysis.h:377
Aws::QuickSight::Model::Analysis::WithArn
Analysis & WithArn(const Aws::String &value)
Definition: Analysis.h:115
Aws::QuickSight::Model::Analysis::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: Analysis.h:336
Aws::QuickSight::Model::Analysis::DataSetArnsHasBeenSet
bool DataSetArnsHasBeenSet() const
Definition: Analysis.h:249
Aws::QuickSight::Model::Analysis::SetErrors
void SetErrors(const Aws::Vector< AnalysisError > &value)
Definition: Analysis.h:213
Aws::QuickSight::Model::Analysis::GetDataSetArns
const Aws::Vector< Aws::String > & GetDataSetArns() const
Definition: Analysis.h:244
Aws::QuickSight::Model::Analysis::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: Analysis.h:64
Aws::QuickSight::Model::Analysis::SetSheets
void SetSheets(const Aws::Vector< Sheet > &value)
Definition: Analysis.h:406
Aws::QuickSight::Model::Analysis::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: Analysis.h:331
DateTime.h
Aws::QuickSight::Model::Analysis::WithAnalysisId
Analysis & WithAnalysisId(const char *value)
Definition: Analysis.h:84
Aws::QuickSight::Model::Analysis::SetArn
void SetArn(const Aws::String &value)
Definition: Analysis.h:100
Aws::QuickSight::Model::Analysis::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Analysis.h:367
Aws::QuickSight::Model::Analysis::SetArn
void SetArn(const char *value)
Definition: Analysis.h:110
Aws::QuickSight::Model::Analysis::SetStatus
void SetStatus(ResourceStatus &&value)
Definition: Analysis.h:187
Aws::QuickSight::Model::Analysis::WithLastUpdatedTime
Analysis & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Analysis.h:382
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::Analysis::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Analysis.h:136
AWSVector.h
Aws::QuickSight::Model::Analysis::SetDataSetArns
void SetDataSetArns(Aws::Vector< Aws::String > &&value)
Definition: Analysis.h:259
Aws::QuickSight::Model::Analysis::AddDataSetArns
Analysis & AddDataSetArns(const char *value)
Definition: Analysis.h:284
Aws::QuickSight::Model::Analysis::WithCreatedTime
Analysis & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: Analysis.h:351
Aws::QuickSight::Model::Analysis::AddDataSetArns
Analysis & AddDataSetArns(Aws::String &&value)
Definition: Analysis.h:279
Aws::QuickSight::Model::Analysis
Definition: Analysis.h:38
Aws::QuickSight::Model::Analysis::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: Analysis.h:290
Aws::QuickSight::Model::Analysis::operator=
Analysis & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::Analysis::SetName
void SetName(const Aws::String &value)
Definition: Analysis.h:141
Aws::QuickSight::Model::Analysis::ThemeArnHasBeenSet
bool ThemeArnHasBeenSet() const
Definition: Analysis.h:295
Aws::QuickSight::Model::Analysis::GetLastUpdatedTime
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition: Analysis.h:362
AnalysisError.h
Aws::QuickSight::Model::Analysis::WithAnalysisId
Analysis & WithAnalysisId(const Aws::String &value)
Definition: Analysis.h:74
Aws::QuickSight::Model::Analysis::WithSheets
Analysis & WithSheets(const Aws::Vector< Sheet > &value)
Definition: Analysis.h:418
Aws::QuickSight::Model::Analysis::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: Analysis.h:49
Aws::QuickSight::Model::Analysis::SheetsHasBeenSet
bool SheetsHasBeenSet() const
Definition: Analysis.h:400
Aws::QuickSight::Model::Analysis::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: Analysis.h:305
Aws::QuickSight::Model::Analysis::SetStatus
void SetStatus(const ResourceStatus &value)
Definition: Analysis.h:182
Aws::QuickSight::Model::Analysis::WithAnalysisId
Analysis & WithAnalysisId(Aws::String &&value)
Definition: Analysis.h:79
Aws::QuickSight::Model::Analysis::WithArn
Analysis & WithArn(Aws::String &&value)
Definition: Analysis.h:120
Aws::QuickSight::Model::Analysis::WithThemeArn
Analysis & WithThemeArn(Aws::String &&value)
Definition: Analysis.h:320
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::Analysis::WithThemeArn
Analysis & WithThemeArn(const char *value)
Definition: Analysis.h:325
AWSString.h
Aws::QuickSight::Model::Analysis::WithName
Analysis & WithName(Aws::String &&value)
Definition: Analysis.h:161
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::Analysis::AnalysisIdHasBeenSet
bool AnalysisIdHasBeenSet() const
Definition: Analysis.h:54
Aws::QuickSight::Model::Analysis::WithErrors
Analysis & WithErrors(const Aws::Vector< AnalysisError > &value)
Definition: Analysis.h:223
Aws::QuickSight::Model::Analysis::Analysis
Analysis(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ResourceStatus
ResourceStatus
Definition: ResourceStatus.h:17
Aws::QuickSight::Model::Analysis::WithDataSetArns
Analysis & WithDataSetArns(Aws::Vector< Aws::String > &&value)
Definition: Analysis.h:269
Aws::QuickSight::Model::Analysis::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Analysis.h:177
Aws::QuickSight::Model::Analysis::AddDataSetArns
Analysis & AddDataSetArns(const Aws::String &value)
Definition: Analysis.h:274
Aws::QuickSight::Model::Analysis::WithErrors
Analysis & WithErrors(Aws::Vector< AnalysisError > &&value)
Definition: Analysis.h:228
Aws::QuickSight::Model::Analysis::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: Analysis.h:341
Aws::QuickSight::Model::Analysis::SetThemeArn
void SetThemeArn(const char *value)
Definition: Analysis.h:310
Aws::QuickSight::Model::Analysis::WithArn
Analysis & WithArn(const char *value)
Definition: Analysis.h:125
Aws::QuickSight::Model::Analysis::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: Analysis.h:59
Aws::QuickSight::Model::Analysis::SetName
void SetName(Aws::String &&value)
Definition: Analysis.h:146
Aws::QuickSight::Model::Analysis::GetSheets
const Aws::Vector< Sheet > & GetSheets() const
Definition: Analysis.h:394
Aws::QuickSight::Model::Analysis::WithThemeArn
Analysis & WithThemeArn(const Aws::String &value)
Definition: Analysis.h:315
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::Analysis::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: Analysis.h:69
Aws::QuickSight::Model::Analysis::GetStatus
const ResourceStatus & GetStatus() const
Definition: Analysis.h:172
Aws::QuickSight::Model::Analysis::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: Analysis.h:346
Aws::QuickSight::Model::Analysis::SetSheets
void SetSheets(Aws::Vector< Sheet > &&value)
Definition: Analysis.h:412
Aws::QuickSight::Model::Analysis::WithCreatedTime
Analysis & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: Analysis.h:356
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::Analysis::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::Analysis::ErrorsHasBeenSet
bool ErrorsHasBeenSet() const
Definition: Analysis.h:208
Aws::QuickSight::Model::AnalysisError
Definition: AnalysisError.h:33
Aws::QuickSight::Model::Analysis::SetName
void SetName(const char *value)
Definition: Analysis.h:151
Aws::QuickSight::Model::Analysis::Analysis
Analysis()
Aws::QuickSight::Model::Analysis::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: Analysis.h:300
Aws::QuickSight::Model::Analysis::WithLastUpdatedTime
Analysis & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Analysis.h:387
Aws::QuickSight::Model::Analysis::WithStatus
Analysis & WithStatus(ResourceStatus &&value)
Definition: Analysis.h:197
Sheet.h
Aws::QuickSight::Model::Analysis::GetName
const Aws::String & GetName() const
Definition: Analysis.h:131
Aws::QuickSight::Model::Analysis::SetArn
void SetArn(Aws::String &&value)
Definition: Analysis.h:105
Aws::QuickSight::Model::Analysis::AddErrors
Analysis & AddErrors(const AnalysisError &value)
Definition: Analysis.h:233
Aws::QuickSight::Model::Analysis::WithSheets
Analysis & WithSheets(Aws::Vector< Sheet > &&value)
Definition: Analysis.h:424
Aws::QuickSight::Model::Analysis::SetErrors
void SetErrors(Aws::Vector< AnalysisError > &&value)
Definition: Analysis.h:218
Aws::QuickSight::Model::Analysis::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Analysis.h:95
Aws::QuickSight::Model::Analysis::WithDataSetArns
Analysis & WithDataSetArns(const Aws::Vector< Aws::String > &value)
Definition: Analysis.h:264
Aws::QuickSight::Model::Sheet
Definition: Sheet.h:37
Aws::QuickSight::Model::Analysis::SetDataSetArns
void SetDataSetArns(const Aws::Vector< Aws::String > &value)
Definition: Analysis.h:254
Aws::QuickSight::Model::Analysis::GetErrors
const Aws::Vector< AnalysisError > & GetErrors() const
Definition: Analysis.h:203