AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
50 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
51 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
52 inline IngestionJobSummary& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
53 inline IngestionJobSummary& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
54 inline IngestionJobSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline IngestionJobSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline IngestionJobSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline IngestionJobSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetIngestionJobId() const{ return m_ingestionJobId; }
76 inline bool IngestionJobIdHasBeenSet() const { return m_ingestionJobIdHasBeenSet; }
77 inline void SetIngestionJobId(const Aws::String& value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId = value; }
78 inline void SetIngestionJobId(Aws::String&& value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId = std::move(value); }
79 inline void SetIngestionJobId(const char* value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId.assign(value); }
80 inline IngestionJobSummary& WithIngestionJobId(const Aws::String& value) { SetIngestionJobId(value); return *this;}
81 inline IngestionJobSummary& WithIngestionJobId(Aws::String&& value) { SetIngestionJobId(std::move(value)); return *this;}
82 inline IngestionJobSummary& WithIngestionJobId(const char* value) { SetIngestionJobId(value); return *this;}
84
86
89 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
90 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
91 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
92 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
93 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
94 inline IngestionJobSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
95 inline IngestionJobSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
96 inline IngestionJobSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
104 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
105 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
106 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
107 inline IngestionJobSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
108 inline IngestionJobSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
110
112
115 inline const IngestionJobStatistics& GetStatistics() const{ return m_statistics; }
116 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
117 inline void SetStatistics(const IngestionJobStatistics& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
118 inline void SetStatistics(IngestionJobStatistics&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
119 inline IngestionJobSummary& WithStatistics(const IngestionJobStatistics& value) { SetStatistics(value); return *this;}
120 inline IngestionJobSummary& WithStatistics(IngestionJobStatistics&& value) { SetStatistics(std::move(value)); return *this;}
122
124
127 inline const IngestionJobStatus& GetStatus() const{ return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(const IngestionJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
130 inline void SetStatus(IngestionJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 inline IngestionJobSummary& WithStatus(const IngestionJobStatus& value) { SetStatus(value); return *this;}
132 inline IngestionJobSummary& WithStatus(IngestionJobStatus&& value) { SetStatus(std::move(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
140 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
141 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
142 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
143 inline IngestionJobSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
144 inline IngestionJobSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_dataSourceId;
149 bool m_dataSourceIdHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::String m_ingestionJobId;
155 bool m_ingestionJobIdHasBeenSet = false;
156
157 Aws::String m_knowledgeBaseId;
158 bool m_knowledgeBaseIdHasBeenSet = false;
159
160 Aws::Utils::DateTime m_startedAt;
161 bool m_startedAtHasBeenSet = false;
162
163 IngestionJobStatistics m_statistics;
164 bool m_statisticsHasBeenSet = false;
165
166 IngestionJobStatus m_status;
167 bool m_statusHasBeenSet = false;
168
169 Aws::Utils::DateTime m_updatedAt;
170 bool m_updatedAtHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace BedrockAgent
175} // namespace Aws
IngestionJobSummary & WithDescription(const char *value)
IngestionJobSummary & WithStartedAt(Aws::Utils::DateTime &&value)
IngestionJobSummary & WithStatus(IngestionJobStatus &&value)
IngestionJobSummary & WithDataSourceId(const char *value)
void SetKnowledgeBaseId(const Aws::String &value)
IngestionJobSummary & WithIngestionJobId(Aws::String &&value)
IngestionJobSummary & WithStatistics(IngestionJobStatistics &&value)
IngestionJobSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetIngestionJobId(const Aws::String &value)
IngestionJobSummary & WithIngestionJobId(const char *value)
AWS_BEDROCKAGENT_API IngestionJobSummary(Aws::Utils::Json::JsonView jsonValue)
IngestionJobSummary & WithStartedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
IngestionJobSummary & WithStatistics(const IngestionJobStatistics &value)
AWS_BEDROCKAGENT_API IngestionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionJobSummary & WithDataSourceId(const Aws::String &value)
IngestionJobSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const IngestionJobStatus &value)
void SetStatistics(const IngestionJobStatistics &value)
IngestionJobSummary & WithKnowledgeBaseId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
IngestionJobSummary & WithDataSourceId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
IngestionJobSummary & WithDescription(const Aws::String &value)
const IngestionJobStatistics & GetStatistics() const
IngestionJobSummary & WithKnowledgeBaseId(const Aws::String &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
IngestionJobSummary & WithKnowledgeBaseId(const char *value)
IngestionJobSummary & WithIngestionJobId(const Aws::String &value)
IngestionJobSummary & WithStatus(const IngestionJobStatus &value)
const IngestionJobStatus & GetStatus() const
IngestionJobSummary & WithDescription(Aws::String &&value)
void SetStatistics(IngestionJobStatistics &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue