AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
StartImportTaskResult.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/Format.h>
11#include <aws/neptune-graph/model/ImportOptions.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 StartImportTaskResult() = 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>
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>
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>
81 SetSource(std::forward<SourceT>(value));
82 return *this;
83 }
85
87
92 inline Format GetFormat() const { return m_format; }
93 inline void SetFormat(Format value) {
94 m_formatHasBeenSet = true;
95 m_format = value;
96 }
98 SetFormat(value);
99 return *this;
100 }
102
104
107 inline ParquetType GetParquetType() const { return m_parquetType; }
108 inline void SetParquetType(ParquetType value) {
109 m_parquetTypeHasBeenSet = true;
110 m_parquetType = value;
111 }
113 SetParquetType(value);
114 return *this;
115 }
117
119
123 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
124 template <typename RoleArnT = Aws::String>
125 void SetRoleArn(RoleArnT&& value) {
126 m_roleArnHasBeenSet = true;
127 m_roleArn = std::forward<RoleArnT>(value);
128 }
129 template <typename RoleArnT = Aws::String>
131 SetRoleArn(std::forward<RoleArnT>(value));
132 return *this;
133 }
135
137
140 inline ImportTaskStatus GetStatus() const { return m_status; }
141 inline void SetStatus(ImportTaskStatus value) {
142 m_statusHasBeenSet = true;
143 m_status = value;
144 }
146 SetStatus(value);
147 return *this;
148 }
150
152
153 inline const ImportOptions& GetImportOptions() const { return m_importOptions; }
154 template <typename ImportOptionsT = ImportOptions>
155 void SetImportOptions(ImportOptionsT&& value) {
156 m_importOptionsHasBeenSet = true;
157 m_importOptions = std::forward<ImportOptionsT>(value);
158 }
159 template <typename ImportOptionsT = ImportOptions>
160 StartImportTaskResult& WithImportOptions(ImportOptionsT&& value) {
161 SetImportOptions(std::forward<ImportOptionsT>(value));
162 return *this;
163 }
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template <typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) {
171 m_requestIdHasBeenSet = true;
172 m_requestId = std::forward<RequestIdT>(value);
173 }
174 template <typename RequestIdT = Aws::String>
176 SetRequestId(std::forward<RequestIdT>(value));
177 return *this;
178 }
180 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
181
182 private:
183 Aws::String m_graphId;
184
185 Aws::String m_taskId;
186
187 Aws::String m_source;
188
189 Format m_format{Format::NOT_SET};
190
191 ParquetType m_parquetType{ParquetType::NOT_SET};
192
193 Aws::String m_roleArn;
194
196
197 ImportOptions m_importOptions;
198
199 Aws::String m_requestId;
200 Aws::Http::HttpResponseCode m_HttpResponseCode;
201 bool m_graphIdHasBeenSet = false;
202 bool m_taskIdHasBeenSet = false;
203 bool m_sourceHasBeenSet = false;
204 bool m_formatHasBeenSet = false;
205 bool m_parquetTypeHasBeenSet = false;
206 bool m_roleArnHasBeenSet = false;
207 bool m_statusHasBeenSet = false;
208 bool m_importOptionsHasBeenSet = false;
209 bool m_requestIdHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace NeptuneGraph
214} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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