AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CancelExportTaskResult.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/ExportFormat.h>
10#include <aws/neptune-graph/model/ExportTaskStatus.h>
11#include <aws/neptune-graph/model/ParquetType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph {
25namespace Model {
27 public:
28 AWS_NEPTUNEGRAPH_API CancelExportTaskResult() = default;
31
33
36 inline const Aws::String& GetGraphId() const { return m_graphId; }
37 template <typename GraphIdT = Aws::String>
38 void SetGraphId(GraphIdT&& value) {
39 m_graphIdHasBeenSet = true;
40 m_graphId = std::forward<GraphIdT>(value);
41 }
42 template <typename GraphIdT = Aws::String>
44 SetGraphId(std::forward<GraphIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
55 template <typename RoleArnT = Aws::String>
56 void SetRoleArn(RoleArnT&& value) {
57 m_roleArnHasBeenSet = true;
58 m_roleArn = std::forward<RoleArnT>(value);
59 }
60 template <typename RoleArnT = Aws::String>
62 SetRoleArn(std::forward<RoleArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetTaskId() const { return m_taskId; }
72 template <typename TaskIdT = Aws::String>
73 void SetTaskId(TaskIdT&& value) {
74 m_taskIdHasBeenSet = true;
75 m_taskId = std::forward<TaskIdT>(value);
76 }
77 template <typename TaskIdT = Aws::String>
79 SetTaskId(std::forward<TaskIdT>(value));
80 return *this;
81 }
83
85
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
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>
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 CancelExportTaskResult& 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 CancelExportTaskResult& WithStatusReason(StatusReasonT&& value) {
177 SetStatusReason(std::forward<StatusReasonT>(value));
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_graphId;
198
199 Aws::String m_roleArn;
200
201 Aws::String m_taskId;
202
204
206
207 Aws::String m_destination;
208
209 Aws::String m_kmsKeyIdentifier;
210
211 ParquetType m_parquetType{ParquetType::NOT_SET};
212
213 Aws::String m_statusReason;
214
215 Aws::String m_requestId;
216 bool m_graphIdHasBeenSet = false;
217 bool m_roleArnHasBeenSet = false;
218 bool m_taskIdHasBeenSet = false;
219 bool m_statusHasBeenSet = false;
220 bool m_formatHasBeenSet = false;
221 bool m_destinationHasBeenSet = false;
222 bool m_kmsKeyIdentifierHasBeenSet = false;
223 bool m_parquetTypeHasBeenSet = false;
224 bool m_statusReasonHasBeenSet = false;
225 bool m_requestIdHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace NeptuneGraph
230} // namespace Aws
AWS_NEPTUNEGRAPH_API CancelExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelExportTaskResult & WithStatus(ExportTaskStatus value)
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