AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
IngestionJobSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/bedrock-agent/model/IngestionJobStatistics.h>
11#include <aws/bedrock-agent/model/IngestionJobStatus.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 BedrockAgent
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BEDROCKAGENT_API IngestionJobSummary() = default;
38 AWS_BEDROCKAGENT_API IngestionJobSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
48 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
49 template<typename DataSourceIdT = Aws::String>
50 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
51 template<typename DataSourceIdT = Aws::String>
52 IngestionJobSummary& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template<typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 IngestionJobSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
71 inline const Aws::String& GetIngestionJobId() const { return m_ingestionJobId; }
72 inline bool IngestionJobIdHasBeenSet() const { return m_ingestionJobIdHasBeenSet; }
73 template<typename IngestionJobIdT = Aws::String>
74 void SetIngestionJobId(IngestionJobIdT&& value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId = std::forward<IngestionJobIdT>(value); }
75 template<typename IngestionJobIdT = Aws::String>
76 IngestionJobSummary& WithIngestionJobId(IngestionJobIdT&& value) { SetIngestionJobId(std::forward<IngestionJobIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
84 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
85 template<typename KnowledgeBaseIdT = Aws::String>
86 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
87 template<typename KnowledgeBaseIdT = Aws::String>
88 IngestionJobSummary& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) { SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
96 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
97 template<typename StartedAtT = Aws::Utils::DateTime>
98 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
99 template<typename StartedAtT = Aws::Utils::DateTime>
100 IngestionJobSummary& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
102
104
107 inline const IngestionJobStatistics& GetStatistics() const { return m_statistics; }
108 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
109 template<typename StatisticsT = IngestionJobStatistics>
110 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
111 template<typename StatisticsT = IngestionJobStatistics>
112 IngestionJobSummary& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
114
116
119 inline IngestionJobStatus GetStatus() const { return m_status; }
120 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
121 inline void SetStatus(IngestionJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
122 inline IngestionJobSummary& WithStatus(IngestionJobStatus value) { SetStatus(value); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
130 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
131 template<typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
133 template<typename UpdatedAtT = Aws::Utils::DateTime>
134 IngestionJobSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
136 private:
137
138 Aws::String m_dataSourceId;
139 bool m_dataSourceIdHasBeenSet = false;
140
141 Aws::String m_description;
142 bool m_descriptionHasBeenSet = false;
143
144 Aws::String m_ingestionJobId;
145 bool m_ingestionJobIdHasBeenSet = false;
146
147 Aws::String m_knowledgeBaseId;
148 bool m_knowledgeBaseIdHasBeenSet = false;
149
150 Aws::Utils::DateTime m_startedAt{};
151 bool m_startedAtHasBeenSet = false;
152
153 IngestionJobStatistics m_statistics;
154 bool m_statisticsHasBeenSet = false;
155
157 bool m_statusHasBeenSet = false;
158
159 Aws::Utils::DateTime m_updatedAt{};
160 bool m_updatedAtHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace BedrockAgent
165} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue