AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
StartImportTaskResult.h
1
6#pragma once
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 <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 NeptuneGraph
28{
29namespace Model
30{
32 {
33 public:
34 AWS_NEPTUNEGRAPH_API StartImportTaskResult() = default;
37
38
40
43 inline const Aws::String& GetGraphId() const { return m_graphId; }
44 template<typename GraphIdT = Aws::String>
45 void SetGraphId(GraphIdT&& value) { m_graphIdHasBeenSet = true; m_graphId = std::forward<GraphIdT>(value); }
46 template<typename GraphIdT = Aws::String>
47 StartImportTaskResult& WithGraphId(GraphIdT&& value) { SetGraphId(std::forward<GraphIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetTaskId() const { return m_taskId; }
55 template<typename TaskIdT = Aws::String>
56 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
57 template<typename TaskIdT = Aws::String>
58 StartImportTaskResult& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetSource() const { return m_source; }
67 template<typename SourceT = Aws::String>
68 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
69 template<typename SourceT = Aws::String>
70 StartImportTaskResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
72
74
79 inline Format GetFormat() const { return m_format; }
80 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
81 inline StartImportTaskResult& WithFormat(Format value) { SetFormat(value); return *this;}
83
85
88 inline ParquetType GetParquetType() const { return m_parquetType; }
89 inline void SetParquetType(ParquetType value) { m_parquetTypeHasBeenSet = true; m_parquetType = value; }
90 inline StartImportTaskResult& WithParquetType(ParquetType value) { SetParquetType(value); return *this;}
92
94
98 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
99 template<typename RoleArnT = Aws::String>
100 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
101 template<typename RoleArnT = Aws::String>
102 StartImportTaskResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
104
106
109 inline ImportTaskStatus GetStatus() const { return m_status; }
110 inline void SetStatus(ImportTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
111 inline StartImportTaskResult& WithStatus(ImportTaskStatus value) { SetStatus(value); return *this;}
113
115
116 inline const ImportOptions& GetImportOptions() const { return m_importOptions; }
117 template<typename ImportOptionsT = ImportOptions>
118 void SetImportOptions(ImportOptionsT&& value) { m_importOptionsHasBeenSet = true; m_importOptions = std::forward<ImportOptionsT>(value); }
119 template<typename ImportOptionsT = ImportOptions>
120 StartImportTaskResult& WithImportOptions(ImportOptionsT&& value) { SetImportOptions(std::forward<ImportOptionsT>(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 StartImportTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_graphId;
134 bool m_graphIdHasBeenSet = false;
135
136 Aws::String m_taskId;
137 bool m_taskIdHasBeenSet = false;
138
139 Aws::String m_source;
140 bool m_sourceHasBeenSet = false;
141
142 Format m_format{Format::NOT_SET};
143 bool m_formatHasBeenSet = false;
144
145 ParquetType m_parquetType{ParquetType::NOT_SET};
146 bool m_parquetTypeHasBeenSet = false;
147
148 Aws::String m_roleArn;
149 bool m_roleArnHasBeenSet = false;
150
152 bool m_statusHasBeenSet = false;
153
154 ImportOptions m_importOptions;
155 bool m_importOptionsHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace NeptuneGraph
163} // namespace Aws
StartImportTaskResult & WithGraphId(GraphIdT &&value)
StartImportTaskResult & WithRequestId(RequestIdT &&value)
StartImportTaskResult & WithTaskId(TaskIdT &&value)
AWS_NEPTUNEGRAPH_API StartImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportTaskResult & WithParquetType(ParquetType value)
StartImportTaskResult & WithSource(SourceT &&value)
StartImportTaskResult & WithStatus(ImportTaskStatus value)
AWS_NEPTUNEGRAPH_API StartImportTaskResult()=default
StartImportTaskResult & WithRoleArn(RoleArnT &&value)
StartImportTaskResult & WithFormat(Format value)
AWS_NEPTUNEGRAPH_API StartImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportTaskResult & WithImportOptions(ImportOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue