AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DashboardSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API DashboardSummary() = default;
36 AWS_QUICKSIGHT_API DashboardSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 DashboardSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
61 template<typename DashboardIdT = Aws::String>
62 DashboardSummary& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 DashboardSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
82 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
83 template<typename CreatedTimeT = Aws::Utils::DateTime>
84 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
85 template<typename CreatedTimeT = Aws::Utils::DateTime>
86 DashboardSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
94 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
95 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
96 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
97 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
98 DashboardSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
100
102
105 inline long long GetPublishedVersionNumber() const { return m_publishedVersionNumber; }
106 inline bool PublishedVersionNumberHasBeenSet() const { return m_publishedVersionNumberHasBeenSet; }
107 inline void SetPublishedVersionNumber(long long value) { m_publishedVersionNumberHasBeenSet = true; m_publishedVersionNumber = value; }
108 inline DashboardSummary& WithPublishedVersionNumber(long long value) { SetPublishedVersionNumber(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastPublishedTime() const { return m_lastPublishedTime; }
116 inline bool LastPublishedTimeHasBeenSet() const { return m_lastPublishedTimeHasBeenSet; }
117 template<typename LastPublishedTimeT = Aws::Utils::DateTime>
118 void SetLastPublishedTime(LastPublishedTimeT&& value) { m_lastPublishedTimeHasBeenSet = true; m_lastPublishedTime = std::forward<LastPublishedTimeT>(value); }
119 template<typename LastPublishedTimeT = Aws::Utils::DateTime>
120 DashboardSummary& WithLastPublishedTime(LastPublishedTimeT&& value) { SetLastPublishedTime(std::forward<LastPublishedTimeT>(value)); return *this;}
122 private:
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 Aws::String m_dashboardId;
128 bool m_dashboardIdHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createdTime{};
134 bool m_createdTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedTime{};
137 bool m_lastUpdatedTimeHasBeenSet = false;
138
139 long long m_publishedVersionNumber{0};
140 bool m_publishedVersionNumberHasBeenSet = false;
141
142 Aws::Utils::DateTime m_lastPublishedTime{};
143 bool m_lastPublishedTimeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace QuickSight
148} // 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