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>
51 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
65 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
79 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
124 bool m_displayNameHasBeenSet =
false;
127 bool m_dataSourceIdHasBeenSet =
false;
130 bool m_typeHasBeenSet =
false;
133 bool m_createdAtHasBeenSet =
false;
136 bool m_updatedAtHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
void SetDataSourceId(const char *value)
DataSource & WithDisplayName(Aws::String &&value)
AWS_QBUSINESS_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDataSourceId() const
DataSource & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDisplayName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool UpdatedAtHasBeenSet() const
DataSource & WithCreatedAt(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
DataSource & WithDataSourceId(const Aws::String &value)
DataSource & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetType(const char *value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DataSource & WithStatus(DataSourceStatus &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataSource & WithDataSourceId(const char *value)
bool DataSourceIdHasBeenSet() const
void SetDisplayName(const Aws::String &value)
void SetDataSourceId(const Aws::String &value)
AWS_QBUSINESS_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const DataSourceStatus & GetStatus() const
void SetType(Aws::String &&value)
void SetDataSourceId(Aws::String &&value)
bool TypeHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetStatus(DataSourceStatus &&value)
DataSource & WithType(const Aws::String &value)
void SetStatus(const DataSourceStatus &value)
DataSource & WithCreatedAt(const Aws::Utils::DateTime &value)
DataSource & WithType(Aws::String &&value)
const Aws::String & GetType() const
bool DisplayNameHasBeenSet() const
void SetType(const Aws::String &value)
DataSource & WithDisplayName(const char *value)
DataSource & WithStatus(const DataSourceStatus &value)
DataSource & WithType(const char *value)
void SetDisplayName(const char *value)
DataSource & WithDisplayName(const Aws::String &value)
void SetDisplayName(Aws::String &&value)
bool CreatedAtHasBeenSet() const
DataSource & WithDataSourceId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_QBUSINESS_API DataSource()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue