AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDashboardSnapshotJobResult.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/SnapshotUserConfigurationRedacted.h>
10#include <aws/quicksight/model/SnapshotConfiguration.h>
11#include <aws/quicksight/model/SnapshotJobStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
32 {
33 public:
34 AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResult() = default;
37
38
40
44 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
45 template<typename AwsAccountIdT = Aws::String>
46 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
47 template<typename AwsAccountIdT = Aws::String>
48 DescribeDashboardSnapshotJobResult& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
56 template<typename DashboardIdT = Aws::String>
57 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
58 template<typename DashboardIdT = Aws::String>
59 DescribeDashboardSnapshotJobResult& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetSnapshotJobId() const { return m_snapshotJobId; }
68 template<typename SnapshotJobIdT = Aws::String>
69 void SetSnapshotJobId(SnapshotJobIdT&& value) { m_snapshotJobIdHasBeenSet = true; m_snapshotJobId = std::forward<SnapshotJobIdT>(value); }
70 template<typename SnapshotJobIdT = Aws::String>
71 DescribeDashboardSnapshotJobResult& WithSnapshotJobId(SnapshotJobIdT&& value) { SetSnapshotJobId(std::forward<SnapshotJobIdT>(value)); return *this;}
73
75
79 inline const SnapshotUserConfigurationRedacted& GetUserConfiguration() const { return m_userConfiguration; }
80 template<typename UserConfigurationT = SnapshotUserConfigurationRedacted>
81 void SetUserConfiguration(UserConfigurationT&& value) { m_userConfigurationHasBeenSet = true; m_userConfiguration = std::forward<UserConfigurationT>(value); }
82 template<typename UserConfigurationT = SnapshotUserConfigurationRedacted>
83 DescribeDashboardSnapshotJobResult& WithUserConfiguration(UserConfigurationT&& value) { SetUserConfiguration(std::forward<UserConfigurationT>(value)); return *this;}
85
87
91 inline const SnapshotConfiguration& GetSnapshotConfiguration() const { return m_snapshotConfiguration; }
92 template<typename SnapshotConfigurationT = SnapshotConfiguration>
93 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet = true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
94 template<typename SnapshotConfigurationT = SnapshotConfiguration>
95 DescribeDashboardSnapshotJobResult& WithSnapshotConfiguration(SnapshotConfigurationT&& value) { SetSnapshotConfiguration(std::forward<SnapshotConfigurationT>(value)); return *this;}
97
99
104 inline const Aws::String& GetArn() const { return m_arn; }
105 template<typename ArnT = Aws::String>
106 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
107 template<typename ArnT = Aws::String>
108 DescribeDashboardSnapshotJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
110
112
120 inline SnapshotJobStatus GetJobStatus() const { return m_jobStatus; }
121 inline void SetJobStatus(SnapshotJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
124
126
129 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
130 template<typename CreatedTimeT = Aws::Utils::DateTime>
131 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
132 template<typename CreatedTimeT = Aws::Utils::DateTime>
133 DescribeDashboardSnapshotJobResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
141 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
142 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
143 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
144 DescribeDashboardSnapshotJobResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 template<typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
152 template<typename RequestIdT = Aws::String>
153 DescribeDashboardSnapshotJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
155
157
160 inline int GetStatus() const { return m_status; }
161 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
162 inline DescribeDashboardSnapshotJobResult& WithStatus(int value) { SetStatus(value); return *this;}
164 private:
165
166 Aws::String m_awsAccountId;
167 bool m_awsAccountIdHasBeenSet = false;
168
169 Aws::String m_dashboardId;
170 bool m_dashboardIdHasBeenSet = false;
171
172 Aws::String m_snapshotJobId;
173 bool m_snapshotJobIdHasBeenSet = false;
174
175 SnapshotUserConfigurationRedacted m_userConfiguration;
176 bool m_userConfigurationHasBeenSet = false;
177
178 SnapshotConfiguration m_snapshotConfiguration;
179 bool m_snapshotConfigurationHasBeenSet = false;
180
181 Aws::String m_arn;
182 bool m_arnHasBeenSet = false;
183
185 bool m_jobStatusHasBeenSet = false;
186
187 Aws::Utils::DateTime m_createdTime{};
188 bool m_createdTimeHasBeenSet = false;
189
190 Aws::Utils::DateTime m_lastUpdatedTime{};
191 bool m_lastUpdatedTimeHasBeenSet = false;
192
193 Aws::String m_requestId;
194 bool m_requestIdHasBeenSet = false;
195
196 int m_status{0};
197 bool m_statusHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace QuickSight
202} // 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