AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CancelImportTaskResult.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/Format.h>
10#include <aws/neptune-graph/model/ParquetType.h>
11#include <aws/neptune-graph/model/ImportTaskStatus.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 CancelImportTaskResult() = 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 CancelImportTaskResult& WithGraphId(GraphIdT&& value) { SetGraphId(std::forward<GraphIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetTaskId() const { return m_taskId; }
54 template<typename TaskIdT = Aws::String>
55 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
56 template<typename TaskIdT = Aws::String>
57 CancelImportTaskResult& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
59
61
65 inline const Aws::String& GetSource() const { return m_source; }
66 template<typename SourceT = Aws::String>
67 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
68 template<typename SourceT = Aws::String>
69 CancelImportTaskResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
71
73
81 inline Format GetFormat() const { return m_format; }
82 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
83 inline CancelImportTaskResult& WithFormat(Format value) { SetFormat(value); return *this;}
85
87
90 inline ParquetType GetParquetType() const { return m_parquetType; }
91 inline void SetParquetType(ParquetType value) { m_parquetTypeHasBeenSet = true; m_parquetType = value; }
92 inline CancelImportTaskResult& WithParquetType(ParquetType value) { SetParquetType(value); return *this;}
94
96
100 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
101 template<typename RoleArnT = Aws::String>
102 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
103 template<typename RoleArnT = Aws::String>
104 CancelImportTaskResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
106
108
112 inline ImportTaskStatus GetStatus() const { return m_status; }
113 inline void SetStatus(ImportTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
114 inline CancelImportTaskResult& WithStatus(ImportTaskStatus value) { SetStatus(value); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 CancelImportTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_graphId;
128 bool m_graphIdHasBeenSet = false;
129
130 Aws::String m_taskId;
131 bool m_taskIdHasBeenSet = false;
132
133 Aws::String m_source;
134 bool m_sourceHasBeenSet = false;
135
136 Format m_format{Format::NOT_SET};
137 bool m_formatHasBeenSet = false;
138
139 ParquetType m_parquetType{ParquetType::NOT_SET};
140 bool m_parquetTypeHasBeenSet = false;
141
142 Aws::String m_roleArn;
143 bool m_roleArnHasBeenSet = false;
144
146 bool m_statusHasBeenSet = false;
147
148 Aws::String m_requestId;
149 bool m_requestIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace NeptuneGraph
154} // 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