AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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/ParquetType.h>
11#include <aws/neptune-graph/model/ImportTaskStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_NEPTUNEGRAPH_API ImportTaskSummary() = default;
38 AWS_NEPTUNEGRAPH_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEGRAPH_API ImportTaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetGraphId() const { return m_graphId; }
48 inline bool GraphIdHasBeenSet() const { return m_graphIdHasBeenSet; }
49 template<typename GraphIdT = Aws::String>
50 void SetGraphId(GraphIdT&& value) { m_graphIdHasBeenSet = true; m_graphId = std::forward<GraphIdT>(value); }
51 template<typename GraphIdT = Aws::String>
52 ImportTaskSummary& WithGraphId(GraphIdT&& value) { SetGraphId(std::forward<GraphIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTaskId() const { return m_taskId; }
60 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
61 template<typename TaskIdT = Aws::String>
62 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
63 template<typename TaskIdT = Aws::String>
64 ImportTaskSummary& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
66
68
72 inline const Aws::String& GetSource() const { return m_source; }
73 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
74 template<typename SourceT = Aws::String>
75 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
76 template<typename SourceT = Aws::String>
77 ImportTaskSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
79
81
89 inline Format GetFormat() const { return m_format; }
90 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
91 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
92 inline ImportTaskSummary& WithFormat(Format value) { SetFormat(value); return *this;}
94
96
99 inline ParquetType GetParquetType() const { return m_parquetType; }
100 inline bool ParquetTypeHasBeenSet() const { return m_parquetTypeHasBeenSet; }
101 inline void SetParquetType(ParquetType value) { m_parquetTypeHasBeenSet = true; m_parquetType = value; }
102 inline ImportTaskSummary& WithParquetType(ParquetType value) { SetParquetType(value); return *this;}
104
106
110 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
111 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
112 template<typename RoleArnT = Aws::String>
113 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
114 template<typename RoleArnT = Aws::String>
115 ImportTaskSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
117
119
122 inline ImportTaskStatus GetStatus() const { return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(ImportTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
125 inline ImportTaskSummary& WithStatus(ImportTaskStatus value) { SetStatus(value); return *this;}
127 private:
128
129 Aws::String m_graphId;
130 bool m_graphIdHasBeenSet = false;
131
132 Aws::String m_taskId;
133 bool m_taskIdHasBeenSet = false;
134
135 Aws::String m_source;
136 bool m_sourceHasBeenSet = false;
137
138 Format m_format{Format::NOT_SET};
139 bool m_formatHasBeenSet = false;
140
141 ParquetType m_parquetType{ParquetType::NOT_SET};
142 bool m_parquetTypeHasBeenSet = false;
143
144 Aws::String m_roleArn;
145 bool m_roleArnHasBeenSet = false;
146
148 bool m_statusHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace NeptuneGraph
153} // namespace Aws
ImportTaskSummary & WithSource(SourceT &&value)
ImportTaskSummary & WithTaskId(TaskIdT &&value)
ImportTaskSummary & WithParquetType(ParquetType value)
ImportTaskSummary & WithFormat(Format value)
ImportTaskSummary & WithStatus(ImportTaskStatus value)
ImportTaskSummary & WithGraphId(GraphIdT &&value)
ImportTaskSummary & WithRoleArn(RoleArnT &&value)
AWS_NEPTUNEGRAPH_API ImportTaskSummary()=default
AWS_NEPTUNEGRAPH_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue)
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