AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Dashboard.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/DashboardVersion.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API Dashboard() = default;
38 AWS_QUICKSIGHT_API Dashboard(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Dashboard& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
48 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
49 template<typename DashboardIdT = Aws::String>
50 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
51 template<typename DashboardIdT = Aws::String>
52 Dashboard& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 Dashboard& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 Dashboard& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const DashboardVersion& GetVersion() const { return m_version; }
84 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
85 template<typename VersionT = DashboardVersion>
86 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
87 template<typename VersionT = DashboardVersion>
88 Dashboard& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
96 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
97 template<typename CreatedTimeT = Aws::Utils::DateTime>
98 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
99 template<typename CreatedTimeT = Aws::Utils::DateTime>
100 Dashboard& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastPublishedTime() const { return m_lastPublishedTime; }
108 inline bool LastPublishedTimeHasBeenSet() const { return m_lastPublishedTimeHasBeenSet; }
109 template<typename LastPublishedTimeT = Aws::Utils::DateTime>
110 void SetLastPublishedTime(LastPublishedTimeT&& value) { m_lastPublishedTimeHasBeenSet = true; m_lastPublishedTime = std::forward<LastPublishedTimeT>(value); }
111 template<typename LastPublishedTimeT = Aws::Utils::DateTime>
112 Dashboard& WithLastPublishedTime(LastPublishedTimeT&& value) { SetLastPublishedTime(std::forward<LastPublishedTimeT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
120 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
121 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
122 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
123 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
124 Dashboard& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
126
128
132 inline const Aws::Vector<Aws::String>& GetLinkEntities() const { return m_linkEntities; }
133 inline bool LinkEntitiesHasBeenSet() const { return m_linkEntitiesHasBeenSet; }
134 template<typename LinkEntitiesT = Aws::Vector<Aws::String>>
135 void SetLinkEntities(LinkEntitiesT&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities = std::forward<LinkEntitiesT>(value); }
136 template<typename LinkEntitiesT = Aws::Vector<Aws::String>>
137 Dashboard& WithLinkEntities(LinkEntitiesT&& value) { SetLinkEntities(std::forward<LinkEntitiesT>(value)); return *this;}
138 template<typename LinkEntitiesT = Aws::String>
139 Dashboard& AddLinkEntities(LinkEntitiesT&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.emplace_back(std::forward<LinkEntitiesT>(value)); return *this; }
141 private:
142
143 Aws::String m_dashboardId;
144 bool m_dashboardIdHasBeenSet = false;
145
146 Aws::String m_arn;
147 bool m_arnHasBeenSet = false;
148
149 Aws::String m_name;
150 bool m_nameHasBeenSet = false;
151
152 DashboardVersion m_version;
153 bool m_versionHasBeenSet = false;
154
155 Aws::Utils::DateTime m_createdTime{};
156 bool m_createdTimeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_lastPublishedTime{};
159 bool m_lastPublishedTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastUpdatedTime{};
162 bool m_lastUpdatedTimeHasBeenSet = false;
163
164 Aws::Vector<Aws::String> m_linkEntities;
165 bool m_linkEntitiesHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace QuickSight
170} // namespace Aws
AWS_QUICKSIGHT_API Dashboard(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDashboardId() const
Definition Dashboard.h:47
Dashboard & WithDashboardId(DashboardIdT &&value)
Definition Dashboard.h:52
Dashboard & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Dashboard.h:124
Dashboard & WithName(NameT &&value)
Definition Dashboard.h:76
const Aws::Utils::DateTime & GetLastPublishedTime() const
Definition Dashboard.h:107
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Dashboard & WithCreatedTime(CreatedTimeT &&value)
Definition Dashboard.h:100
void SetDashboardId(DashboardIdT &&value)
Definition Dashboard.h:50
Dashboard & WithLinkEntities(LinkEntitiesT &&value)
Definition Dashboard.h:137
const Aws::String & GetName() const
Definition Dashboard.h:71
void SetVersion(VersionT &&value)
Definition Dashboard.h:86
AWS_QUICKSIGHT_API Dashboard & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Dashboard.h:74
Dashboard & AddLinkEntities(LinkEntitiesT &&value)
Definition Dashboard.h:139
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Dashboard.h:119
Dashboard & WithVersion(VersionT &&value)
Definition Dashboard.h:88
Dashboard & WithLastPublishedTime(LastPublishedTimeT &&value)
Definition Dashboard.h:112
AWS_QUICKSIGHT_API Dashboard()=default
const DashboardVersion & GetVersion() const
Definition Dashboard.h:83
Dashboard & WithArn(ArnT &&value)
Definition Dashboard.h:64
const Aws::Vector< Aws::String > & GetLinkEntities() const
Definition Dashboard.h:132
void SetLinkEntities(LinkEntitiesT &&value)
Definition Dashboard.h:135
void SetCreatedTime(CreatedTimeT &&value)
Definition Dashboard.h:98
const Aws::String & GetArn() const
Definition Dashboard.h:59
void SetLastPublishedTime(LastPublishedTimeT &&value)
Definition Dashboard.h:110
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Dashboard.h:122
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Dashboard.h:95
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue