AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CancelExportTaskResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace NeptuneGraph
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NEPTUNEGRAPH_API CancelExportTaskResult() = default;
36
37
39
42 inline const Aws::String& GetGraphId() const { return m_graphId; }
43 template<typename GraphIdT = Aws::String>
44 void SetGraphId(GraphIdT&& value) { m_graphIdHasBeenSet = true; m_graphId = std::forward<GraphIdT>(value); }
45 template<typename GraphIdT = Aws::String>
46 CancelExportTaskResult& WithGraphId(GraphIdT&& value) { SetGraphId(std::forward<GraphIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
55 template<typename RoleArnT = Aws::String>
56 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
57 template<typename RoleArnT = Aws::String>
58 CancelExportTaskResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetTaskId() const { return m_taskId; }
66 template<typename TaskIdT = Aws::String>
67 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
68 template<typename TaskIdT = Aws::String>
69 CancelExportTaskResult& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
71
73
77 inline ExportTaskStatus GetStatus() const { return m_status; }
78 inline void SetStatus(ExportTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
79 inline CancelExportTaskResult& WithStatus(ExportTaskStatus value) { SetStatus(value); return *this;}
81
83
86 inline ExportFormat GetFormat() const { return m_format; }
87 inline void SetFormat(ExportFormat value) { m_formatHasBeenSet = true; m_format = value; }
88 inline CancelExportTaskResult& WithFormat(ExportFormat value) { SetFormat(value); return *this;}
90
92
96 inline const Aws::String& GetDestination() const { return m_destination; }
97 template<typename DestinationT = Aws::String>
98 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
99 template<typename DestinationT = Aws::String>
100 CancelExportTaskResult& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
102
104
107 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
108 template<typename KmsKeyIdentifierT = Aws::String>
109 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
110 template<typename KmsKeyIdentifierT = Aws::String>
111 CancelExportTaskResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
113
115
118 inline ParquetType GetParquetType() const { return m_parquetType; }
119 inline void SetParquetType(ParquetType value) { m_parquetTypeHasBeenSet = true; m_parquetType = value; }
120 inline CancelExportTaskResult& WithParquetType(ParquetType value) { SetParquetType(value); return *this;}
122
124
127 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
128 template<typename StatusReasonT = Aws::String>
129 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
130 template<typename StatusReasonT = Aws::String>
131 CancelExportTaskResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template<typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
139 template<typename RequestIdT = Aws::String>
140 CancelExportTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
142 private:
143
144 Aws::String m_graphId;
145 bool m_graphIdHasBeenSet = false;
146
147 Aws::String m_roleArn;
148 bool m_roleArnHasBeenSet = false;
149
150 Aws::String m_taskId;
151 bool m_taskIdHasBeenSet = false;
152
154 bool m_statusHasBeenSet = false;
155
157 bool m_formatHasBeenSet = false;
158
159 Aws::String m_destination;
160 bool m_destinationHasBeenSet = false;
161
162 Aws::String m_kmsKeyIdentifier;
163 bool m_kmsKeyIdentifierHasBeenSet = false;
164
165 ParquetType m_parquetType{ParquetType::NOT_SET};
166 bool m_parquetTypeHasBeenSet = false;
167
168 Aws::String m_statusReason;
169 bool m_statusReasonHasBeenSet = false;
170
171 Aws::String m_requestId;
172 bool m_requestIdHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace NeptuneGraph
177} // namespace Aws
AWS_NEPTUNEGRAPH_API CancelExportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelExportTaskResult & WithStatus(ExportTaskStatus value)
CancelExportTaskResult & WithTaskId(TaskIdT &&value)
CancelExportTaskResult & WithRequestId(RequestIdT &&value)
CancelExportTaskResult & WithStatusReason(StatusReasonT &&value)
CancelExportTaskResult & WithGraphId(GraphIdT &&value)
CancelExportTaskResult & WithParquetType(ParquetType value)
AWS_NEPTUNEGRAPH_API CancelExportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEGRAPH_API CancelExportTaskResult()=default
CancelExportTaskResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CancelExportTaskResult & WithRoleArn(RoleArnT &&value)
CancelExportTaskResult & WithFormat(ExportFormat value)
CancelExportTaskResult & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue