AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Analysis.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ResourceStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/quicksight/model/AnalysisError.h>
13#include <aws/quicksight/model/Sheet.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_QUICKSIGHT_API Analysis();
41 AWS_QUICKSIGHT_API Analysis(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Analysis& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
51 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
52 inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
53 inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
54 inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
55 inline Analysis& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
56 inline Analysis& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
57 inline Analysis& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline Analysis& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline Analysis& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline Analysis& WithArn(const char* value) { SetArn(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline Analysis& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline Analysis& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline Analysis& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const ResourceStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline Analysis& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
97 inline Analysis& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
104 inline const Aws::Vector<AnalysisError>& GetErrors() const{ return m_errors; }
105 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
106 inline void SetErrors(const Aws::Vector<AnalysisError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
107 inline void SetErrors(Aws::Vector<AnalysisError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
108 inline Analysis& WithErrors(const Aws::Vector<AnalysisError>& value) { SetErrors(value); return *this;}
109 inline Analysis& WithErrors(Aws::Vector<AnalysisError>&& value) { SetErrors(std::move(value)); return *this;}
110 inline Analysis& AddErrors(const AnalysisError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
111 inline Analysis& AddErrors(AnalysisError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
113
115
118 inline const Aws::Vector<Aws::String>& GetDataSetArns() const{ return m_dataSetArns; }
119 inline bool DataSetArnsHasBeenSet() const { return m_dataSetArnsHasBeenSet; }
120 inline void SetDataSetArns(const Aws::Vector<Aws::String>& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = value; }
121 inline void SetDataSetArns(Aws::Vector<Aws::String>&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = std::move(value); }
122 inline Analysis& WithDataSetArns(const Aws::Vector<Aws::String>& value) { SetDataSetArns(value); return *this;}
123 inline Analysis& WithDataSetArns(Aws::Vector<Aws::String>&& value) { SetDataSetArns(std::move(value)); return *this;}
124 inline Analysis& AddDataSetArns(const Aws::String& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
125 inline Analysis& AddDataSetArns(Aws::String&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(std::move(value)); return *this; }
126 inline Analysis& AddDataSetArns(const char* value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
128
130
133 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
134 inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
135 inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
136 inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
137 inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
138 inline Analysis& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
139 inline Analysis& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
140 inline Analysis& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
148 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
149 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
150 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
151 inline Analysis& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
152 inline Analysis& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
160 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
161 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
162 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
163 inline Analysis& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
164 inline Analysis& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
166
168
172 inline const Aws::Vector<Sheet>& GetSheets() const{ return m_sheets; }
173 inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; }
174 inline void SetSheets(const Aws::Vector<Sheet>& value) { m_sheetsHasBeenSet = true; m_sheets = value; }
175 inline void SetSheets(Aws::Vector<Sheet>&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); }
176 inline Analysis& WithSheets(const Aws::Vector<Sheet>& value) { SetSheets(value); return *this;}
177 inline Analysis& WithSheets(Aws::Vector<Sheet>&& value) { SetSheets(std::move(value)); return *this;}
178 inline Analysis& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; }
179 inline Analysis& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; }
181 private:
182
183 Aws::String m_analysisId;
184 bool m_analysisIdHasBeenSet = false;
185
186 Aws::String m_arn;
187 bool m_arnHasBeenSet = false;
188
189 Aws::String m_name;
190 bool m_nameHasBeenSet = false;
191
192 ResourceStatus m_status;
193 bool m_statusHasBeenSet = false;
194
196 bool m_errorsHasBeenSet = false;
197
198 Aws::Vector<Aws::String> m_dataSetArns;
199 bool m_dataSetArnsHasBeenSet = false;
200
201 Aws::String m_themeArn;
202 bool m_themeArnHasBeenSet = false;
203
204 Aws::Utils::DateTime m_createdTime;
205 bool m_createdTimeHasBeenSet = false;
206
207 Aws::Utils::DateTime m_lastUpdatedTime;
208 bool m_lastUpdatedTimeHasBeenSet = false;
209
210 Aws::Vector<Sheet> m_sheets;
211 bool m_sheetsHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace QuickSight
216} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Analysis.h:159
void SetName(const Aws::String &value)
Definition Analysis.h:80
Analysis & WithSheets(const Aws::Vector< Sheet > &value)
Definition Analysis.h:176
bool LastUpdatedTimeHasBeenSet() const
Definition Analysis.h:160
Analysis & WithThemeArn(const Aws::String &value)
Definition Analysis.h:138
void SetThemeArn(Aws::String &&value)
Definition Analysis.h:136
Analysis & WithErrors(const Aws::Vector< AnalysisError > &value)
Definition Analysis.h:108
void SetThemeArn(const char *value)
Definition Analysis.h:137
Analysis & WithStatus(const ResourceStatus &value)
Definition Analysis.h:96
AWS_QUICKSIGHT_API Analysis(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
Definition Analysis.h:66
const Aws::Vector< Sheet > & GetSheets() const
Definition Analysis.h:172
Analysis & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Analysis.h:151
Analysis & WithArn(const char *value)
Definition Analysis.h:71
void SetName(const char *value)
Definition Analysis.h:82
Analysis & AddDataSetArns(const char *value)
Definition Analysis.h:126
void SetName(Aws::String &&value)
Definition Analysis.h:81
Analysis & AddErrors(const AnalysisError &value)
Definition Analysis.h:110
void SetAnalysisId(const Aws::String &value)
Definition Analysis.h:52
Analysis & WithThemeArn(const char *value)
Definition Analysis.h:140
Analysis & WithThemeArn(Aws::String &&value)
Definition Analysis.h:139
void SetStatus(const ResourceStatus &value)
Definition Analysis.h:94
Analysis & WithAnalysisId(const char *value)
Definition Analysis.h:57
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Analysis.h:162
void SetErrors(Aws::Vector< AnalysisError > &&value)
Definition Analysis.h:107
Analysis & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Analysis.h:163
void SetAnalysisId(const char *value)
Definition Analysis.h:54
void SetSheets(const Aws::Vector< Sheet > &value)
Definition Analysis.h:174
void SetThemeArn(const Aws::String &value)
Definition Analysis.h:135
void SetDataSetArns(const Aws::Vector< Aws::String > &value)
Definition Analysis.h:120
Analysis & AddSheets(Sheet &&value)
Definition Analysis.h:179
void SetArn(const char *value)
Definition Analysis.h:68
Analysis & AddErrors(AnalysisError &&value)
Definition Analysis.h:111
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Analysis & WithDataSetArns(Aws::Vector< Aws::String > &&value)
Definition Analysis.h:123
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Analysis.h:150
const Aws::String & GetArn() const
Definition Analysis.h:64
Analysis & WithName(Aws::String &&value)
Definition Analysis.h:84
const Aws::String & GetThemeArn() const
Definition Analysis.h:133
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Analysis.h:161
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Analysis.h:147
const Aws::Vector< AnalysisError > & GetErrors() const
Definition Analysis.h:104
void SetArn(Aws::String &&value)
Definition Analysis.h:67
Analysis & WithName(const Aws::String &value)
Definition Analysis.h:83
Analysis & AddDataSetArns(const Aws::String &value)
Definition Analysis.h:124
void SetAnalysisId(Aws::String &&value)
Definition Analysis.h:53
void SetSheets(Aws::Vector< Sheet > &&value)
Definition Analysis.h:175
void SetStatus(ResourceStatus &&value)
Definition Analysis.h:95
const Aws::String & GetName() const
Definition Analysis.h:78
Analysis & WithSheets(Aws::Vector< Sheet > &&value)
Definition Analysis.h:177
Analysis & WithName(const char *value)
Definition Analysis.h:85
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Analysis.h:149
Analysis & WithErrors(Aws::Vector< AnalysisError > &&value)
Definition Analysis.h:109
Analysis & WithArn(const Aws::String &value)
Definition Analysis.h:69
Analysis & WithArn(Aws::String &&value)
Definition Analysis.h:70
AWS_QUICKSIGHT_API Analysis & operator=(Aws::Utils::Json::JsonView jsonValue)
Analysis & WithAnalysisId(Aws::String &&value)
Definition Analysis.h:56
Analysis & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Analysis.h:164
void SetErrors(const Aws::Vector< AnalysisError > &value)
Definition Analysis.h:106
Analysis & WithDataSetArns(const Aws::Vector< Aws::String > &value)
Definition Analysis.h:122
Analysis & AddSheets(const Sheet &value)
Definition Analysis.h:178
Analysis & AddDataSetArns(Aws::String &&value)
Definition Analysis.h:125
Analysis & WithStatus(ResourceStatus &&value)
Definition Analysis.h:97
const Aws::Vector< Aws::String > & GetDataSetArns() const
Definition Analysis.h:118
const Aws::String & GetAnalysisId() const
Definition Analysis.h:50
AWS_QUICKSIGHT_API Analysis()
void SetDataSetArns(Aws::Vector< Aws::String > &&value)
Definition Analysis.h:121
const ResourceStatus & GetStatus() const
Definition Analysis.h:92
Analysis & WithAnalysisId(const Aws::String &value)
Definition Analysis.h:55
Analysis & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Analysis.h:152
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue