AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DashboardVersion.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourceStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/quicksight/model/DashboardError.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
37 {
38 public:
39 AWS_QUICKSIGHT_API DashboardVersion();
40 AWS_QUICKSIGHT_API DashboardVersion(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
50 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
51 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
52 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
53 inline DashboardVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
54 inline DashboardVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
56
58
61 inline const Aws::Vector<DashboardError>& GetErrors() const{ return m_errors; }
62 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
63 inline void SetErrors(const Aws::Vector<DashboardError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
64 inline void SetErrors(Aws::Vector<DashboardError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
65 inline DashboardVersion& WithErrors(const Aws::Vector<DashboardError>& value) { SetErrors(value); return *this;}
66 inline DashboardVersion& WithErrors(Aws::Vector<DashboardError>&& value) { SetErrors(std::move(value)); return *this;}
67 inline DashboardVersion& AddErrors(const DashboardError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
68 inline DashboardVersion& AddErrors(DashboardError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
70
72
75 inline long long GetVersionNumber() const{ return m_versionNumber; }
76 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
77 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
78 inline DashboardVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
80
82
85 inline const ResourceStatus& GetStatus() const{ return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
88 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 inline DashboardVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
90 inline DashboardVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
92
94
97 inline const Aws::String& GetArn() const{ return m_arn; }
98 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
99 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
100 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
102 inline DashboardVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
103 inline DashboardVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
104 inline DashboardVersion& WithArn(const char* value) { SetArn(value); return *this;}
106
108
111 inline const Aws::String& GetSourceEntityArn() const{ return m_sourceEntityArn; }
112 inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; }
113 inline void SetSourceEntityArn(const Aws::String& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = value; }
114 inline void SetSourceEntityArn(Aws::String&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::move(value); }
115 inline void SetSourceEntityArn(const char* value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn.assign(value); }
116 inline DashboardVersion& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;}
117 inline DashboardVersion& WithSourceEntityArn(Aws::String&& value) { SetSourceEntityArn(std::move(value)); return *this;}
118 inline DashboardVersion& WithSourceEntityArn(const char* value) { SetSourceEntityArn(value); return *this;}
120
122
126 inline const Aws::Vector<Aws::String>& GetDataSetArns() const{ return m_dataSetArns; }
127 inline bool DataSetArnsHasBeenSet() const { return m_dataSetArnsHasBeenSet; }
128 inline void SetDataSetArns(const Aws::Vector<Aws::String>& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = value; }
129 inline void SetDataSetArns(Aws::Vector<Aws::String>&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns = std::move(value); }
130 inline DashboardVersion& WithDataSetArns(const Aws::Vector<Aws::String>& value) { SetDataSetArns(value); return *this;}
131 inline DashboardVersion& WithDataSetArns(Aws::Vector<Aws::String>&& value) { SetDataSetArns(std::move(value)); return *this;}
132 inline DashboardVersion& AddDataSetArns(const Aws::String& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
133 inline DashboardVersion& AddDataSetArns(Aws::String&& value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(std::move(value)); return *this; }
134 inline DashboardVersion& AddDataSetArns(const char* value) { m_dataSetArnsHasBeenSet = true; m_dataSetArns.push_back(value); return *this; }
136
138
141 inline const Aws::String& GetDescription() const{ return m_description; }
142 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
144 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
146 inline DashboardVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
147 inline DashboardVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
148 inline DashboardVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
150
152
155 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
156 inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
157 inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
158 inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
159 inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
160 inline DashboardVersion& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
161 inline DashboardVersion& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
162 inline DashboardVersion& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
164
166
170 inline const Aws::Vector<Sheet>& GetSheets() const{ return m_sheets; }
171 inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; }
172 inline void SetSheets(const Aws::Vector<Sheet>& value) { m_sheetsHasBeenSet = true; m_sheets = value; }
173 inline void SetSheets(Aws::Vector<Sheet>&& value) { m_sheetsHasBeenSet = true; m_sheets = std::move(value); }
174 inline DashboardVersion& WithSheets(const Aws::Vector<Sheet>& value) { SetSheets(value); return *this;}
175 inline DashboardVersion& WithSheets(Aws::Vector<Sheet>&& value) { SetSheets(std::move(value)); return *this;}
176 inline DashboardVersion& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; }
177 inline DashboardVersion& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; }
179 private:
180
181 Aws::Utils::DateTime m_createdTime;
182 bool m_createdTimeHasBeenSet = false;
183
185 bool m_errorsHasBeenSet = false;
186
187 long long m_versionNumber;
188 bool m_versionNumberHasBeenSet = false;
189
190 ResourceStatus m_status;
191 bool m_statusHasBeenSet = false;
192
193 Aws::String m_arn;
194 bool m_arnHasBeenSet = false;
195
196 Aws::String m_sourceEntityArn;
197 bool m_sourceEntityArnHasBeenSet = false;
198
199 Aws::Vector<Aws::String> m_dataSetArns;
200 bool m_dataSetArnsHasBeenSet = false;
201
202 Aws::String m_description;
203 bool m_descriptionHasBeenSet = false;
204
205 Aws::String m_themeArn;
206 bool m_themeArnHasBeenSet = false;
207
208 Aws::Vector<Sheet> m_sheets;
209 bool m_sheetsHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace QuickSight
214} // namespace Aws
DashboardVersion & AddDataSetArns(const char *value)
DashboardVersion & WithVersionNumber(long long value)
DashboardVersion & WithCreatedTime(const Aws::Utils::DateTime &value)
DashboardVersion & WithSourceEntityArn(const char *value)
DashboardVersion & WithErrors(const Aws::Vector< DashboardError > &value)
DashboardVersion & AddSheets(Sheet &&value)
DashboardVersion & AddErrors(DashboardError &&value)
DashboardVersion & AddDataSetArns(const Aws::String &value)
DashboardVersion & WithArn(Aws::String &&value)
DashboardVersion & WithSourceEntityArn(const Aws::String &value)
AWS_QUICKSIGHT_API DashboardVersion(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
DashboardVersion & WithDataSetArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< DashboardError > & GetErrors() const
DashboardVersion & WithErrors(Aws::Vector< DashboardError > &&value)
void SetSheets(Aws::Vector< Sheet > &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetErrors(Aws::Vector< DashboardError > &&value)
DashboardVersion & WithStatus(const ResourceStatus &value)
DashboardVersion & WithStatus(ResourceStatus &&value)
AWS_QUICKSIGHT_API DashboardVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Sheet > & GetSheets() const
void SetSourceEntityArn(const Aws::String &value)
DashboardVersion & WithDescription(const char *value)
void SetDataSetArns(const Aws::Vector< Aws::String > &value)
const ResourceStatus & GetStatus() const
const Aws::String & GetThemeArn() const
void SetThemeArn(const Aws::String &value)
DashboardVersion & WithDataSetArns(Aws::Vector< Aws::String > &&value)
DashboardVersion & WithThemeArn(const Aws::String &value)
const Aws::String & GetDescription() const
void SetSourceEntityArn(Aws::String &&value)
void SetSheets(const Aws::Vector< Sheet > &value)
DashboardVersion & WithThemeArn(Aws::String &&value)
DashboardVersion & WithDescription(const Aws::String &value)
DashboardVersion & WithThemeArn(const char *value)
DashboardVersion & WithDescription(Aws::String &&value)
void SetDataSetArns(Aws::Vector< Aws::String > &&value)
void SetStatus(const ResourceStatus &value)
DashboardVersion & WithSheets(const Aws::Vector< Sheet > &value)
const Aws::Vector< Aws::String > & GetDataSetArns() const
DashboardVersion & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
DashboardVersion & WithSheets(Aws::Vector< Sheet > &&value)
DashboardVersion & AddSheets(const Sheet &value)
DashboardVersion & WithArn(const Aws::String &value)
DashboardVersion & WithArn(const char *value)
void SetStatus(ResourceStatus &&value)
DashboardVersion & AddDataSetArns(Aws::String &&value)
void SetErrors(const Aws::Vector< DashboardError > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DashboardVersion & WithSourceEntityArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetSourceEntityArn() const
DashboardVersion & AddErrors(const DashboardError &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue