AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
GetExportTaskResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10#include <aws/neptune-graph/model/ExportFilter.h>
11#include <aws/neptune-graph/model/ExportFormat.h>
12#include <aws/neptune-graph/model/ExportTaskDetails.h>
13#include <aws/neptune-graph/model/ExportTaskStatus.h>
14#include <aws/neptune-graph/model/ParquetType.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace NeptuneGraph {
28namespace Model {
30 public:
31 AWS_NEPTUNEGRAPH_API GetExportTaskResult() = default;
34
36
39 inline const Aws::String& GetGraphId() const { return m_graphId; }
40 template <typename GraphIdT = Aws::String>
41 void SetGraphId(GraphIdT&& value) {
42 m_graphIdHasBeenSet = true;
43 m_graphId = std::forward<GraphIdT>(value);
44 }
45 template <typename GraphIdT = Aws::String>
46 GetExportTaskResult& WithGraphId(GraphIdT&& value) {
47 SetGraphId(std::forward<GraphIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
58 template <typename RoleArnT = Aws::String>
59 void SetRoleArn(RoleArnT&& value) {
60 m_roleArnHasBeenSet = true;
61 m_roleArn = std::forward<RoleArnT>(value);
62 }
63 template <typename RoleArnT = Aws::String>
64 GetExportTaskResult& WithRoleArn(RoleArnT&& value) {
65 SetRoleArn(std::forward<RoleArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTaskId() const { return m_taskId; }
75 template <typename TaskIdT = Aws::String>
76 void SetTaskId(TaskIdT&& value) {
77 m_taskIdHasBeenSet = true;
78 m_taskId = std::forward<TaskIdT>(value);
79 }
80 template <typename TaskIdT = Aws::String>
81 GetExportTaskResult& WithTaskId(TaskIdT&& value) {
82 SetTaskId(std::forward<TaskIdT>(value));
83 return *this;
84 }
86
88
91 inline ExportTaskStatus GetStatus() const { return m_status; }
92 inline void SetStatus(ExportTaskStatus value) {
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101
103
106 inline ExportFormat GetFormat() const { return m_format; }
107 inline void SetFormat(ExportFormat value) {
108 m_formatHasBeenSet = true;
109 m_format = value;
110 }
112 SetFormat(value);
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDestination() const { return m_destination; }
122 template <typename DestinationT = Aws::String>
123 void SetDestination(DestinationT&& value) {
124 m_destinationHasBeenSet = true;
125 m_destination = std::forward<DestinationT>(value);
126 }
127 template <typename DestinationT = Aws::String>
128 GetExportTaskResult& WithDestination(DestinationT&& value) {
129 SetDestination(std::forward<DestinationT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
139 template <typename KmsKeyIdentifierT = Aws::String>
140 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
141 m_kmsKeyIdentifierHasBeenSet = true;
142 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
143 }
144 template <typename KmsKeyIdentifierT = Aws::String>
145 GetExportTaskResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
146 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
147 return *this;
148 }
150
152
155 inline ParquetType GetParquetType() const { return m_parquetType; }
156 inline void SetParquetType(ParquetType value) {
157 m_parquetTypeHasBeenSet = true;
158 m_parquetType = value;
159 }
161 SetParquetType(value);
162 return *this;
163 }
165
167
170 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
171 template <typename StatusReasonT = Aws::String>
172 void SetStatusReason(StatusReasonT&& value) {
173 m_statusReasonHasBeenSet = true;
174 m_statusReason = std::forward<StatusReasonT>(value);
175 }
176 template <typename StatusReasonT = Aws::String>
177 GetExportTaskResult& WithStatusReason(StatusReasonT&& value) {
178 SetStatusReason(std::forward<StatusReasonT>(value));
179 return *this;
180 }
182
184
187 inline const ExportTaskDetails& GetExportTaskDetails() const { return m_exportTaskDetails; }
188 template <typename ExportTaskDetailsT = ExportTaskDetails>
189 void SetExportTaskDetails(ExportTaskDetailsT&& value) {
190 m_exportTaskDetailsHasBeenSet = true;
191 m_exportTaskDetails = std::forward<ExportTaskDetailsT>(value);
192 }
193 template <typename ExportTaskDetailsT = ExportTaskDetails>
194 GetExportTaskResult& WithExportTaskDetails(ExportTaskDetailsT&& value) {
195 SetExportTaskDetails(std::forward<ExportTaskDetailsT>(value));
196 return *this;
197 }
199
201
204 inline const ExportFilter& GetExportFilter() const { return m_exportFilter; }
205 template <typename ExportFilterT = ExportFilter>
206 void SetExportFilter(ExportFilterT&& value) {
207 m_exportFilterHasBeenSet = true;
208 m_exportFilter = std::forward<ExportFilterT>(value);
209 }
210 template <typename ExportFilterT = ExportFilter>
211 GetExportTaskResult& WithExportFilter(ExportFilterT&& value) {
212 SetExportFilter(std::forward<ExportFilterT>(value));
213 return *this;
214 }
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template <typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) {
222 m_requestIdHasBeenSet = true;
223 m_requestId = std::forward<RequestIdT>(value);
224 }
225 template <typename RequestIdT = Aws::String>
226 GetExportTaskResult& WithRequestId(RequestIdT&& value) {
227 SetRequestId(std::forward<RequestIdT>(value));
228 return *this;
229 }
231 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
232
233 private:
234 Aws::String m_graphId;
235
236 Aws::String m_roleArn;
237
238 Aws::String m_taskId;
239
241
243
244 Aws::String m_destination;
245
246 Aws::String m_kmsKeyIdentifier;
247
248 ParquetType m_parquetType{ParquetType::NOT_SET};
249
250 Aws::String m_statusReason;
251
252 ExportTaskDetails m_exportTaskDetails;
253
254 ExportFilter m_exportFilter;
255
256 Aws::String m_requestId;
257 Aws::Http::HttpResponseCode m_HttpResponseCode;
258 bool m_graphIdHasBeenSet = false;
259 bool m_roleArnHasBeenSet = false;
260 bool m_taskIdHasBeenSet = false;
261 bool m_statusHasBeenSet = false;
262 bool m_formatHasBeenSet = false;
263 bool m_destinationHasBeenSet = false;
264 bool m_kmsKeyIdentifierHasBeenSet = false;
265 bool m_parquetTypeHasBeenSet = false;
266 bool m_statusReasonHasBeenSet = false;
267 bool m_exportTaskDetailsHasBeenSet = false;
268 bool m_exportFilterHasBeenSet = false;
269 bool m_requestIdHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace NeptuneGraph
274} // namespace Aws
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetExportTaskResult & WithRoleArn(RoleArnT &&value)
void SetExportTaskDetails(ExportTaskDetailsT &&value)
GetExportTaskResult & WithDestination(DestinationT &&value)
GetExportTaskResult & WithStatusReason(StatusReasonT &&value)
GetExportTaskResult & WithExportTaskDetails(ExportTaskDetailsT &&value)
GetExportTaskResult & WithTaskId(TaskIdT &&value)
AWS_NEPTUNEGRAPH_API GetExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportTaskResult & WithRequestId(RequestIdT &&value)
GetExportTaskResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetExportTaskResult & WithFormat(ExportFormat value)
AWS_NEPTUNEGRAPH_API GetExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportTaskResult & WithGraphId(GraphIdT &&value)
GetExportTaskResult & WithParquetType(ParquetType value)
GetExportTaskResult & WithExportFilter(ExportFilterT &&value)
AWS_NEPTUNEGRAPH_API GetExportTaskResult()=default
GetExportTaskResult & WithStatus(ExportTaskStatus value)
const ExportTaskDetails & GetExportTaskDetails() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue