7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/model/Format.h>
10#include <aws/neptune-graph/model/ParquetType.h>
11#include <aws/neptune-graph/model/ImportTaskStatus.h>
12#include <aws/neptune-graph/model/ImportOptions.h>
13#include <aws/neptune-graph/model/ImportTaskDetails.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename GraphIdT = Aws::String>
46 void SetGraphId(GraphIdT&& value) { m_graphIdHasBeenSet =
true; m_graphId = std::forward<GraphIdT>(value); }
47 template<
typename GraphIdT = Aws::String>
56 template<
typename TaskIdT = Aws::String>
57 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet =
true; m_taskId = std::forward<TaskIdT>(value); }
58 template<
typename TaskIdT = Aws::String>
68 template<
typename SourceT = Aws::String>
69 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
70 template<
typename SourceT = Aws::String>
84 inline void SetFormat(
Format value) { m_formatHasBeenSet =
true; m_format = value; }
103 template<
typename RoleArnT = Aws::String>
104 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
105 template<
typename RoleArnT = Aws::String>
144 template<
typename ImportOptionsT = ImportOptions>
145 void SetImportOptions(ImportOptionsT&& value) { m_importOptionsHasBeenSet =
true; m_importOptions = std::forward<ImportOptionsT>(value); }
146 template<
typename ImportOptionsT = ImportOptions>
155 template<
typename ImportTaskDetailsT = ImportTaskDetails>
156 void SetImportTaskDetails(ImportTaskDetailsT&& value) { m_importTaskDetailsHasBeenSet =
true; m_importTaskDetails = std::forward<ImportTaskDetailsT>(value); }
157 template<
typename ImportTaskDetailsT = ImportTaskDetails>
166 inline void SetAttemptNumber(
int value) { m_attemptNumberHasBeenSet =
true; m_attemptNumber = value; }
175 template<
typename StatusReasonT = Aws::String>
176 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
177 template<
typename StatusReasonT = Aws::String>
184 template<
typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
186 template<
typename RequestIdT = Aws::String>
192 bool m_graphIdHasBeenSet =
false;
195 bool m_taskIdHasBeenSet =
false;
198 bool m_sourceHasBeenSet =
false;
201 bool m_formatHasBeenSet =
false;
204 bool m_parquetTypeHasBeenSet =
false;
207 bool m_roleArnHasBeenSet =
false;
210 bool m_statusHasBeenSet =
false;
212 ImportOptions m_importOptions;
213 bool m_importOptionsHasBeenSet =
false;
215 ImportTaskDetails m_importTaskDetails;
216 bool m_importTaskDetailsHasBeenSet =
false;
218 int m_attemptNumber{0};
219 bool m_attemptNumberHasBeenSet =
false;
222 bool m_statusReasonHasBeenSet =
false;
225 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