AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CancelImportTaskResult.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/Format.h>
10#include <aws/neptune-graph/model/ImportTaskStatus.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 CancelImportTaskResult() = 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
53 inline const Aws::String& GetTaskId() const { return m_taskId; }
54 template <typename TaskIdT = Aws::String>
55 void SetTaskId(TaskIdT&& value) {
56 m_taskIdHasBeenSet = true;
57 m_taskId = std::forward<TaskIdT>(value);
58 }
59 template <typename TaskIdT = Aws::String>
61 SetTaskId(std::forward<TaskIdT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetSource() const { return m_source; }
72 template <typename SourceT = Aws::String>
73 void SetSource(SourceT&& value) {
74 m_sourceHasBeenSet = true;
75 m_source = std::forward<SourceT>(value);
76 }
77 template <typename SourceT = Aws::String>
79 SetSource(std::forward<SourceT>(value));
80 return *this;
81 }
83
85
93 inline Format GetFormat() const { return m_format; }
94 inline void SetFormat(Format value) {
95 m_formatHasBeenSet = true;
96 m_format = value;
97 }
99 SetFormat(value);
100 return *this;
101 }
103
105
108 inline ParquetType GetParquetType() const { return m_parquetType; }
109 inline void SetParquetType(ParquetType value) {
110 m_parquetTypeHasBeenSet = true;
111 m_parquetType = value;
112 }
114 SetParquetType(value);
115 return *this;
116 }
118
120
124 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
125 template <typename RoleArnT = Aws::String>
126 void SetRoleArn(RoleArnT&& value) {
127 m_roleArnHasBeenSet = true;
128 m_roleArn = std::forward<RoleArnT>(value);
129 }
130 template <typename RoleArnT = Aws::String>
132 SetRoleArn(std::forward<RoleArnT>(value));
133 return *this;
134 }
136
138
142 inline ImportTaskStatus GetStatus() const { return m_status; }
143 inline void SetStatus(ImportTaskStatus value) {
144 m_statusHasBeenSet = true;
145 m_status = value;
146 }
148 SetStatus(value);
149 return *this;
150 }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template <typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) {
158 m_requestIdHasBeenSet = true;
159 m_requestId = std::forward<RequestIdT>(value);
160 }
161 template <typename RequestIdT = Aws::String>
163 SetRequestId(std::forward<RequestIdT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_graphId;
169
170 Aws::String m_taskId;
171
172 Aws::String m_source;
173
174 Format m_format{Format::NOT_SET};
175
176 ParquetType m_parquetType{ParquetType::NOT_SET};
177
178 Aws::String m_roleArn;
179
181
182 Aws::String m_requestId;
183 bool m_graphIdHasBeenSet = false;
184 bool m_taskIdHasBeenSet = false;
185 bool m_sourceHasBeenSet = false;
186 bool m_formatHasBeenSet = false;
187 bool m_parquetTypeHasBeenSet = false;
188 bool m_roleArnHasBeenSet = false;
189 bool m_statusHasBeenSet = false;
190 bool m_requestIdHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace NeptuneGraph
195} // 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)
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