7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/DataSourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/kendra/model/DataSourceStatus.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
64 template<
typename IdT = Aws::String>
84 template<
typename CreatedAtT = Aws::Utils::DateTime>
85 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
86 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 template<
typename UpdatedAtT = Aws::Utils::DateTime>
97 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
98 template<
typename UpdatedAtT = Aws::Utils::DateTime>
123 template<
typename LanguageCodeT = Aws::String>
124 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
125 template<
typename LanguageCodeT = Aws::String>
131 bool m_nameHasBeenSet =
false;
134 bool m_idHasBeenSet =
false;
137 bool m_typeHasBeenSet =
false;
140 bool m_createdAtHasBeenSet =
false;
143 bool m_updatedAtHasBeenSet =
false;
146 bool m_statusHasBeenSet =
false;
149 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