AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DashboardSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API DashboardSummary() = default;
31 AWS_QUICKSIGHT_API DashboardSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 DashboardSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
58 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
59 template <typename DashboardIdT = Aws::String>
60 void SetDashboardId(DashboardIdT&& value) {
61 m_dashboardIdHasBeenSet = true;
62 m_dashboardId = std::forward<DashboardIdT>(value);
63 }
64 template <typename DashboardIdT = Aws::String>
65 DashboardSummary& WithDashboardId(DashboardIdT&& value) {
66 SetDashboardId(std::forward<DashboardIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 DashboardSummary& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
94 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
95 template <typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) {
97 m_createdTimeHasBeenSet = true;
98 m_createdTime = std::forward<CreatedTimeT>(value);
99 }
100 template <typename CreatedTimeT = Aws::Utils::DateTime>
101 DashboardSummary& WithCreatedTime(CreatedTimeT&& value) {
102 SetCreatedTime(std::forward<CreatedTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
112 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
113 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
114 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
115 m_lastUpdatedTimeHasBeenSet = true;
116 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
117 }
118 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
119 DashboardSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
120 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
121 return *this;
122 }
124
126
129 inline long long GetPublishedVersionNumber() const { return m_publishedVersionNumber; }
130 inline bool PublishedVersionNumberHasBeenSet() const { return m_publishedVersionNumberHasBeenSet; }
131 inline void SetPublishedVersionNumber(long long value) {
132 m_publishedVersionNumberHasBeenSet = true;
133 m_publishedVersionNumber = value;
134 }
137 return *this;
138 }
140
142
145 inline const Aws::Utils::DateTime& GetLastPublishedTime() const { return m_lastPublishedTime; }
146 inline bool LastPublishedTimeHasBeenSet() const { return m_lastPublishedTimeHasBeenSet; }
147 template <typename LastPublishedTimeT = Aws::Utils::DateTime>
148 void SetLastPublishedTime(LastPublishedTimeT&& value) {
149 m_lastPublishedTimeHasBeenSet = true;
150 m_lastPublishedTime = std::forward<LastPublishedTimeT>(value);
151 }
152 template <typename LastPublishedTimeT = Aws::Utils::DateTime>
153 DashboardSummary& WithLastPublishedTime(LastPublishedTimeT&& value) {
154 SetLastPublishedTime(std::forward<LastPublishedTimeT>(value));
155 return *this;
156 }
158 private:
159 Aws::String m_arn;
160
161 Aws::String m_dashboardId;
162
163 Aws::String m_name;
164
165 Aws::Utils::DateTime m_createdTime{};
166
167 Aws::Utils::DateTime m_lastUpdatedTime{};
168
169 long long m_publishedVersionNumber{0};
170
171 Aws::Utils::DateTime m_lastPublishedTime{};
172 bool m_arnHasBeenSet = false;
173 bool m_dashboardIdHasBeenSet = false;
174 bool m_nameHasBeenSet = false;
175 bool m_createdTimeHasBeenSet = false;
176 bool m_lastUpdatedTimeHasBeenSet = false;
177 bool m_publishedVersionNumberHasBeenSet = false;
178 bool m_lastPublishedTimeHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace QuickSight
183} // namespace Aws
DashboardSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DashboardSummary & WithCreatedTime(CreatedTimeT &&value)
void SetDashboardId(DashboardIdT &&value)
DashboardSummary & WithDashboardId(DashboardIdT &&value)
DashboardSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetCreatedTime(CreatedTimeT &&value)
AWS_QUICKSIGHT_API DashboardSummary(Aws::Utils::Json::JsonView jsonValue)
DashboardSummary & WithPublishedVersionNumber(long long value)
DashboardSummary & WithArn(ArnT &&value)
void SetLastPublishedTime(LastPublishedTimeT &&value)
AWS_QUICKSIGHT_API DashboardSummary()=default
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DashboardSummary & WithLastPublishedTime(LastPublishedTimeT &&value)
const Aws::Utils::DateTime & GetLastPublishedTime() const
AWS_QUICKSIGHT_API DashboardSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDashboardId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue