7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-agent/model/IngestionJobStatistics.h>
12#include <aws/bedrock-agent/model/IngestionJobStatus.h>
58 template<
typename DataSourceIdT = Aws::String>
59 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
60 template<
typename DataSourceIdT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
82 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
83 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
84 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
86 template<
typename FailureReasonsT = Aws::String>
87 IngestionJob&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
96 template<
typename IngestionJobIdT = Aws::String>
97 void SetIngestionJobId(IngestionJobIdT&& value) { m_ingestionJobIdHasBeenSet =
true; m_ingestionJobId = std::forward<IngestionJobIdT>(value); }
98 template<
typename IngestionJobIdT = Aws::String>
108 template<
typename KnowledgeBaseIdT = Aws::String>
109 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
110 template<
typename KnowledgeBaseIdT = Aws::String>
122 template<
typename StartedAtT = Aws::Utils::DateTime>
123 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
124 template<
typename StartedAtT = Aws::Utils::DateTime>
134 template<
typename StatisticsT = IngestionJobStatistics>
135 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
136 template<
typename StatisticsT = IngestionJobStatistics>
158 template<
typename UpdatedAtT = Aws::Utils::DateTime>
159 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
160 template<
typename UpdatedAtT = Aws::Utils::DateTime>
166 bool m_dataSourceIdHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_failureReasonsHasBeenSet =
false;
175 bool m_ingestionJobIdHasBeenSet =
false;
178 bool m_knowledgeBaseIdHasBeenSet =
false;
181 bool m_startedAtHasBeenSet =
false;
183 IngestionJobStatistics m_statistics;
184 bool m_statisticsHasBeenSet =
false;
187 bool m_statusHasBeenSet =
false;
190 bool m_updatedAtHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
IngestionJob & WithFailureReasons(FailureReasonsT &&value)
AWS_BEDROCKAGENT_API IngestionJob()=default
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
bool StatusHasBeenSet() const
IngestionJob & WithUpdatedAt(UpdatedAtT &&value)
bool StatisticsHasBeenSet() const
const Aws::String & GetDataSourceId() const
IngestionJob & WithDescription(DescriptionT &&value)
const Aws::String & GetIngestionJobId() const
bool DescriptionHasBeenSet() const
IngestionJob & WithStatistics(StatisticsT &&value)
IngestionJob & WithStartedAt(StartedAtT &&value)
AWS_BEDROCKAGENT_API IngestionJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
IngestionJob & AddFailureReasons(FailureReasonsT &&value)
bool StartedAtHasBeenSet() const
const IngestionJobStatistics & GetStatistics() const
void SetDescription(DescriptionT &&value)
void SetDataSourceId(DataSourceIdT &&value)
IngestionJob & WithIngestionJobId(IngestionJobIdT &&value)
void SetIngestionJobId(IngestionJobIdT &&value)
IngestionJob & WithStatus(IngestionJobStatus value)
void SetUpdatedAt(UpdatedAtT &&value)
bool KnowledgeBaseIdHasBeenSet() const
IngestionJobStatus GetStatus() const
void SetStatistics(StatisticsT &&value)
bool DataSourceIdHasBeenSet() const
bool IngestionJobIdHasBeenSet() const
void SetStatus(IngestionJobStatus value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetFailureReasons(FailureReasonsT &&value)
const Aws::String & GetKnowledgeBaseId() const
bool FailureReasonsHasBeenSet() const
void SetStartedAt(StartedAtT &&value)
AWS_BEDROCKAGENT_API IngestionJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
IngestionJob & WithDataSourceId(DataSourceIdT &&value)
IngestionJob & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue