AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
50 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
51 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
52 inline Dashboard& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
53 inline Dashboard& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
54 inline Dashboard& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline Dashboard& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline Dashboard& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline Dashboard& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline Dashboard& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline Dashboard& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline Dashboard& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const DashboardVersion& GetVersion() const{ return m_version; }
90 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
91 inline void SetVersion(const DashboardVersion& value) { m_versionHasBeenSet = true; m_version = value; }
92 inline void SetVersion(DashboardVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
93 inline Dashboard& WithVersion(const DashboardVersion& value) { SetVersion(value); return *this;}
94 inline Dashboard& WithVersion(DashboardVersion&& value) { SetVersion(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
102 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
103 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
104 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
105 inline Dashboard& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
106 inline Dashboard& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastPublishedTime() const{ return m_lastPublishedTime; }
114 inline bool LastPublishedTimeHasBeenSet() const { return m_lastPublishedTimeHasBeenSet; }
115 inline void SetLastPublishedTime(const Aws::Utils::DateTime& value) { m_lastPublishedTimeHasBeenSet = true; m_lastPublishedTime = value; }
116 inline void SetLastPublishedTime(Aws::Utils::DateTime&& value) { m_lastPublishedTimeHasBeenSet = true; m_lastPublishedTime = std::move(value); }
117 inline Dashboard& WithLastPublishedTime(const Aws::Utils::DateTime& value) { SetLastPublishedTime(value); return *this;}
118 inline Dashboard& WithLastPublishedTime(Aws::Utils::DateTime&& value) { SetLastPublishedTime(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
126 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
127 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
128 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
129 inline Dashboard& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
130 inline Dashboard& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
132
134
138 inline const Aws::Vector<Aws::String>& GetLinkEntities() const{ return m_linkEntities; }
139 inline bool LinkEntitiesHasBeenSet() const { return m_linkEntitiesHasBeenSet; }
140 inline void SetLinkEntities(const Aws::Vector<Aws::String>& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities = value; }
141 inline void SetLinkEntities(Aws::Vector<Aws::String>&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities = std::move(value); }
142 inline Dashboard& WithLinkEntities(const Aws::Vector<Aws::String>& value) { SetLinkEntities(value); return *this;}
143 inline Dashboard& WithLinkEntities(Aws::Vector<Aws::String>&& value) { SetLinkEntities(std::move(value)); return *this;}
144 inline Dashboard& AddLinkEntities(const Aws::String& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.push_back(value); return *this; }
145 inline Dashboard& AddLinkEntities(Aws::String&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.push_back(std::move(value)); return *this; }
146 inline Dashboard& AddLinkEntities(const char* value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.push_back(value); return *this; }
148 private:
149
150 Aws::String m_dashboardId;
151 bool m_dashboardIdHasBeenSet = false;
152
153 Aws::String m_arn;
154 bool m_arnHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 DashboardVersion m_version;
160 bool m_versionHasBeenSet = false;
161
162 Aws::Utils::DateTime m_createdTime;
163 bool m_createdTimeHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastPublishedTime;
166 bool m_lastPublishedTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastUpdatedTime;
169 bool m_lastUpdatedTimeHasBeenSet = false;
170
171 Aws::Vector<Aws::String> m_linkEntities;
172 bool m_linkEntitiesHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace QuickSight
177} // namespace Aws
Dashboard & WithDashboardId(const char *value)
Definition Dashboard.h:54
AWS_QUICKSIGHT_API Dashboard(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Dashboard.h:127
void SetName(const Aws::String &value)
Definition Dashboard.h:77
void SetLinkEntities(const Aws::Vector< Aws::String > &value)
Definition Dashboard.h:140
const Aws::String & GetDashboardId() const
Definition Dashboard.h:47
Dashboard & WithVersion(DashboardVersion &&value)
Definition Dashboard.h:94
Dashboard & AddLinkEntities(Aws::String &&value)
Definition Dashboard.h:145
Dashboard & AddLinkEntities(const Aws::String &value)
Definition Dashboard.h:144
void SetDashboardId(Aws::String &&value)
Definition Dashboard.h:50
Dashboard & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Dashboard.h:106
void SetName(Aws::String &&value)
Definition Dashboard.h:78
Dashboard & WithName(const Aws::String &value)
Definition Dashboard.h:80
void SetVersion(DashboardVersion &&value)
Definition Dashboard.h:92
const Aws::Utils::DateTime & GetLastPublishedTime() const
Definition Dashboard.h:113
Dashboard & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Dashboard.h:129
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Dashboard.h:103
void SetDashboardId(const char *value)
Definition Dashboard.h:51
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Dashboard & WithLinkEntities(Aws::Vector< Aws::String > &&value)
Definition Dashboard.h:143
Dashboard & WithArn(Aws::String &&value)
Definition Dashboard.h:67
Dashboard & WithLastPublishedTime(Aws::Utils::DateTime &&value)
Definition Dashboard.h:118
void SetVersion(const DashboardVersion &value)
Definition Dashboard.h:91
void SetName(const char *value)
Definition Dashboard.h:79
Dashboard & WithVersion(const DashboardVersion &value)
Definition Dashboard.h:93
const Aws::String & GetName() const
Definition Dashboard.h:75
Dashboard & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Dashboard.h:130
AWS_QUICKSIGHT_API Dashboard & operator=(Aws::Utils::Json::JsonView jsonValue)
Dashboard & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Dashboard.h:105
void SetArn(Aws::String &&value)
Definition Dashboard.h:64
Dashboard & WithDashboardId(Aws::String &&value)
Definition Dashboard.h:53
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Dashboard.h:125
Dashboard & WithName(Aws::String &&value)
Definition Dashboard.h:81
Dashboard & WithLastPublishedTime(const Aws::Utils::DateTime &value)
Definition Dashboard.h:117
void SetArn(const char *value)
Definition Dashboard.h:65
void SetArn(const Aws::String &value)
Definition Dashboard.h:63
Dashboard & AddLinkEntities(const char *value)
Definition Dashboard.h:146
void SetLastPublishedTime(const Aws::Utils::DateTime &value)
Definition Dashboard.h:115
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Dashboard.h:128
Dashboard & WithDashboardId(const Aws::String &value)
Definition Dashboard.h:52
const DashboardVersion & GetVersion() const
Definition Dashboard.h:89
void SetDashboardId(const Aws::String &value)
Definition Dashboard.h:49
Dashboard & WithName(const char *value)
Definition Dashboard.h:82
Dashboard & WithArn(const char *value)
Definition Dashboard.h:68
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Dashboard.h:104
void SetLinkEntities(Aws::Vector< Aws::String > &&value)
Definition Dashboard.h:141
const Aws::Vector< Aws::String > & GetLinkEntities() const
Definition Dashboard.h:138
const Aws::String & GetArn() const
Definition Dashboard.h:61
Dashboard & WithArn(const Aws::String &value)
Definition Dashboard.h:66
void SetLastPublishedTime(Aws::Utils::DateTime &&value)
Definition Dashboard.h:116
AWS_QUICKSIGHT_API Dashboard()
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Dashboard.h:101
Dashboard & WithLinkEntities(const Aws::Vector< Aws::String > &value)
Definition Dashboard.h:142
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue