7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/DataSourceStatus.h>
49 template<
typename DisplayNameT = Aws::String>
51 template<
typename DisplayNameT = Aws::String>
61 template<
typename DataSourceIdT = Aws::String>
63 template<
typename DataSourceIdT = Aws::String>
73 template<
typename TypeT = Aws::String>
74 void SetType(
TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
75 template<
typename TypeT = Aws::String>
85 template<
typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(
CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<
typename CreatedAtT = Aws::Utils::DateTime>
98 template<
typename UpdatedAtT = Aws::Utils::DateTime>
99 void SetUpdatedAt(
UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
100 template<
typename UpdatedAtT = Aws::Utils::DateTime>
116 bool m_displayNameHasBeenSet =
false;
119 bool m_dataSourceIdHasBeenSet =
false;
122 bool m_typeHasBeenSet =
false;
125 bool m_createdAtHasBeenSet =
false;
128 bool m_updatedAtHasBeenSet =
false;
131 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