AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetExportTaskResult.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/ExportFilter.h>
10#include <aws/neptune-graph/model/ExportFormat.h>
11#include <aws/neptune-graph/model/ExportTaskDetails.h>
12#include <aws/neptune-graph/model/ExportTaskStatus.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 GetExportTaskResult() = 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>
45 GetExportTaskResult& WithGraphId(GraphIdT&& value) {
46 SetGraphId(std::forward<GraphIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
57 template <typename RoleArnT = Aws::String>
58 void SetRoleArn(RoleArnT&& value) {
59 m_roleArnHasBeenSet = true;
60 m_roleArn = std::forward<RoleArnT>(value);
61 }
62 template <typename RoleArnT = Aws::String>
63 GetExportTaskResult& WithRoleArn(RoleArnT&& value) {
64 SetRoleArn(std::forward<RoleArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetTaskId() const { return m_taskId; }
74 template <typename TaskIdT = Aws::String>
75 void SetTaskId(TaskIdT&& value) {
76 m_taskIdHasBeenSet = true;
77 m_taskId = std::forward<TaskIdT>(value);
78 }
79 template <typename TaskIdT = Aws::String>
80 GetExportTaskResult& WithTaskId(TaskIdT&& value) {
81 SetTaskId(std::forward<TaskIdT>(value));
82 return *this;
83 }
85
87
90 inline ExportTaskStatus GetStatus() const { return m_status; }
91 inline void SetStatus(ExportTaskStatus value) {
92 m_statusHasBeenSet = true;
93 m_status = value;
94 }
96 SetStatus(value);
97 return *this;
98 }
100
102
105 inline ExportFormat GetFormat() const { return m_format; }
106 inline void SetFormat(ExportFormat value) {
107 m_formatHasBeenSet = true;
108 m_format = value;
109 }
111 SetFormat(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetDestination() const { return m_destination; }
121 template <typename DestinationT = Aws::String>
122 void SetDestination(DestinationT&& value) {
123 m_destinationHasBeenSet = true;
124 m_destination = std::forward<DestinationT>(value);
125 }
126 template <typename DestinationT = Aws::String>
127 GetExportTaskResult& WithDestination(DestinationT&& value) {
128 SetDestination(std::forward<DestinationT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
138 template <typename KmsKeyIdentifierT = Aws::String>
139 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
140 m_kmsKeyIdentifierHasBeenSet = true;
141 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
142 }
143 template <typename KmsKeyIdentifierT = Aws::String>
144 GetExportTaskResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
145 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
146 return *this;
147 }
149
151
154 inline ParquetType GetParquetType() const { return m_parquetType; }
155 inline void SetParquetType(ParquetType value) {
156 m_parquetTypeHasBeenSet = true;
157 m_parquetType = value;
158 }
160 SetParquetType(value);
161 return *this;
162 }
164
166
169 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
170 template <typename StatusReasonT = Aws::String>
171 void SetStatusReason(StatusReasonT&& value) {
172 m_statusReasonHasBeenSet = true;
173 m_statusReason = std::forward<StatusReasonT>(value);
174 }
175 template <typename StatusReasonT = Aws::String>
176 GetExportTaskResult& WithStatusReason(StatusReasonT&& value) {
177 SetStatusReason(std::forward<StatusReasonT>(value));
178 return *this;
179 }
181
183
186 inline const ExportTaskDetails& GetExportTaskDetails() const { return m_exportTaskDetails; }
187 template <typename ExportTaskDetailsT = ExportTaskDetails>
188 void SetExportTaskDetails(ExportTaskDetailsT&& value) {
189 m_exportTaskDetailsHasBeenSet = true;
190 m_exportTaskDetails = std::forward<ExportTaskDetailsT>(value);
191 }
192 template <typename ExportTaskDetailsT = ExportTaskDetails>
193 GetExportTaskResult& WithExportTaskDetails(ExportTaskDetailsT&& value) {
194 SetExportTaskDetails(std::forward<ExportTaskDetailsT>(value));
195 return *this;
196 }
198
200
203 inline const ExportFilter& GetExportFilter() const { return m_exportFilter; }
204 template <typename ExportFilterT = ExportFilter>
205 void SetExportFilter(ExportFilterT&& value) {
206 m_exportFilterHasBeenSet = true;
207 m_exportFilter = std::forward<ExportFilterT>(value);
208 }
209 template <typename ExportFilterT = ExportFilter>
210 GetExportTaskResult& WithExportFilter(ExportFilterT&& value) {
211 SetExportFilter(std::forward<ExportFilterT>(value));
212 return *this;
213 }
215
217
218 inline const Aws::String& GetRequestId() const { return m_requestId; }
219 template <typename RequestIdT = Aws::String>
220 void SetRequestId(RequestIdT&& value) {
221 m_requestIdHasBeenSet = true;
222 m_requestId = std::forward<RequestIdT>(value);
223 }
224 template <typename RequestIdT = Aws::String>
225 GetExportTaskResult& WithRequestId(RequestIdT&& value) {
226 SetRequestId(std::forward<RequestIdT>(value));
227 return *this;
228 }
230 private:
231 Aws::String m_graphId;
232
233 Aws::String m_roleArn;
234
235 Aws::String m_taskId;
236
238
240
241 Aws::String m_destination;
242
243 Aws::String m_kmsKeyIdentifier;
244
245 ParquetType m_parquetType{ParquetType::NOT_SET};
246
247 Aws::String m_statusReason;
248
249 ExportTaskDetails m_exportTaskDetails;
250
251 ExportFilter m_exportFilter;
252
253 Aws::String m_requestId;
254 bool m_graphIdHasBeenSet = false;
255 bool m_roleArnHasBeenSet = false;
256 bool m_taskIdHasBeenSet = false;
257 bool m_statusHasBeenSet = false;
258 bool m_formatHasBeenSet = false;
259 bool m_destinationHasBeenSet = false;
260 bool m_kmsKeyIdentifierHasBeenSet = false;
261 bool m_parquetTypeHasBeenSet = false;
262 bool m_statusReasonHasBeenSet = false;
263 bool m_exportTaskDetailsHasBeenSet = false;
264 bool m_exportFilterHasBeenSet = false;
265 bool m_requestIdHasBeenSet = false;
266};
267
268} // namespace Model
269} // namespace NeptuneGraph
270} // namespace Aws
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetExportTaskResult & WithRoleArn(RoleArnT &&value)
void SetExportTaskDetails(ExportTaskDetailsT &&value)
GetExportTaskResult & WithDestination(DestinationT &&value)
GetExportTaskResult & WithStatusReason(StatusReasonT &&value)
GetExportTaskResult & WithExportTaskDetails(ExportTaskDetailsT &&value)
GetExportTaskResult & WithTaskId(TaskIdT &&value)
AWS_NEPTUNEGRAPH_API GetExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportTaskResult & WithRequestId(RequestIdT &&value)
GetExportTaskResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetExportTaskResult & WithFormat(ExportFormat value)
AWS_NEPTUNEGRAPH_API GetExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportTaskResult & WithGraphId(GraphIdT &&value)
GetExportTaskResult & WithParquetType(ParquetType value)
GetExportTaskResult & WithExportFilter(ExportFilterT &&value)
AWS_NEPTUNEGRAPH_API GetExportTaskResult()=default
GetExportTaskResult & WithStatus(ExportTaskStatus value)
const ExportTaskDetails & GetExportTaskDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue