AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetImportTaskResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
9#include <aws/neptune-graph/model/Format.h>
10#include <aws/neptune-graph/model/ImportOptions.h>
11#include <aws/neptune-graph/model/ImportTaskDetails.h>
12#include <aws/neptune-graph/model/ImportTaskStatus.h>
13#include <aws/neptune-graph/model/ParquetType.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 NeptuneGraph {
27namespace Model {
29 public:
30 AWS_NEPTUNEGRAPH_API GetImportTaskResult() = default;
33
35
38 inline const Aws::String& GetGraphId() const { return m_graphId; }
39 template <typename GraphIdT = Aws::String>
40 void SetGraphId(GraphIdT&& value) {
41 m_graphIdHasBeenSet = true;
42 m_graphId = std::forward<GraphIdT>(value);
43 }
44 template <typename GraphIdT = Aws::String>
45 GetImportTaskResult& WithGraphId(GraphIdT&& value) {
46 SetGraphId(std::forward<GraphIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetTaskId() const { return m_taskId; }
56 template <typename TaskIdT = Aws::String>
57 void SetTaskId(TaskIdT&& value) {
58 m_taskIdHasBeenSet = true;
59 m_taskId = std::forward<TaskIdT>(value);
60 }
61 template <typename TaskIdT = Aws::String>
62 GetImportTaskResult& WithTaskId(TaskIdT&& value) {
63 SetTaskId(std::forward<TaskIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetSource() const { return m_source; }
74 template <typename SourceT = Aws::String>
75 void SetSource(SourceT&& value) {
76 m_sourceHasBeenSet = true;
77 m_source = std::forward<SourceT>(value);
78 }
79 template <typename SourceT = Aws::String>
80 GetImportTaskResult& WithSource(SourceT&& value) {
81 SetSource(std::forward<SourceT>(value));
82 return *this;
83 }
85
87
95 inline Format GetFormat() const { return m_format; }
96 inline void SetFormat(Format value) {
97 m_formatHasBeenSet = true;
98 m_format = value;
99 }
101 SetFormat(value);
102 return *this;
103 }
105
107
110 inline ParquetType GetParquetType() const { return m_parquetType; }
111 inline void SetParquetType(ParquetType value) {
112 m_parquetTypeHasBeenSet = true;
113 m_parquetType = value;
114 }
116 SetParquetType(value);
117 return *this;
118 }
120
122
126 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
127 template <typename RoleArnT = Aws::String>
128 void SetRoleArn(RoleArnT&& value) {
129 m_roleArnHasBeenSet = true;
130 m_roleArn = std::forward<RoleArnT>(value);
131 }
132 template <typename RoleArnT = Aws::String>
133 GetImportTaskResult& WithRoleArn(RoleArnT&& value) {
134 SetRoleArn(std::forward<RoleArnT>(value));
135 return *this;
136 }
138
140
160 inline ImportTaskStatus GetStatus() const { return m_status; }
161 inline void SetStatus(ImportTaskStatus value) {
162 m_statusHasBeenSet = true;
163 m_status = value;
164 }
166 SetStatus(value);
167 return *this;
168 }
170
172
179 inline const ImportOptions& GetImportOptions() const { return m_importOptions; }
180 template <typename ImportOptionsT = ImportOptions>
181 void SetImportOptions(ImportOptionsT&& value) {
182 m_importOptionsHasBeenSet = true;
183 m_importOptions = std::forward<ImportOptionsT>(value);
184 }
185 template <typename ImportOptionsT = ImportOptions>
186 GetImportTaskResult& WithImportOptions(ImportOptionsT&& value) {
187 SetImportOptions(std::forward<ImportOptionsT>(value));
188 return *this;
189 }
191
193
196 inline const ImportTaskDetails& GetImportTaskDetails() const { return m_importTaskDetails; }
197 template <typename ImportTaskDetailsT = ImportTaskDetails>
198 void SetImportTaskDetails(ImportTaskDetailsT&& value) {
199 m_importTaskDetailsHasBeenSet = true;
200 m_importTaskDetails = std::forward<ImportTaskDetailsT>(value);
201 }
202 template <typename ImportTaskDetailsT = ImportTaskDetails>
203 GetImportTaskResult& WithImportTaskDetails(ImportTaskDetailsT&& value) {
204 SetImportTaskDetails(std::forward<ImportTaskDetailsT>(value));
205 return *this;
206 }
208
210
213 inline int GetAttemptNumber() const { return m_attemptNumber; }
214 inline void SetAttemptNumber(int value) {
215 m_attemptNumberHasBeenSet = true;
216 m_attemptNumber = value;
217 }
219 SetAttemptNumber(value);
220 return *this;
221 }
223
225
228 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
229 template <typename StatusReasonT = Aws::String>
230 void SetStatusReason(StatusReasonT&& value) {
231 m_statusReasonHasBeenSet = true;
232 m_statusReason = std::forward<StatusReasonT>(value);
233 }
234 template <typename StatusReasonT = Aws::String>
235 GetImportTaskResult& WithStatusReason(StatusReasonT&& value) {
236 SetStatusReason(std::forward<StatusReasonT>(value));
237 return *this;
238 }
240
242
243 inline const Aws::String& GetRequestId() const { return m_requestId; }
244 template <typename RequestIdT = Aws::String>
245 void SetRequestId(RequestIdT&& value) {
246 m_requestIdHasBeenSet = true;
247 m_requestId = std::forward<RequestIdT>(value);
248 }
249 template <typename RequestIdT = Aws::String>
250 GetImportTaskResult& WithRequestId(RequestIdT&& value) {
251 SetRequestId(std::forward<RequestIdT>(value));
252 return *this;
253 }
255 private:
256 Aws::String m_graphId;
257
258 Aws::String m_taskId;
259
260 Aws::String m_source;
261
262 Format m_format{Format::NOT_SET};
263
264 ParquetType m_parquetType{ParquetType::NOT_SET};
265
266 Aws::String m_roleArn;
267
269
270 ImportOptions m_importOptions;
271
272 ImportTaskDetails m_importTaskDetails;
273
274 int m_attemptNumber{0};
275
276 Aws::String m_statusReason;
277
278 Aws::String m_requestId;
279 bool m_graphIdHasBeenSet = false;
280 bool m_taskIdHasBeenSet = false;
281 bool m_sourceHasBeenSet = false;
282 bool m_formatHasBeenSet = false;
283 bool m_parquetTypeHasBeenSet = false;
284 bool m_roleArnHasBeenSet = false;
285 bool m_statusHasBeenSet = false;
286 bool m_importOptionsHasBeenSet = false;
287 bool m_importTaskDetailsHasBeenSet = false;
288 bool m_attemptNumberHasBeenSet = false;
289 bool m_statusReasonHasBeenSet = false;
290 bool m_requestIdHasBeenSet = false;
291};
292
293} // namespace Model
294} // namespace NeptuneGraph
295} // namespace Aws
AWS_NEPTUNEGRAPH_API GetImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportTaskResult & WithParquetType(ParquetType value)
GetImportTaskResult & WithAttemptNumber(int value)
AWS_NEPTUNEGRAPH_API GetImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEGRAPH_API GetImportTaskResult()=default
GetImportTaskResult & WithSource(SourceT &&value)
GetImportTaskResult & WithRoleArn(RoleArnT &&value)
GetImportTaskResult & WithImportTaskDetails(ImportTaskDetailsT &&value)
GetImportTaskResult & WithStatusReason(StatusReasonT &&value)
GetImportTaskResult & WithStatus(ImportTaskStatus value)
void SetImportTaskDetails(ImportTaskDetailsT &&value)
const ImportTaskDetails & GetImportTaskDetails() const
GetImportTaskResult & WithFormat(Format value)
GetImportTaskResult & WithGraphId(GraphIdT &&value)
GetImportTaskResult & WithImportOptions(ImportOptionsT &&value)
GetImportTaskResult & WithRequestId(RequestIdT &&value)
GetImportTaskResult & WithTaskId(TaskIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue