AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
Dashboard.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/DashboardVersion.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
30class Dashboard {
31 public:
32 AWS_QUICKSIGHT_API Dashboard() = default;
33 AWS_QUICKSIGHT_API Dashboard(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Dashboard& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
42 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
43 template <typename DashboardIdT = Aws::String>
44 void SetDashboardId(DashboardIdT&& value) {
45 m_dashboardIdHasBeenSet = true;
46 m_dashboardId = std::forward<DashboardIdT>(value);
47 }
48 template <typename DashboardIdT = Aws::String>
49 Dashboard& WithDashboardId(DashboardIdT&& value) {
50 SetDashboardId(std::forward<DashboardIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
67 Dashboard& WithArn(ArnT&& value) {
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 Dashboard& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const DashboardVersion& GetVersion() const { return m_version; }
96 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
97 template <typename VersionT = DashboardVersion>
98 void SetVersion(VersionT&& value) {
99 m_versionHasBeenSet = true;
100 m_version = std::forward<VersionT>(value);
101 }
102 template <typename VersionT = DashboardVersion>
103 Dashboard& WithVersion(VersionT&& value) {
104 SetVersion(std::forward<VersionT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
114 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
115 template <typename CreatedTimeT = Aws::Utils::DateTime>
116 void SetCreatedTime(CreatedTimeT&& value) {
117 m_createdTimeHasBeenSet = true;
118 m_createdTime = std::forward<CreatedTimeT>(value);
119 }
120 template <typename CreatedTimeT = Aws::Utils::DateTime>
121 Dashboard& WithCreatedTime(CreatedTimeT&& value) {
122 SetCreatedTime(std::forward<CreatedTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetLastPublishedTime() const { return m_lastPublishedTime; }
132 inline bool LastPublishedTimeHasBeenSet() const { return m_lastPublishedTimeHasBeenSet; }
133 template <typename LastPublishedTimeT = Aws::Utils::DateTime>
134 void SetLastPublishedTime(LastPublishedTimeT&& value) {
135 m_lastPublishedTimeHasBeenSet = true;
136 m_lastPublishedTime = std::forward<LastPublishedTimeT>(value);
137 }
138 template <typename LastPublishedTimeT = Aws::Utils::DateTime>
139 Dashboard& WithLastPublishedTime(LastPublishedTimeT&& value) {
140 SetLastPublishedTime(std::forward<LastPublishedTimeT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
150 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
151 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
152 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
153 m_lastUpdatedTimeHasBeenSet = true;
154 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
155 }
156 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
157 Dashboard& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
158 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
159 return *this;
160 }
162
164
168 inline const Aws::Vector<Aws::String>& GetLinkEntities() const { return m_linkEntities; }
169 inline bool LinkEntitiesHasBeenSet() const { return m_linkEntitiesHasBeenSet; }
170 template <typename LinkEntitiesT = Aws::Vector<Aws::String>>
171 void SetLinkEntities(LinkEntitiesT&& value) {
172 m_linkEntitiesHasBeenSet = true;
173 m_linkEntities = std::forward<LinkEntitiesT>(value);
174 }
175 template <typename LinkEntitiesT = Aws::Vector<Aws::String>>
176 Dashboard& WithLinkEntities(LinkEntitiesT&& value) {
177 SetLinkEntities(std::forward<LinkEntitiesT>(value));
178 return *this;
179 }
180 template <typename LinkEntitiesT = Aws::String>
181 Dashboard& AddLinkEntities(LinkEntitiesT&& value) {
182 m_linkEntitiesHasBeenSet = true;
183 m_linkEntities.emplace_back(std::forward<LinkEntitiesT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_dashboardId;
189
190 Aws::String m_arn;
191
192 Aws::String m_name;
193
194 DashboardVersion m_version;
195
196 Aws::Utils::DateTime m_createdTime{};
197
198 Aws::Utils::DateTime m_lastPublishedTime{};
199
200 Aws::Utils::DateTime m_lastUpdatedTime{};
201
202 Aws::Vector<Aws::String> m_linkEntities;
203 bool m_dashboardIdHasBeenSet = false;
204 bool m_arnHasBeenSet = false;
205 bool m_nameHasBeenSet = false;
206 bool m_versionHasBeenSet = false;
207 bool m_createdTimeHasBeenSet = false;
208 bool m_lastPublishedTimeHasBeenSet = false;
209 bool m_lastUpdatedTimeHasBeenSet = false;
210 bool m_linkEntitiesHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace QuickSight
215} // namespace Aws
AWS_QUICKSIGHT_API Dashboard(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDashboardId() const
Definition Dashboard.h:41
Dashboard & WithDashboardId(DashboardIdT &&value)
Definition Dashboard.h:49
Dashboard & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Dashboard.h:157
Dashboard & WithName(NameT &&value)
Definition Dashboard.h:85
const Aws::Utils::DateTime & GetLastPublishedTime() const
Definition Dashboard.h:131
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Dashboard & WithCreatedTime(CreatedTimeT &&value)
Definition Dashboard.h:121
void SetDashboardId(DashboardIdT &&value)
Definition Dashboard.h:44
Dashboard & WithLinkEntities(LinkEntitiesT &&value)
Definition Dashboard.h:176
const Aws::String & GetName() const
Definition Dashboard.h:77
void SetVersion(VersionT &&value)
Definition Dashboard.h:98
AWS_QUICKSIGHT_API Dashboard & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Dashboard.h:80
Dashboard & AddLinkEntities(LinkEntitiesT &&value)
Definition Dashboard.h:181
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Dashboard.h:149
Dashboard & WithVersion(VersionT &&value)
Definition Dashboard.h:103
Dashboard & WithLastPublishedTime(LastPublishedTimeT &&value)
Definition Dashboard.h:139
AWS_QUICKSIGHT_API Dashboard()=default
const DashboardVersion & GetVersion() const
Definition Dashboard.h:95
Dashboard & WithArn(ArnT &&value)
Definition Dashboard.h:67
const Aws::Vector< Aws::String > & GetLinkEntities() const
Definition Dashboard.h:168
void SetLinkEntities(LinkEntitiesT &&value)
Definition Dashboard.h:171
void SetCreatedTime(CreatedTimeT &&value)
Definition Dashboard.h:116
const Aws::String & GetArn() const
Definition Dashboard.h:59
void SetLastPublishedTime(LastPublishedTimeT &&value)
Definition Dashboard.h:134
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Dashboard.h:152
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Dashboard.h:113
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue