AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportTaskResult.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 <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 StartImportTaskResult();
36
37
39
42 inline const Aws::String& GetGraphId() const{ return m_graphId; }
43 inline void SetGraphId(const Aws::String& value) { m_graphId = value; }
44 inline void SetGraphId(Aws::String&& value) { m_graphId = std::move(value); }
45 inline void SetGraphId(const char* value) { m_graphId.assign(value); }
46 inline StartImportTaskResult& WithGraphId(const Aws::String& value) { SetGraphId(value); return *this;}
47 inline StartImportTaskResult& WithGraphId(Aws::String&& value) { SetGraphId(std::move(value)); return *this;}
48 inline StartImportTaskResult& WithGraphId(const char* value) { SetGraphId(value); return *this;}
50
52
55 inline const Aws::String& GetTaskId() const{ return m_taskId; }
56 inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
57 inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
58 inline void SetTaskId(const char* value) { m_taskId.assign(value); }
59 inline StartImportTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
60 inline StartImportTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
61 inline StartImportTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
63
65
69 inline const Aws::String& GetSource() const{ return m_source; }
70 inline void SetSource(const Aws::String& value) { m_source = value; }
71 inline void SetSource(Aws::String&& value) { m_source = std::move(value); }
72 inline void SetSource(const char* value) { m_source.assign(value); }
73 inline StartImportTaskResult& WithSource(const Aws::String& value) { SetSource(value); return *this;}
74 inline StartImportTaskResult& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
75 inline StartImportTaskResult& WithSource(const char* value) { SetSource(value); return *this;}
77
79
84 inline const Format& GetFormat() const{ return m_format; }
85 inline void SetFormat(const Format& value) { m_format = value; }
86 inline void SetFormat(Format&& value) { m_format = std::move(value); }
87 inline StartImportTaskResult& WithFormat(const Format& value) { SetFormat(value); return *this;}
88 inline StartImportTaskResult& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
90
92
96 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
97 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
98 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
99 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
100 inline StartImportTaskResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
101 inline StartImportTaskResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
102 inline StartImportTaskResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
104
106
109 inline const ImportTaskStatus& GetStatus() const{ return m_status; }
110 inline void SetStatus(const ImportTaskStatus& value) { m_status = value; }
111 inline void SetStatus(ImportTaskStatus&& value) { m_status = std::move(value); }
112 inline StartImportTaskResult& WithStatus(const ImportTaskStatus& value) { SetStatus(value); return *this;}
113 inline StartImportTaskResult& WithStatus(ImportTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
115
117
118 inline const ImportOptions& GetImportOptions() const{ return m_importOptions; }
119 inline void SetImportOptions(const ImportOptions& value) { m_importOptions = value; }
120 inline void SetImportOptions(ImportOptions&& value) { m_importOptions = std::move(value); }
121 inline StartImportTaskResult& WithImportOptions(const ImportOptions& value) { SetImportOptions(value); return *this;}
122 inline StartImportTaskResult& WithImportOptions(ImportOptions&& value) { SetImportOptions(std::move(value)); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const{ return m_requestId; }
128 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
129 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
130 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
131 inline StartImportTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
132 inline StartImportTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
133 inline StartImportTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
135 private:
136
137 Aws::String m_graphId;
138
139 Aws::String m_taskId;
140
141 Aws::String m_source;
142
143 Format m_format;
144
145 Aws::String m_roleArn;
146
147 ImportTaskStatus m_status;
148
149 ImportOptions m_importOptions;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace NeptuneGraph
156} // namespace Aws
StartImportTaskResult & WithSource(const Aws::String &value)
StartImportTaskResult & WithStatus(ImportTaskStatus &&value)
StartImportTaskResult & WithGraphId(const char *value)
StartImportTaskResult & WithRequestId(const Aws::String &value)
StartImportTaskResult & WithTaskId(const Aws::String &value)
StartImportTaskResult & WithRoleArn(Aws::String &&value)
StartImportTaskResult & WithFormat(const Format &value)
StartImportTaskResult & WithGraphId(Aws::String &&value)
StartImportTaskResult & WithImportOptions(ImportOptions &&value)
StartImportTaskResult & WithStatus(const ImportTaskStatus &value)
StartImportTaskResult & WithFormat(Format &&value)
StartImportTaskResult & WithSource(Aws::String &&value)
StartImportTaskResult & WithRequestId(Aws::String &&value)
StartImportTaskResult & WithTaskId(const char *value)
AWS_NEPTUNEGRAPH_API StartImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportTaskResult & WithRequestId(const char *value)
StartImportTaskResult & WithGraphId(const Aws::String &value)
StartImportTaskResult & WithImportOptions(const ImportOptions &value)
StartImportTaskResult & WithSource(const char *value)
StartImportTaskResult & WithRoleArn(const char *value)
StartImportTaskResult & WithTaskId(Aws::String &&value)
AWS_NEPTUNEGRAPH_API StartImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportTaskResult & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue