AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetImportTaskResult.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/ImportTaskStatus.h>
11#include <aws/neptune-graph/model/ImportOptions.h>
12#include <aws/neptune-graph/model/ImportTaskDetails.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace NeptuneGraph
28{
29namespace Model
30{
32 {
33 public:
34 AWS_NEPTUNEGRAPH_API GetImportTaskResult();
37
38
40
43 inline const Aws::String& GetGraphId() const{ return m_graphId; }
44 inline void SetGraphId(const Aws::String& value) { m_graphId = value; }
45 inline void SetGraphId(Aws::String&& value) { m_graphId = std::move(value); }
46 inline void SetGraphId(const char* value) { m_graphId.assign(value); }
47 inline GetImportTaskResult& WithGraphId(const Aws::String& value) { SetGraphId(value); return *this;}
48 inline GetImportTaskResult& WithGraphId(Aws::String&& value) { SetGraphId(std::move(value)); return *this;}
49 inline GetImportTaskResult& WithGraphId(const char* value) { SetGraphId(value); return *this;}
51
53
56 inline const Aws::String& GetTaskId() const{ return m_taskId; }
57 inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
58 inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
59 inline void SetTaskId(const char* value) { m_taskId.assign(value); }
60 inline GetImportTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
61 inline GetImportTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
62 inline GetImportTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
64
66
70 inline const Aws::String& GetSource() const{ return m_source; }
71 inline void SetSource(const Aws::String& value) { m_source = value; }
72 inline void SetSource(Aws::String&& value) { m_source = std::move(value); }
73 inline void SetSource(const char* value) { m_source.assign(value); }
74 inline GetImportTaskResult& WithSource(const Aws::String& value) { SetSource(value); return *this;}
75 inline GetImportTaskResult& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
76 inline GetImportTaskResult& WithSource(const char* value) { SetSource(value); return *this;}
78
80
88 inline const Format& GetFormat() const{ return m_format; }
89 inline void SetFormat(const Format& value) { m_format = value; }
90 inline void SetFormat(Format&& value) { m_format = std::move(value); }
91 inline GetImportTaskResult& WithFormat(const Format& value) { SetFormat(value); return *this;}
92 inline GetImportTaskResult& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
101 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
102 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
103 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
104 inline GetImportTaskResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
105 inline GetImportTaskResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
106 inline GetImportTaskResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
108
110
130 inline const ImportTaskStatus& GetStatus() const{ return m_status; }
131 inline void SetStatus(const ImportTaskStatus& value) { m_status = value; }
132 inline void SetStatus(ImportTaskStatus&& value) { m_status = std::move(value); }
133 inline GetImportTaskResult& WithStatus(const ImportTaskStatus& value) { SetStatus(value); return *this;}
134 inline GetImportTaskResult& WithStatus(ImportTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
136
138
145 inline const ImportOptions& GetImportOptions() const{ return m_importOptions; }
146 inline void SetImportOptions(const ImportOptions& value) { m_importOptions = value; }
147 inline void SetImportOptions(ImportOptions&& value) { m_importOptions = std::move(value); }
148 inline GetImportTaskResult& WithImportOptions(const ImportOptions& value) { SetImportOptions(value); return *this;}
149 inline GetImportTaskResult& WithImportOptions(ImportOptions&& value) { SetImportOptions(std::move(value)); return *this;}
151
153
156 inline const ImportTaskDetails& GetImportTaskDetails() const{ return m_importTaskDetails; }
157 inline void SetImportTaskDetails(const ImportTaskDetails& value) { m_importTaskDetails = value; }
158 inline void SetImportTaskDetails(ImportTaskDetails&& value) { m_importTaskDetails = std::move(value); }
160 inline GetImportTaskResult& WithImportTaskDetails(ImportTaskDetails&& value) { SetImportTaskDetails(std::move(value)); return *this;}
162
164
167 inline int GetAttemptNumber() const{ return m_attemptNumber; }
168 inline void SetAttemptNumber(int value) { m_attemptNumber = value; }
169 inline GetImportTaskResult& WithAttemptNumber(int value) { SetAttemptNumber(value); return *this;}
171
173
176 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
177 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
178 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
179 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
180 inline GetImportTaskResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
181 inline GetImportTaskResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
182 inline GetImportTaskResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
184
186
187 inline const Aws::String& GetRequestId() const{ return m_requestId; }
188 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
189 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
190 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
191 inline GetImportTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline GetImportTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline GetImportTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 private:
196
197 Aws::String m_graphId;
198
199 Aws::String m_taskId;
200
201 Aws::String m_source;
202
203 Format m_format;
204
205 Aws::String m_roleArn;
206
207 ImportTaskStatus m_status;
208
209 ImportOptions m_importOptions;
210
211 ImportTaskDetails m_importTaskDetails;
212
213 int m_attemptNumber;
214
215 Aws::String m_statusReason;
216
217 Aws::String m_requestId;
218 };
219
220} // namespace Model
221} // namespace NeptuneGraph
222} // namespace Aws
AWS_NEPTUNEGRAPH_API GetImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportTaskResult & WithStatusReason(const Aws::String &value)
GetImportTaskResult & WithFormat(Format &&value)
GetImportTaskResult & WithTaskId(Aws::String &&value)
GetImportTaskResult & WithAttemptNumber(int value)
GetImportTaskResult & WithRequestId(const Aws::String &value)
AWS_NEPTUNEGRAPH_API GetImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportTaskResult & WithFormat(const Format &value)
GetImportTaskResult & WithStatus(const ImportTaskStatus &value)
GetImportTaskResult & WithImportTaskDetails(const ImportTaskDetails &value)
GetImportTaskResult & WithRequestId(Aws::String &&value)
GetImportTaskResult & WithImportOptions(const ImportOptions &value)
void SetImportOptions(const ImportOptions &value)
GetImportTaskResult & WithStatusReason(const char *value)
GetImportTaskResult & WithRequestId(const char *value)
GetImportTaskResult & WithGraphId(const char *value)
GetImportTaskResult & WithSource(Aws::String &&value)
GetImportTaskResult & WithImportTaskDetails(ImportTaskDetails &&value)
GetImportTaskResult & WithImportOptions(ImportOptions &&value)
GetImportTaskResult & WithGraphId(const Aws::String &value)
GetImportTaskResult & WithRoleArn(const char *value)
GetImportTaskResult & WithStatus(ImportTaskStatus &&value)
void SetImportTaskDetails(ImportTaskDetails &&value)
GetImportTaskResult & WithGraphId(Aws::String &&value)
const ImportTaskDetails & GetImportTaskDetails() const
void SetImportTaskDetails(const ImportTaskDetails &value)
GetImportTaskResult & WithRoleArn(Aws::String &&value)
GetImportTaskResult & WithTaskId(const char *value)
GetImportTaskResult & WithRoleArn(const Aws::String &value)
GetImportTaskResult & WithTaskId(const Aws::String &value)
void SetStatus(const ImportTaskStatus &value)
GetImportTaskResult & WithSource(const Aws::String &value)
GetImportTaskResult & WithStatusReason(Aws::String &&value)
GetImportTaskResult & WithSource(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue