AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeDashboardSnapshotJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/SnapshotConfiguration.h>
12#include <aws/quicksight/model/SnapshotJobStatus.h>
13#include <aws/quicksight/model/SnapshotUserConfigurationRedacted.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight {
27namespace Model {
29 public:
30 AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResult() = default;
33
35
39 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
57 template <typename DashboardIdT = Aws::String>
58 void SetDashboardId(DashboardIdT&& value) {
59 m_dashboardIdHasBeenSet = true;
60 m_dashboardId = std::forward<DashboardIdT>(value);
61 }
62 template <typename DashboardIdT = Aws::String>
64 SetDashboardId(std::forward<DashboardIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetSnapshotJobId() const { return m_snapshotJobId; }
75 template <typename SnapshotJobIdT = Aws::String>
76 void SetSnapshotJobId(SnapshotJobIdT&& value) {
77 m_snapshotJobIdHasBeenSet = true;
78 m_snapshotJobId = std::forward<SnapshotJobIdT>(value);
79 }
80 template <typename SnapshotJobIdT = Aws::String>
82 SetSnapshotJobId(std::forward<SnapshotJobIdT>(value));
83 return *this;
84 }
86
88
92 inline const SnapshotUserConfigurationRedacted& GetUserConfiguration() const { return m_userConfiguration; }
93 template <typename UserConfigurationT = SnapshotUserConfigurationRedacted>
94 void SetUserConfiguration(UserConfigurationT&& value) {
95 m_userConfigurationHasBeenSet = true;
96 m_userConfiguration = std::forward<UserConfigurationT>(value);
97 }
98 template <typename UserConfigurationT = SnapshotUserConfigurationRedacted>
100 SetUserConfiguration(std::forward<UserConfigurationT>(value));
101 return *this;
102 }
104
106
110 inline const SnapshotConfiguration& GetSnapshotConfiguration() const { return m_snapshotConfiguration; }
111 template <typename SnapshotConfigurationT = SnapshotConfiguration>
112 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) {
113 m_snapshotConfigurationHasBeenSet = true;
114 m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value);
115 }
116 template <typename SnapshotConfigurationT = SnapshotConfiguration>
118 SetSnapshotConfiguration(std::forward<SnapshotConfigurationT>(value));
119 return *this;
120 }
122
124
129 inline const Aws::String& GetArn() const { return m_arn; }
130 template <typename ArnT = Aws::String>
131 void SetArn(ArnT&& value) {
132 m_arnHasBeenSet = true;
133 m_arn = std::forward<ArnT>(value);
134 }
135 template <typename ArnT = Aws::String>
137 SetArn(std::forward<ArnT>(value));
138 return *this;
139 }
141
143
151 inline SnapshotJobStatus GetJobStatus() const { return m_jobStatus; }
152 inline void SetJobStatus(SnapshotJobStatus value) {
153 m_jobStatusHasBeenSet = true;
154 m_jobStatus = value;
155 }
157 SetJobStatus(value);
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
167 template <typename CreatedTimeT = Aws::Utils::DateTime>
168 void SetCreatedTime(CreatedTimeT&& value) {
169 m_createdTimeHasBeenSet = true;
170 m_createdTime = std::forward<CreatedTimeT>(value);
171 }
172 template <typename CreatedTimeT = Aws::Utils::DateTime>
174 SetCreatedTime(std::forward<CreatedTimeT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
184 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
185 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
186 m_lastUpdatedTimeHasBeenSet = true;
187 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
188 }
189 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
191 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
192 return *this;
193 }
195
197
198 inline const Aws::String& GetRequestId() const { return m_requestId; }
199 template <typename RequestIdT = Aws::String>
200 void SetRequestId(RequestIdT&& value) {
201 m_requestIdHasBeenSet = true;
202 m_requestId = std::forward<RequestIdT>(value);
203 }
204 template <typename RequestIdT = Aws::String>
206 SetRequestId(std::forward<RequestIdT>(value));
207 return *this;
208 }
210
212
215 inline int GetStatus() const { return m_status; }
216 inline void SetStatus(int value) {
217 m_statusHasBeenSet = true;
218 m_status = value;
219 }
221 SetStatus(value);
222 return *this;
223 }
225 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
226
227 private:
228 Aws::String m_awsAccountId;
229
230 Aws::String m_dashboardId;
231
232 Aws::String m_snapshotJobId;
233
234 SnapshotUserConfigurationRedacted m_userConfiguration;
235
236 SnapshotConfiguration m_snapshotConfiguration;
237
238 Aws::String m_arn;
239
241
242 Aws::Utils::DateTime m_createdTime{};
243
244 Aws::Utils::DateTime m_lastUpdatedTime{};
245
246 Aws::String m_requestId;
247
248 int m_status{0};
249 Aws::Http::HttpResponseCode m_HttpResponseCode;
250 bool m_awsAccountIdHasBeenSet = false;
251 bool m_dashboardIdHasBeenSet = false;
252 bool m_snapshotJobIdHasBeenSet = false;
253 bool m_userConfigurationHasBeenSet = false;
254 bool m_snapshotConfigurationHasBeenSet = false;
255 bool m_arnHasBeenSet = false;
256 bool m_jobStatusHasBeenSet = false;
257 bool m_createdTimeHasBeenSet = false;
258 bool m_lastUpdatedTimeHasBeenSet = false;
259 bool m_requestIdHasBeenSet = false;
260 bool m_statusHasBeenSet = false;
261};
262
263} // namespace Model
264} // namespace QuickSight
265} // namespace Aws
DescribeDashboardSnapshotJobResult & WithSnapshotJobId(SnapshotJobIdT &&value)
DescribeDashboardSnapshotJobResult & WithRequestId(RequestIdT &&value)
DescribeDashboardSnapshotJobResult & WithUserConfiguration(UserConfigurationT &&value)
DescribeDashboardSnapshotJobResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DescribeDashboardSnapshotJobResult & WithJobStatus(SnapshotJobStatus value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardSnapshotJobResult & WithDashboardId(DashboardIdT &&value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardSnapshotJobResult & WithCreatedTime(CreatedTimeT &&value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResult()=default
DescribeDashboardSnapshotJobResult & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
DescribeDashboardSnapshotJobResult & WithAwsAccountId(AwsAccountIdT &&value)
const SnapshotUserConfigurationRedacted & GetUserConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue