AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/ImportTaskStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NeptuneGraph
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NEPTUNEGRAPH_API CancelImportTaskResult();
35
36
38
41 inline const Aws::String& GetGraphId() const{ return m_graphId; }
42 inline void SetGraphId(const Aws::String& value) { m_graphId = value; }
43 inline void SetGraphId(Aws::String&& value) { m_graphId = std::move(value); }
44 inline void SetGraphId(const char* value) { m_graphId.assign(value); }
45 inline CancelImportTaskResult& WithGraphId(const Aws::String& value) { SetGraphId(value); return *this;}
46 inline CancelImportTaskResult& WithGraphId(Aws::String&& value) { SetGraphId(std::move(value)); return *this;}
47 inline CancelImportTaskResult& WithGraphId(const char* value) { SetGraphId(value); return *this;}
49
51
54 inline const Aws::String& GetTaskId() const{ return m_taskId; }
55 inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
56 inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
57 inline void SetTaskId(const char* value) { m_taskId.assign(value); }
58 inline CancelImportTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
59 inline CancelImportTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
60 inline CancelImportTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
62
64
68 inline const Aws::String& GetSource() const{ return m_source; }
69 inline void SetSource(const Aws::String& value) { m_source = value; }
70 inline void SetSource(Aws::String&& value) { m_source = std::move(value); }
71 inline void SetSource(const char* value) { m_source.assign(value); }
72 inline CancelImportTaskResult& WithSource(const Aws::String& value) { SetSource(value); return *this;}
73 inline CancelImportTaskResult& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
74 inline CancelImportTaskResult& WithSource(const char* value) { SetSource(value); return *this;}
76
78
86 inline const Format& GetFormat() const{ return m_format; }
87 inline void SetFormat(const Format& value) { m_format = value; }
88 inline void SetFormat(Format&& value) { m_format = std::move(value); }
89 inline CancelImportTaskResult& WithFormat(const Format& value) { SetFormat(value); return *this;}
90 inline CancelImportTaskResult& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
99 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
100 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
101 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
102 inline CancelImportTaskResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
103 inline CancelImportTaskResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
104 inline CancelImportTaskResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
106
108
112 inline const ImportTaskStatus& GetStatus() const{ return m_status; }
113 inline void SetStatus(const ImportTaskStatus& value) { m_status = value; }
114 inline void SetStatus(ImportTaskStatus&& value) { m_status = std::move(value); }
115 inline CancelImportTaskResult& WithStatus(const ImportTaskStatus& value) { SetStatus(value); return *this;}
116 inline CancelImportTaskResult& WithStatus(ImportTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
118
120
121 inline const Aws::String& GetRequestId() const{ return m_requestId; }
122 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
123 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
124 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
125 inline CancelImportTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 inline CancelImportTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
127 inline CancelImportTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
129 private:
130
131 Aws::String m_graphId;
132
133 Aws::String m_taskId;
134
135 Aws::String m_source;
136
137 Format m_format;
138
139 Aws::String m_roleArn;
140
141 ImportTaskStatus m_status;
142
143 Aws::String m_requestId;
144 };
145
146} // namespace Model
147} // namespace NeptuneGraph
148} // namespace Aws
CancelImportTaskResult & WithSource(Aws::String &&value)
CancelImportTaskResult & WithTaskId(Aws::String &&value)
CancelImportTaskResult & WithRequestId(Aws::String &&value)
CancelImportTaskResult & WithTaskId(const Aws::String &value)
AWS_NEPTUNEGRAPH_API CancelImportTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelImportTaskResult & WithRoleArn(Aws::String &&value)
CancelImportTaskResult & WithSource(const char *value)
CancelImportTaskResult & WithStatus(ImportTaskStatus &&value)
CancelImportTaskResult & WithRoleArn(const char *value)
CancelImportTaskResult & WithRequestId(const Aws::String &value)
CancelImportTaskResult & WithGraphId(const char *value)
CancelImportTaskResult & WithStatus(const ImportTaskStatus &value)
CancelImportTaskResult & WithRequestId(const char *value)
CancelImportTaskResult & WithSource(const Aws::String &value)
CancelImportTaskResult & WithRoleArn(const Aws::String &value)
CancelImportTaskResult & WithFormat(const Format &value)
AWS_NEPTUNEGRAPH_API CancelImportTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelImportTaskResult & WithGraphId(Aws::String &&value)
CancelImportTaskResult & WithFormat(Format &&value)
CancelImportTaskResult & WithTaskId(const char *value)
CancelImportTaskResult & WithGraphId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue