7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/DataSourceStatus.h>
11#include <aws/kendra/model/DataSourceType.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
81 m_typeHasBeenSet =
true;
96 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 m_createdAtHasBeenSet =
true;
99 m_createdAt = std::forward<CreatedAtT>(value);
101 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 template <
typename UpdatedAtT = Aws::Utils::DateTime>
116 m_updatedAtHasBeenSet =
true;
117 m_updatedAt = std::forward<UpdatedAtT>(value);
119 template <
typename UpdatedAtT = Aws::Utils::DateTime>
134 m_statusHasBeenSet =
true;
153 template <
typename LanguageCodeT = Aws::String>
155 m_languageCodeHasBeenSet =
true;
156 m_languageCode = std::forward<LanguageCodeT>(value);
158 template <
typename LanguageCodeT = Aws::String>
178 bool m_nameHasBeenSet =
false;
179 bool m_idHasBeenSet =
false;
180 bool m_typeHasBeenSet =
false;
181 bool m_createdAtHasBeenSet =
false;
182 bool m_updatedAtHasBeenSet =
false;
183 bool m_statusHasBeenSet =
false;
184 bool m_languageCodeHasBeenSet =
false;
bool IdHasBeenSet() const
bool CreatedAtHasBeenSet() const
DataSourceSummary & WithType(DataSourceType value)
DataSourceType GetType() const
bool StatusHasBeenSet() const
void SetStatus(DataSourceStatus value)
const Aws::String & GetLanguageCode() const
void SetType(DataSourceType value)
void SetLanguageCode(LanguageCodeT &&value)
DataSourceSummary & WithCreatedAt(CreatedAtT &&value)
AWS_KENDRA_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool LanguageCodeHasBeenSet() const
DataSourceSummary & WithLanguageCode(LanguageCodeT &&value)
void SetName(NameT &&value)
DataSourceSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_KENDRA_API DataSourceSummary()=default
DataSourceSummary & WithStatus(DataSourceStatus value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSummary & WithUpdatedAt(UpdatedAtT &&value)
DataSourceStatus GetStatus() const
bool NameHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_KENDRA_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceSummary & WithId(IdT &&value)
bool TypeHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetId() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue