AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportTaskSummary.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NeptuneGraph
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_NEPTUNEGRAPH_API ImportTaskSummary();
37 AWS_NEPTUNEGRAPH_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API ImportTaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGraphId() const{ return m_graphId; }
47 inline bool GraphIdHasBeenSet() const { return m_graphIdHasBeenSet; }
48 inline void SetGraphId(const Aws::String& value) { m_graphIdHasBeenSet = true; m_graphId = value; }
49 inline void SetGraphId(Aws::String&& value) { m_graphIdHasBeenSet = true; m_graphId = std::move(value); }
50 inline void SetGraphId(const char* value) { m_graphIdHasBeenSet = true; m_graphId.assign(value); }
51 inline ImportTaskSummary& WithGraphId(const Aws::String& value) { SetGraphId(value); return *this;}
52 inline ImportTaskSummary& WithGraphId(Aws::String&& value) { SetGraphId(std::move(value)); return *this;}
53 inline ImportTaskSummary& WithGraphId(const char* value) { SetGraphId(value); return *this;}
55
57
60 inline const Aws::String& GetTaskId() const{ return m_taskId; }
61 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
62 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
63 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
64 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
65 inline ImportTaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
66 inline ImportTaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
67 inline ImportTaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;}
69
71
75 inline const Aws::String& GetSource() const{ return m_source; }
76 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
77 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
78 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
79 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
80 inline ImportTaskSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;}
81 inline ImportTaskSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
82 inline ImportTaskSummary& WithSource(const char* value) { SetSource(value); return *this;}
84
86
94 inline const Format& GetFormat() const{ return m_format; }
95 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
96 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
97 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
98 inline ImportTaskSummary& WithFormat(const Format& value) { SetFormat(value); return *this;}
99 inline ImportTaskSummary& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
101
103
107 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
108 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
109 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
110 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
111 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
112 inline ImportTaskSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
113 inline ImportTaskSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
114 inline ImportTaskSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
116
118
121 inline const ImportTaskStatus& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const ImportTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(ImportTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline ImportTaskSummary& WithStatus(const ImportTaskStatus& value) { SetStatus(value); return *this;}
126 inline ImportTaskSummary& WithStatus(ImportTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_graphId;
131 bool m_graphIdHasBeenSet = false;
132
133 Aws::String m_taskId;
134 bool m_taskIdHasBeenSet = false;
135
136 Aws::String m_source;
137 bool m_sourceHasBeenSet = false;
138
139 Format m_format;
140 bool m_formatHasBeenSet = false;
141
142 Aws::String m_roleArn;
143 bool m_roleArnHasBeenSet = false;
144
145 ImportTaskStatus m_status;
146 bool m_statusHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace NeptuneGraph
151} // namespace Aws
ImportTaskSummary & WithTaskId(const char *value)
ImportTaskSummary & WithGraphId(const char *value)
void SetRoleArn(const Aws::String &value)
ImportTaskSummary & WithTaskId(const Aws::String &value)
void SetStatus(const ImportTaskStatus &value)
ImportTaskSummary & WithRoleArn(Aws::String &&value)
ImportTaskSummary & WithGraphId(const Aws::String &value)
ImportTaskSummary & WithStatus(ImportTaskStatus &&value)
ImportTaskSummary & WithFormat(const Format &value)
ImportTaskSummary & WithStatus(const ImportTaskStatus &value)
const ImportTaskStatus & GetStatus() const
ImportTaskSummary & WithSource(Aws::String &&value)
void SetSource(const Aws::String &value)
ImportTaskSummary & WithTaskId(Aws::String &&value)
ImportTaskSummary & WithRoleArn(const Aws::String &value)
ImportTaskSummary & WithSource(const Aws::String &value)
void SetTaskId(const Aws::String &value)
ImportTaskSummary & WithGraphId(Aws::String &&value)
ImportTaskSummary & WithRoleArn(const char *value)
void SetGraphId(const Aws::String &value)
AWS_NEPTUNEGRAPH_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue)
ImportTaskSummary & WithSource(const char *value)
ImportTaskSummary & WithFormat(Format &&value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEGRAPH_API ImportTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue