7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/DataSourceStatus.h>
43 template <
typename DisplayNameT = Aws::String>
45 m_displayNameHasBeenSet =
true;
46 m_displayName = std::forward<DisplayNameT>(value);
48 template <
typename DisplayNameT = Aws::String>
61 template <
typename DataSourceIdT = Aws::String>
63 m_dataSourceIdHasBeenSet =
true;
64 m_dataSourceId = std::forward<DataSourceIdT>(value);
66 template <
typename DataSourceIdT = Aws::String>
79 template <
typename TypeT = Aws::String>
81 m_typeHasBeenSet =
true;
82 m_type = std::forward<TypeT>(value);
84 template <
typename TypeT = Aws::String>
86 SetType(std::forward<TypeT>(value));
97 template <
typename CreatedAtT = Aws::Utils::DateTime>
99 m_createdAtHasBeenSet =
true;
100 m_createdAt = std::forward<CreatedAtT>(value);
102 template <
typename CreatedAtT = Aws::Utils::DateTime>
116 template <
typename UpdatedAtT = Aws::Utils::DateTime>
118 m_updatedAtHasBeenSet =
true;
119 m_updatedAt = std::forward<UpdatedAtT>(value);
121 template <
typename UpdatedAtT = Aws::Utils::DateTime>
135 m_statusHasBeenSet =
true;
155 bool m_displayNameHasBeenSet =
false;
156 bool m_dataSourceIdHasBeenSet =
false;
157 bool m_typeHasBeenSet =
false;
158 bool m_createdAtHasBeenSet =
false;
159 bool m_updatedAtHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
AWS_QBUSINESS_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDataSourceId() const
const Aws::String & GetDisplayName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool UpdatedAtHasBeenSet() const
DataSource & WithCreatedAt(CreatedAtT &&value)
void SetStatus(DataSourceStatus value)
void SetDisplayName(DisplayNameT &&value)
bool StatusHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool DataSourceIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_QBUSINESS_API DataSource(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDisplayName(DisplayNameT &&value)
DataSourceStatus GetStatus() const
void SetUpdatedAt(UpdatedAtT &&value)
DataSource & WithType(TypeT &&value)
AWS_QBUSINESS_API DataSource()=default
bool TypeHasBeenSet() const
const Aws::String & GetType() const
bool DisplayNameHasBeenSet() const
void SetDataSourceId(DataSourceIdT &&value)
DataSource & WithDataSourceId(DataSourceIdT &&value)
void SetType(TypeT &&value)
bool CreatedAtHasBeenSet() const
DataSource & WithStatus(DataSourceStatus value)
DataSource & WithUpdatedAt(UpdatedAtT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue