AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
CancelImportTaskResult.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/Format.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 CancelImportTaskResult() = 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
94 inline Format GetFormat() const { return m_format; }
95 inline void SetFormat(Format value) {
96 m_formatHasBeenSet = true;
97 m_format = value;
98 }
100 SetFormat(value);
101 return *this;
102 }
104
106
109 inline ParquetType GetParquetType() const { return m_parquetType; }
110 inline void SetParquetType(ParquetType value) {
111 m_parquetTypeHasBeenSet = true;
112 m_parquetType = value;
113 }
115 SetParquetType(value);
116 return *this;
117 }
119
121
125 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
126 template <typename RoleArnT = Aws::String>
127 void SetRoleArn(RoleArnT&& value) {
128 m_roleArnHasBeenSet = true;
129 m_roleArn = std::forward<RoleArnT>(value);
130 }
131 template <typename RoleArnT = Aws::String>
133 SetRoleArn(std::forward<RoleArnT>(value));
134 return *this;
135 }
137
139
143 inline ImportTaskStatus GetStatus() const { return m_status; }
144 inline void SetStatus(ImportTaskStatus value) {
145 m_statusHasBeenSet = true;
146 m_status = value;
147 }
149 SetStatus(value);
150 return *this;
151 }
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template <typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) {
159 m_requestIdHasBeenSet = true;
160 m_requestId = std::forward<RequestIdT>(value);
161 }
162 template <typename RequestIdT = Aws::String>
164 SetRequestId(std::forward<RequestIdT>(value));
165 return *this;
166 }
168 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
169
170 private:
171 Aws::String m_graphId;
172
173 Aws::String m_taskId;
174
175 Aws::String m_source;
176
177 Format m_format{Format::NOT_SET};
178
179 ParquetType m_parquetType{ParquetType::NOT_SET};
180
181 Aws::String m_roleArn;
182
184
185 Aws::String m_requestId;
186 Aws::Http::HttpResponseCode m_HttpResponseCode;
187 bool m_graphIdHasBeenSet = false;
188 bool m_taskIdHasBeenSet = false;
189 bool m_sourceHasBeenSet = false;
190 bool m_formatHasBeenSet = false;
191 bool m_parquetTypeHasBeenSet = false;
192 bool m_roleArnHasBeenSet = false;
193 bool m_statusHasBeenSet = false;
194 bool m_requestIdHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace NeptuneGraph
199} // namespace Aws
CancelImportTaskResult & WithFormat(Format value)
AWS_NEPTUNEGRAPH_API CancelImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelImportTaskResult & WithParquetType(ParquetType value)
CancelImportTaskResult & WithSource(SourceT &&value)
CancelImportTaskResult & WithRoleArn(RoleArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CancelImportTaskResult & WithTaskId(TaskIdT &&value)
CancelImportTaskResult & WithGraphId(GraphIdT &&value)
AWS_NEPTUNEGRAPH_API CancelImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelImportTaskResult & WithStatus(ImportTaskStatus value)
CancelImportTaskResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEGRAPH_API CancelImportTaskResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue