7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
63 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
64 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
78 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
86 bool m_typeHasBeenSet =
false;
89 bool m_arnHasBeenSet =
false;
92 bool m_databaseNameHasBeenSet =
false;
const Aws::String & GetType() const
DataSource & WithType(const char *value)
DataSource & WithDatabaseName(const Aws::String &value)
AWS_OPSWORKS_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseName(const char *value)
AWS_OPSWORKS_API DataSource()
void SetType(Aws::String &&value)
DataSource & WithType(Aws::String &&value)
void SetType(const Aws::String &value)
const Aws::String & GetDatabaseName() const
DataSource & WithArn(const char *value)
void SetArn(const char *value)
void SetType(const char *value)
AWS_OPSWORKS_API DataSource(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithType(const Aws::String &value)
DataSource & WithArn(Aws::String &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
void SetArn(Aws::String &&value)
const Aws::String & GetArn() const
void SetDatabaseName(Aws::String &&value)
DataSource & WithDatabaseName(Aws::String &&value)
DataSource & WithArn(const Aws::String &value)
DataSource & WithDatabaseName(const char *value)
bool DatabaseNameHasBeenSet() const
void SetArn(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
bool ArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue