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>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace NeptuneGraph {
39 template <
typename GraphIdT = Aws::String>
41 m_graphIdHasBeenSet =
true;
42 m_graphId = std::forward<GraphIdT>(value);
44 template <
typename GraphIdT = Aws::String>
56 template <
typename TaskIdT = Aws::String>
58 m_taskIdHasBeenSet =
true;
59 m_taskId = std::forward<TaskIdT>(value);
61 template <
typename TaskIdT = Aws::String>
74 template <
typename SourceT = Aws::String>
76 m_sourceHasBeenSet =
true;
77 m_source = std::forward<SourceT>(value);
79 template <
typename SourceT = Aws::String>
97 m_formatHasBeenSet =
true;
112 m_parquetTypeHasBeenSet =
true;
113 m_parquetType = value;
127 template <
typename RoleArnT = Aws::String>
129 m_roleArnHasBeenSet =
true;
130 m_roleArn = std::forward<RoleArnT>(value);
132 template <
typename RoleArnT = Aws::String>
162 m_statusHasBeenSet =
true;
180 template <
typename ImportOptionsT = ImportOptions>
182 m_importOptionsHasBeenSet =
true;
183 m_importOptions = std::forward<ImportOptionsT>(value);
185 template <
typename ImportOptionsT = ImportOptions>
197 template <
typename ImportTaskDetailsT = ImportTaskDetails>
199 m_importTaskDetailsHasBeenSet =
true;
200 m_importTaskDetails = std::forward<ImportTaskDetailsT>(value);
202 template <
typename ImportTaskDetailsT = ImportTaskDetails>
215 m_attemptNumberHasBeenSet =
true;
216 m_attemptNumber = value;
229 template <
typename StatusReasonT = Aws::String>
231 m_statusReasonHasBeenSet =
true;
232 m_statusReason = std::forward<StatusReasonT>(value);
234 template <
typename StatusReasonT = Aws::String>
244 template <
typename RequestIdT = Aws::String>
246 m_requestIdHasBeenSet =
true;
247 m_requestId = std::forward<RequestIdT>(value);
249 template <
typename RequestIdT = Aws::String>
270 ImportOptions m_importOptions;
272 ImportTaskDetails m_importTaskDetails;
274 int m_attemptNumber{0};
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;
AWS_NEPTUNEGRAPH_API GetImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGraphId(GraphIdT &&value)
GetImportTaskResult & WithParquetType(ParquetType value)
void SetSource(SourceT &&value)
GetImportTaskResult & WithAttemptNumber(int value)
AWS_NEPTUNEGRAPH_API GetImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetStatusReason() const
AWS_NEPTUNEGRAPH_API GetImportTaskResult()=default
GetImportTaskResult & WithSource(SourceT &&value)
void SetRequestId(RequestIdT &&value)
int GetAttemptNumber() const
GetImportTaskResult & WithRoleArn(RoleArnT &&value)
void SetRoleArn(RoleArnT &&value)
GetImportTaskResult & WithImportTaskDetails(ImportTaskDetailsT &&value)
GetImportTaskResult & WithStatusReason(StatusReasonT &&value)
ImportTaskStatus GetStatus() const
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetRoleArn() const
GetImportTaskResult & WithStatus(ImportTaskStatus value)
const Aws::String & GetSource() const
void SetParquetType(ParquetType value)
const Aws::String & GetGraphId() const
void SetFormat(Format value)
const Aws::String & GetTaskId() const
ParquetType GetParquetType() const
void SetImportOptions(ImportOptionsT &&value)
void SetImportTaskDetails(ImportTaskDetailsT &&value)
const ImportTaskDetails & GetImportTaskDetails() const
const ImportOptions & GetImportOptions() const
GetImportTaskResult & WithFormat(Format value)
GetImportTaskResult & WithGraphId(GraphIdT &&value)
const Aws::String & GetRequestId() const
void SetTaskId(TaskIdT &&value)
void SetStatus(ImportTaskStatus value)
GetImportTaskResult & WithImportOptions(ImportOptionsT &&value)
void SetAttemptNumber(int 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