AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CancelExportTaskResult.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/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 CancelExportTaskResult() = 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
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
121 inline const Aws::String& GetDestination() const { return m_destination; }
122 template <typename DestinationT = Aws::String>
123 void SetDestination(DestinationT&& value) {
124 m_destinationHasBeenSet = true;
125 m_destination = std::forward<DestinationT>(value);
126 }
127 template <typename DestinationT = Aws::String>
129 SetDestination(std::forward<DestinationT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
139 template <typename KmsKeyIdentifierT = Aws::String>
140 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
141 m_kmsKeyIdentifierHasBeenSet = true;
142 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
143 }
144 template <typename KmsKeyIdentifierT = Aws::String>
145 CancelExportTaskResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
146 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
147 return *this;
148 }
150
152
155 inline ParquetType GetParquetType() const { return m_parquetType; }
156 inline void SetParquetType(ParquetType value) {
157 m_parquetTypeHasBeenSet = true;
158 m_parquetType = value;
159 }
161 SetParquetType(value);
162 return *this;
163 }
165
167
170 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
171 template <typename StatusReasonT = Aws::String>
172 void SetStatusReason(StatusReasonT&& value) {
173 m_statusReasonHasBeenSet = true;
174 m_statusReason = std::forward<StatusReasonT>(value);
175 }
176 template <typename StatusReasonT = Aws::String>
177 CancelExportTaskResult& WithStatusReason(StatusReasonT&& value) {
178 SetStatusReason(std::forward<StatusReasonT>(value));
179 return *this;
180 }
182
184
185 inline const Aws::String& GetRequestId() const { return m_requestId; }
186 template <typename RequestIdT = Aws::String>
187 void SetRequestId(RequestIdT&& value) {
188 m_requestIdHasBeenSet = true;
189 m_requestId = std::forward<RequestIdT>(value);
190 }
191 template <typename RequestIdT = Aws::String>
193 SetRequestId(std::forward<RequestIdT>(value));
194 return *this;
195 }
197 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
198
199 private:
200 Aws::String m_graphId;
201
202 Aws::String m_roleArn;
203
204 Aws::String m_taskId;
205
207
209
210 Aws::String m_destination;
211
212 Aws::String m_kmsKeyIdentifier;
213
214 ParquetType m_parquetType{ParquetType::NOT_SET};
215
216 Aws::String m_statusReason;
217
218 Aws::String m_requestId;
219 Aws::Http::HttpResponseCode m_HttpResponseCode;
220 bool m_graphIdHasBeenSet = false;
221 bool m_roleArnHasBeenSet = false;
222 bool m_taskIdHasBeenSet = false;
223 bool m_statusHasBeenSet = false;
224 bool m_formatHasBeenSet = false;
225 bool m_destinationHasBeenSet = false;
226 bool m_kmsKeyIdentifierHasBeenSet = false;
227 bool m_parquetTypeHasBeenSet = false;
228 bool m_statusReasonHasBeenSet = false;
229 bool m_requestIdHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace NeptuneGraph
234} // namespace Aws
AWS_NEPTUNEGRAPH_API CancelExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelExportTaskResult & WithStatus(ExportTaskStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CancelExportTaskResult & WithTaskId(TaskIdT &&value)
CancelExportTaskResult & WithRequestId(RequestIdT &&value)
CancelExportTaskResult & WithStatusReason(StatusReasonT &&value)
CancelExportTaskResult & WithGraphId(GraphIdT &&value)
CancelExportTaskResult & WithParquetType(ParquetType value)
AWS_NEPTUNEGRAPH_API CancelExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEGRAPH_API CancelExportTaskResult()=default
CancelExportTaskResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CancelExportTaskResult & WithRoleArn(RoleArnT &&value)
CancelExportTaskResult & WithFormat(ExportFormat value)
CancelExportTaskResult & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue