AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
StartExportTaskResult.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/ExportTaskStatus.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 StartExportTaskResult() = 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
55 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
56 template <typename RoleArnT = Aws::String>
57 void SetRoleArn(RoleArnT&& value) {
58 m_roleArnHasBeenSet = true;
59 m_roleArn = std::forward<RoleArnT>(value);
60 }
61 template <typename RoleArnT = Aws::String>
63 SetRoleArn(std::forward<RoleArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetTaskId() const { return m_taskId; }
73 template <typename TaskIdT = Aws::String>
74 void SetTaskId(TaskIdT&& value) {
75 m_taskIdHasBeenSet = true;
76 m_taskId = std::forward<TaskIdT>(value);
77 }
78 template <typename TaskIdT = Aws::String>
80 SetTaskId(std::forward<TaskIdT>(value));
81 return *this;
82 }
84
86
89 inline ExportTaskStatus GetStatus() const { return m_status; }
90 inline void SetStatus(ExportTaskStatus value) {
91 m_statusHasBeenSet = true;
92 m_status = value;
93 }
95 SetStatus(value);
96 return *this;
97 }
99
101
104 inline ExportFormat GetFormat() const { return m_format; }
105 inline void SetFormat(ExportFormat value) {
106 m_formatHasBeenSet = true;
107 m_format = value;
108 }
110 SetFormat(value);
111 return *this;
112 }
114
116
119 inline const Aws::String& GetDestination() const { return m_destination; }
120 template <typename DestinationT = Aws::String>
121 void SetDestination(DestinationT&& value) {
122 m_destinationHasBeenSet = true;
123 m_destination = std::forward<DestinationT>(value);
124 }
125 template <typename DestinationT = Aws::String>
126 StartExportTaskResult& WithDestination(DestinationT&& value) {
127 SetDestination(std::forward<DestinationT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
137 template <typename KmsKeyIdentifierT = Aws::String>
138 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
139 m_kmsKeyIdentifierHasBeenSet = true;
140 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
141 }
142 template <typename KmsKeyIdentifierT = Aws::String>
143 StartExportTaskResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
144 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
145 return *this;
146 }
148
150
153 inline ParquetType GetParquetType() const { return m_parquetType; }
154 inline void SetParquetType(ParquetType value) {
155 m_parquetTypeHasBeenSet = true;
156 m_parquetType = value;
157 }
159 SetParquetType(value);
160 return *this;
161 }
163
165
168 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
169 template <typename StatusReasonT = Aws::String>
170 void SetStatusReason(StatusReasonT&& value) {
171 m_statusReasonHasBeenSet = true;
172 m_statusReason = std::forward<StatusReasonT>(value);
173 }
174 template <typename StatusReasonT = Aws::String>
175 StartExportTaskResult& WithStatusReason(StatusReasonT&& value) {
176 SetStatusReason(std::forward<StatusReasonT>(value));
177 return *this;
178 }
180
182
185 inline const ExportFilter& GetExportFilter() const { return m_exportFilter; }
186 template <typename ExportFilterT = ExportFilter>
187 void SetExportFilter(ExportFilterT&& value) {
188 m_exportFilterHasBeenSet = true;
189 m_exportFilter = std::forward<ExportFilterT>(value);
190 }
191 template <typename ExportFilterT = ExportFilter>
192 StartExportTaskResult& WithExportFilter(ExportFilterT&& value) {
193 SetExportFilter(std::forward<ExportFilterT>(value));
194 return *this;
195 }
197
199
200 inline const Aws::String& GetRequestId() const { return m_requestId; }
201 template <typename RequestIdT = Aws::String>
202 void SetRequestId(RequestIdT&& value) {
203 m_requestIdHasBeenSet = true;
204 m_requestId = std::forward<RequestIdT>(value);
205 }
206 template <typename RequestIdT = Aws::String>
208 SetRequestId(std::forward<RequestIdT>(value));
209 return *this;
210 }
212 private:
213 Aws::String m_graphId;
214
215 Aws::String m_roleArn;
216
217 Aws::String m_taskId;
218
220
222
223 Aws::String m_destination;
224
225 Aws::String m_kmsKeyIdentifier;
226
227 ParquetType m_parquetType{ParquetType::NOT_SET};
228
229 Aws::String m_statusReason;
230
231 ExportFilter m_exportFilter;
232
233 Aws::String m_requestId;
234 bool m_graphIdHasBeenSet = false;
235 bool m_roleArnHasBeenSet = false;
236 bool m_taskIdHasBeenSet = false;
237 bool m_statusHasBeenSet = false;
238 bool m_formatHasBeenSet = false;
239 bool m_destinationHasBeenSet = false;
240 bool m_kmsKeyIdentifierHasBeenSet = false;
241 bool m_parquetTypeHasBeenSet = false;
242 bool m_statusReasonHasBeenSet = false;
243 bool m_exportFilterHasBeenSet = false;
244 bool m_requestIdHasBeenSet = false;
245};
246
247} // namespace Model
248} // namespace NeptuneGraph
249} // namespace Aws
AWS_NEPTUNEGRAPH_API StartExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartExportTaskResult & WithExportFilter(ExportFilterT &&value)
StartExportTaskResult & WithStatusReason(StatusReasonT &&value)
AWS_NEPTUNEGRAPH_API StartExportTaskResult()=default
StartExportTaskResult & WithRequestId(RequestIdT &&value)
StartExportTaskResult & WithTaskId(TaskIdT &&value)
AWS_NEPTUNEGRAPH_API StartExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartExportTaskResult & WithFormat(ExportFormat value)
StartExportTaskResult & WithGraphId(GraphIdT &&value)
StartExportTaskResult & WithRoleArn(RoleArnT &&value)
StartExportTaskResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
StartExportTaskResult & WithDestination(DestinationT &&value)
StartExportTaskResult & WithParquetType(ParquetType value)
StartExportTaskResult & WithStatus(ExportTaskStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue