AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ExportTaskSummary.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/model/ExportTaskStatus.h>
10#include <aws/neptune-graph/model/ExportFormat.h>
11#include <aws/neptune-graph/model/ParquetType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_NEPTUNEGRAPH_API ExportTaskSummary() = default;
38 AWS_NEPTUNEGRAPH_API ExportTaskSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEGRAPH_API ExportTaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetGraphId() const { return m_graphId; }
48 inline bool GraphIdHasBeenSet() const { return m_graphIdHasBeenSet; }
49 template<typename GraphIdT = Aws::String>
50 void SetGraphId(GraphIdT&& value) { m_graphIdHasBeenSet = true; m_graphId = std::forward<GraphIdT>(value); }
51 template<typename GraphIdT = Aws::String>
52 ExportTaskSummary& WithGraphId(GraphIdT&& value) { SetGraphId(std::forward<GraphIdT>(value)); return *this;}
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) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
64 template<typename RoleArnT = Aws::String>
65 ExportTaskSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetTaskId() const { return m_taskId; }
73 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
74 template<typename TaskIdT = Aws::String>
75 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
76 template<typename TaskIdT = Aws::String>
77 ExportTaskSummary& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
79
81
84 inline ExportTaskStatus GetStatus() const { return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(ExportTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
87 inline ExportTaskSummary& WithStatus(ExportTaskStatus value) { SetStatus(value); return *this;}
89
91
94 inline ExportFormat GetFormat() const { return m_format; }
95 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
96 inline void SetFormat(ExportFormat value) { m_formatHasBeenSet = true; m_format = value; }
97 inline ExportTaskSummary& WithFormat(ExportFormat value) { SetFormat(value); return *this;}
99
101
104 inline const Aws::String& GetDestination() const { return m_destination; }
105 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
106 template<typename DestinationT = Aws::String>
107 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
108 template<typename DestinationT = Aws::String>
109 ExportTaskSummary& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
111
113
116 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
117 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
118 template<typename KmsKeyIdentifierT = Aws::String>
119 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
120 template<typename KmsKeyIdentifierT = Aws::String>
121 ExportTaskSummary& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
123
125
128 inline ParquetType GetParquetType() const { return m_parquetType; }
129 inline bool ParquetTypeHasBeenSet() const { return m_parquetTypeHasBeenSet; }
130 inline void SetParquetType(ParquetType value) { m_parquetTypeHasBeenSet = true; m_parquetType = value; }
131 inline ExportTaskSummary& WithParquetType(ParquetType value) { SetParquetType(value); return *this;}
133
135
138 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
139 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
140 template<typename StatusReasonT = Aws::String>
141 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
142 template<typename StatusReasonT = Aws::String>
143 ExportTaskSummary& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
145 private:
146
147 Aws::String m_graphId;
148 bool m_graphIdHasBeenSet = false;
149
150 Aws::String m_roleArn;
151 bool m_roleArnHasBeenSet = false;
152
153 Aws::String m_taskId;
154 bool m_taskIdHasBeenSet = false;
155
157 bool m_statusHasBeenSet = false;
158
160 bool m_formatHasBeenSet = false;
161
162 Aws::String m_destination;
163 bool m_destinationHasBeenSet = false;
164
165 Aws::String m_kmsKeyIdentifier;
166 bool m_kmsKeyIdentifierHasBeenSet = false;
167
168 ParquetType m_parquetType{ParquetType::NOT_SET};
169 bool m_parquetTypeHasBeenSet = false;
170
171 Aws::String m_statusReason;
172 bool m_statusReasonHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace NeptuneGraph
177} // 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