AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ImportTaskSummary.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 {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace NeptuneGraph {
23namespace Model {
24
31 public:
32 AWS_NEPTUNEGRAPH_API ImportTaskSummary() = default;
33 AWS_NEPTUNEGRAPH_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NEPTUNEGRAPH_API ImportTaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetGraphId() const { return m_graphId; }
42 inline bool GraphIdHasBeenSet() const { return m_graphIdHasBeenSet; }
43 template <typename GraphIdT = Aws::String>
44 void SetGraphId(GraphIdT&& value) {
45 m_graphIdHasBeenSet = true;
46 m_graphId = std::forward<GraphIdT>(value);
47 }
48 template <typename GraphIdT = Aws::String>
49 ImportTaskSummary& WithGraphId(GraphIdT&& value) {
50 SetGraphId(std::forward<GraphIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTaskId() const { return m_taskId; }
60 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
61 template <typename TaskIdT = Aws::String>
62 void SetTaskId(TaskIdT&& value) {
63 m_taskIdHasBeenSet = true;
64 m_taskId = std::forward<TaskIdT>(value);
65 }
66 template <typename TaskIdT = Aws::String>
67 ImportTaskSummary& WithTaskId(TaskIdT&& value) {
68 SetTaskId(std::forward<TaskIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetSource() const { return m_source; }
79 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
80 template <typename SourceT = Aws::String>
81 void SetSource(SourceT&& value) {
82 m_sourceHasBeenSet = true;
83 m_source = std::forward<SourceT>(value);
84 }
85 template <typename SourceT = Aws::String>
86 ImportTaskSummary& WithSource(SourceT&& value) {
87 SetSource(std::forward<SourceT>(value));
88 return *this;
89 }
91
93
101 inline Format GetFormat() const { return m_format; }
102 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
103 inline void SetFormat(Format value) {
104 m_formatHasBeenSet = true;
105 m_format = value;
106 }
108 SetFormat(value);
109 return *this;
110 }
112
114
117 inline ParquetType GetParquetType() const { return m_parquetType; }
118 inline bool ParquetTypeHasBeenSet() const { return m_parquetTypeHasBeenSet; }
119 inline void SetParquetType(ParquetType value) {
120 m_parquetTypeHasBeenSet = true;
121 m_parquetType = value;
122 }
124 SetParquetType(value);
125 return *this;
126 }
128
130
134 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
135 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
136 template <typename RoleArnT = Aws::String>
137 void SetRoleArn(RoleArnT&& value) {
138 m_roleArnHasBeenSet = true;
139 m_roleArn = std::forward<RoleArnT>(value);
140 }
141 template <typename RoleArnT = Aws::String>
142 ImportTaskSummary& WithRoleArn(RoleArnT&& value) {
143 SetRoleArn(std::forward<RoleArnT>(value));
144 return *this;
145 }
147
149
152 inline ImportTaskStatus GetStatus() const { return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(ImportTaskStatus value) {
155 m_statusHasBeenSet = true;
156 m_status = value;
157 }
159 SetStatus(value);
160 return *this;
161 }
163 private:
164 Aws::String m_graphId;
165
166 Aws::String m_taskId;
167
168 Aws::String m_source;
169
170 Format m_format{Format::NOT_SET};
171
172 ParquetType m_parquetType{ParquetType::NOT_SET};
173
174 Aws::String m_roleArn;
175
177 bool m_graphIdHasBeenSet = false;
178 bool m_taskIdHasBeenSet = false;
179 bool m_sourceHasBeenSet = false;
180 bool m_formatHasBeenSet = false;
181 bool m_parquetTypeHasBeenSet = false;
182 bool m_roleArnHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace NeptuneGraph
188} // namespace Aws
ImportTaskSummary & WithSource(SourceT &&value)
ImportTaskSummary & WithTaskId(TaskIdT &&value)
ImportTaskSummary & WithParquetType(ParquetType value)
ImportTaskSummary & WithFormat(Format value)
ImportTaskSummary & WithStatus(ImportTaskStatus value)
ImportTaskSummary & WithGraphId(GraphIdT &&value)
ImportTaskSummary & WithRoleArn(RoleArnT &&value)
AWS_NEPTUNEGRAPH_API ImportTaskSummary()=default
AWS_NEPTUNEGRAPH_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEGRAPH_API ImportTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue