AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
IngestionJobSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/IngestionJobStatistics.h>
9#include <aws/bedrock-agent/model/IngestionJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENT_API IngestionJobSummary() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
42 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
43 template <typename KnowledgeBaseIdT = Aws::String>
45 m_knowledgeBaseIdHasBeenSet = true;
46 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
47 }
48 template <typename KnowledgeBaseIdT = Aws::String>
50 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
60 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
61 template <typename DataSourceIdT = Aws::String>
63 m_dataSourceIdHasBeenSet = true;
64 m_dataSourceId = std::forward<DataSourceIdT>(value);
65 }
66 template <typename DataSourceIdT = Aws::String>
68 SetDataSourceId(std::forward<DataSourceIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetIngestionJobId() const { return m_ingestionJobId; }
78 inline bool IngestionJobIdHasBeenSet() const { return m_ingestionJobIdHasBeenSet; }
79 template <typename IngestionJobIdT = Aws::String>
81 m_ingestionJobIdHasBeenSet = true;
82 m_ingestionJobId = std::forward<IngestionJobIdT>(value);
83 }
84 template <typename IngestionJobIdT = Aws::String>
86 SetIngestionJobId(std::forward<IngestionJobIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
113 inline IngestionJobStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(IngestionJobStatus value) {
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
130 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
131 template <typename StartedAtT = Aws::Utils::DateTime>
132 void SetStartedAt(StartedAtT&& value) {
133 m_startedAtHasBeenSet = true;
134 m_startedAt = std::forward<StartedAtT>(value);
135 }
136 template <typename StartedAtT = Aws::Utils::DateTime>
138 SetStartedAt(std::forward<StartedAtT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
148 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
149 template <typename UpdatedAtT = Aws::Utils::DateTime>
150 void SetUpdatedAt(UpdatedAtT&& value) {
151 m_updatedAtHasBeenSet = true;
152 m_updatedAt = std::forward<UpdatedAtT>(value);
153 }
154 template <typename UpdatedAtT = Aws::Utils::DateTime>
156 SetUpdatedAt(std::forward<UpdatedAtT>(value));
157 return *this;
158 }
160
162
165 inline const IngestionJobStatistics& GetStatistics() const { return m_statistics; }
166 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
167 template <typename StatisticsT = IngestionJobStatistics>
169 m_statisticsHasBeenSet = true;
170 m_statistics = std::forward<StatisticsT>(value);
171 }
172 template <typename StatisticsT = IngestionJobStatistics>
174 SetStatistics(std::forward<StatisticsT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_knowledgeBaseId;
180
181 Aws::String m_dataSourceId;
182
183 Aws::String m_ingestionJobId;
184
185 Aws::String m_description;
186
188
189 Aws::Utils::DateTime m_startedAt{};
190
191 Aws::Utils::DateTime m_updatedAt{};
192
193 IngestionJobStatistics m_statistics;
194 bool m_knowledgeBaseIdHasBeenSet = false;
195 bool m_dataSourceIdHasBeenSet = false;
196 bool m_ingestionJobIdHasBeenSet = false;
197 bool m_descriptionHasBeenSet = false;
198 bool m_statusHasBeenSet = false;
199 bool m_startedAtHasBeenSet = false;
200 bool m_updatedAtHasBeenSet = false;
201 bool m_statisticsHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace BedrockAgent
206} // namespace Aws
IngestionJobSummary & WithStatus(IngestionJobStatus value)
IngestionJobSummary & WithStatistics(StatisticsT &&value)
AWS_BEDROCKAGENT_API IngestionJobSummary()=default
IngestionJobSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
IngestionJobSummary & WithStartedAt(StartedAtT &&value)
AWS_BEDROCKAGENT_API IngestionJobSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionJobSummary & WithIngestionJobId(IngestionJobIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCKAGENT_API IngestionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionJobSummary & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
IngestionJobSummary & WithUpdatedAt(UpdatedAtT &&value)
const IngestionJobStatistics & GetStatistics() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
IngestionJobSummary & WithDataSourceId(DataSourceIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue