AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StartImportTaskResult.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/ImportTaskStatus.h>
12#include <aws/neptune-graph/model/ParquetType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NeptuneGraph {
26namespace Model {
28 public:
29 AWS_NEPTUNEGRAPH_API StartImportTaskResult() = default;
32
34
37 inline const Aws::String& GetGraphId() const { return m_graphId; }
38 template <typename GraphIdT = Aws::String>
39 void SetGraphId(GraphIdT&& value) {
40 m_graphIdHasBeenSet = true;
41 m_graphId = std::forward<GraphIdT>(value);
42 }
43 template <typename GraphIdT = Aws::String>
45 SetGraphId(std::forward<GraphIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetTaskId() const { return m_taskId; }
55 template <typename TaskIdT = Aws::String>
56 void SetTaskId(TaskIdT&& value) {
57 m_taskIdHasBeenSet = true;
58 m_taskId = std::forward<TaskIdT>(value);
59 }
60 template <typename TaskIdT = Aws::String>
62 SetTaskId(std::forward<TaskIdT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetSource() const { return m_source; }
73 template <typename SourceT = Aws::String>
74 void SetSource(SourceT&& value) {
75 m_sourceHasBeenSet = true;
76 m_source = std::forward<SourceT>(value);
77 }
78 template <typename SourceT = Aws::String>
80 SetSource(std::forward<SourceT>(value));
81 return *this;
82 }
84
86
91 inline Format GetFormat() const { return m_format; }
92 inline void SetFormat(Format value) {
93 m_formatHasBeenSet = true;
94 m_format = value;
95 }
97 SetFormat(value);
98 return *this;
99 }
101
103
106 inline ParquetType GetParquetType() const { return m_parquetType; }
107 inline void SetParquetType(ParquetType value) {
108 m_parquetTypeHasBeenSet = true;
109 m_parquetType = value;
110 }
112 SetParquetType(value);
113 return *this;
114 }
116
118
122 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
123 template <typename RoleArnT = Aws::String>
124 void SetRoleArn(RoleArnT&& value) {
125 m_roleArnHasBeenSet = true;
126 m_roleArn = std::forward<RoleArnT>(value);
127 }
128 template <typename RoleArnT = Aws::String>
130 SetRoleArn(std::forward<RoleArnT>(value));
131 return *this;
132 }
134
136
139 inline ImportTaskStatus GetStatus() const { return m_status; }
140 inline void SetStatus(ImportTaskStatus value) {
141 m_statusHasBeenSet = true;
142 m_status = value;
143 }
145 SetStatus(value);
146 return *this;
147 }
149
151
152 inline const ImportOptions& GetImportOptions() const { return m_importOptions; }
153 template <typename ImportOptionsT = ImportOptions>
154 void SetImportOptions(ImportOptionsT&& value) {
155 m_importOptionsHasBeenSet = true;
156 m_importOptions = std::forward<ImportOptionsT>(value);
157 }
158 template <typename ImportOptionsT = ImportOptions>
159 StartImportTaskResult& WithImportOptions(ImportOptionsT&& value) {
160 SetImportOptions(std::forward<ImportOptionsT>(value));
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_graphId;
181
182 Aws::String m_taskId;
183
184 Aws::String m_source;
185
186 Format m_format{Format::NOT_SET};
187
188 ParquetType m_parquetType{ParquetType::NOT_SET};
189
190 Aws::String m_roleArn;
191
193
194 ImportOptions m_importOptions;
195
196 Aws::String m_requestId;
197 bool m_graphIdHasBeenSet = false;
198 bool m_taskIdHasBeenSet = false;
199 bool m_sourceHasBeenSet = false;
200 bool m_formatHasBeenSet = false;
201 bool m_parquetTypeHasBeenSet = false;
202 bool m_roleArnHasBeenSet = false;
203 bool m_statusHasBeenSet = false;
204 bool m_importOptionsHasBeenSet = false;
205 bool m_requestIdHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace NeptuneGraph
210} // 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