AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExportTaskSummary.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 {
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 ExportTaskSummary() = default;
33 AWS_NEPTUNEGRAPH_API ExportTaskSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NEPTUNEGRAPH_API ExportTaskSummary& 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 ExportTaskSummary& WithGraphId(GraphIdT&& value) {
50 SetGraphId(std::forward<GraphIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 template <typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) {
64 m_roleArnHasBeenSet = true;
65 m_roleArn = std::forward<RoleArnT>(value);
66 }
67 template <typename RoleArnT = Aws::String>
68 ExportTaskSummary& WithRoleArn(RoleArnT&& value) {
69 SetRoleArn(std::forward<RoleArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetTaskId() const { return m_taskId; }
79 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
80 template <typename TaskIdT = Aws::String>
81 void SetTaskId(TaskIdT&& value) {
82 m_taskIdHasBeenSet = true;
83 m_taskId = std::forward<TaskIdT>(value);
84 }
85 template <typename TaskIdT = Aws::String>
86 ExportTaskSummary& WithTaskId(TaskIdT&& value) {
87 SetTaskId(std::forward<TaskIdT>(value));
88 return *this;
89 }
91
93
96 inline ExportTaskStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(ExportTaskStatus value) {
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline ExportFormat GetFormat() const { return m_format; }
113 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
114 inline void SetFormat(ExportFormat value) {
115 m_formatHasBeenSet = true;
116 m_format = value;
117 }
119 SetFormat(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetDestination() const { return m_destination; }
129 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
130 template <typename DestinationT = Aws::String>
131 void SetDestination(DestinationT&& value) {
132 m_destinationHasBeenSet = true;
133 m_destination = std::forward<DestinationT>(value);
134 }
135 template <typename DestinationT = Aws::String>
136 ExportTaskSummary& WithDestination(DestinationT&& value) {
137 SetDestination(std::forward<DestinationT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
147 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
148 template <typename KmsKeyIdentifierT = Aws::String>
149 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
150 m_kmsKeyIdentifierHasBeenSet = true;
151 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
152 }
153 template <typename KmsKeyIdentifierT = Aws::String>
154 ExportTaskSummary& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
155 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
156 return *this;
157 }
159
161
164 inline ParquetType GetParquetType() const { return m_parquetType; }
165 inline bool ParquetTypeHasBeenSet() const { return m_parquetTypeHasBeenSet; }
166 inline void SetParquetType(ParquetType value) {
167 m_parquetTypeHasBeenSet = true;
168 m_parquetType = value;
169 }
171 SetParquetType(value);
172 return *this;
173 }
175
177
180 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
181 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
182 template <typename StatusReasonT = Aws::String>
183 void SetStatusReason(StatusReasonT&& value) {
184 m_statusReasonHasBeenSet = true;
185 m_statusReason = std::forward<StatusReasonT>(value);
186 }
187 template <typename StatusReasonT = Aws::String>
188 ExportTaskSummary& WithStatusReason(StatusReasonT&& value) {
189 SetStatusReason(std::forward<StatusReasonT>(value));
190 return *this;
191 }
193 private:
194 Aws::String m_graphId;
195
196 Aws::String m_roleArn;
197
198 Aws::String m_taskId;
199
201
203
204 Aws::String m_destination;
205
206 Aws::String m_kmsKeyIdentifier;
207
208 ParquetType m_parquetType{ParquetType::NOT_SET};
209
210 Aws::String m_statusReason;
211 bool m_graphIdHasBeenSet = false;
212 bool m_roleArnHasBeenSet = false;
213 bool m_taskIdHasBeenSet = false;
214 bool m_statusHasBeenSet = false;
215 bool m_formatHasBeenSet = false;
216 bool m_destinationHasBeenSet = false;
217 bool m_kmsKeyIdentifierHasBeenSet = false;
218 bool m_parquetTypeHasBeenSet = false;
219 bool m_statusReasonHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace NeptuneGraph
224} // namespace Aws
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_NEPTUNEGRAPH_API ExportTaskSummary()=default
ExportTaskSummary & WithGraphId(GraphIdT &&value)
AWS_NEPTUNEGRAPH_API ExportTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTaskSummary & WithDestination(DestinationT &&value)
ExportTaskSummary & WithFormat(ExportFormat value)
AWS_NEPTUNEGRAPH_API ExportTaskSummary(Aws::Utils::Json::JsonView jsonValue)
ExportTaskSummary & WithStatus(ExportTaskStatus value)
ExportTaskSummary & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetKmsKeyIdentifier() const
ExportTaskSummary & WithStatusReason(StatusReasonT &&value)
ExportTaskSummary & WithTaskId(TaskIdT &&value)
ExportTaskSummary & WithParquetType(ParquetType value)
ExportTaskSummary & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue