7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
77 inline void SetDatabase(
const char* value) { m_databaseHasBeenSet =
true; m_database.assign(value); }
91 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
105 inline void SetNamedQueryId(
const char* value) { m_namedQueryIdHasBeenSet =
true; m_namedQueryId.assign(value); }
119 inline void SetWorkGroup(
const char* value) { m_workGroupHasBeenSet =
true; m_workGroup.assign(value); }
127 bool m_nameHasBeenSet =
false;
130 bool m_descriptionHasBeenSet =
false;
133 bool m_databaseHasBeenSet =
false;
136 bool m_queryStringHasBeenSet =
false;
139 bool m_namedQueryIdHasBeenSet =
false;
142 bool m_workGroupHasBeenSet =
false;
const Aws::String & GetName() const
NamedQuery & WithNamedQueryId(Aws::String &&value)
void SetWorkGroup(const Aws::String &value)
void SetDatabase(const char *value)
NamedQuery & WithQueryString(Aws::String &&value)
void SetDescription(Aws::String &&value)
NamedQuery & WithNamedQueryId(const Aws::String &value)
bool NamedQueryIdHasBeenSet() const
NamedQuery & WithDescription(Aws::String &&value)
void SetWorkGroup(Aws::String &&value)
void SetDescription(const char *value)
void SetDatabase(const Aws::String &value)
NamedQuery & WithWorkGroup(const Aws::String &value)
const Aws::String & GetWorkGroup() const
const Aws::String & GetDatabase() const
NamedQuery & WithDescription(const char *value)
void SetNamedQueryId(const Aws::String &value)
AWS_ATHENA_API NamedQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
NamedQuery & WithDatabase(Aws::String &&value)
void SetDatabase(Aws::String &&value)
bool NameHasBeenSet() const
void SetDescription(const Aws::String &value)
AWS_ATHENA_API NamedQuery(Aws::Utils::Json::JsonView jsonValue)
NamedQuery & WithName(const char *value)
NamedQuery & WithDatabase(const Aws::String &value)
NamedQuery & WithQueryString(const char *value)
void SetName(const Aws::String &value)
NamedQuery & WithWorkGroup(Aws::String &&value)
NamedQuery & WithWorkGroup(const char *value)
bool DatabaseHasBeenSet() const
void SetName(const char *value)
const Aws::String & GetDescription() const
NamedQuery & WithDescription(const Aws::String &value)
void SetNamedQueryId(Aws::String &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWorkGroup(const char *value)
void SetQueryString(const Aws::String &value)
bool WorkGroupHasBeenSet() const
NamedQuery & WithName(Aws::String &&value)
NamedQuery & WithName(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetNamedQueryId(const char *value)
NamedQuery & WithNamedQueryId(const char *value)
void SetQueryString(Aws::String &&value)
bool QueryStringHasBeenSet() const
void SetName(Aws::String &&value)
const Aws::String & GetNamedQueryId() const
NamedQuery & WithQueryString(const Aws::String &value)
const Aws::String & GetQueryString() const
AWS_ATHENA_API NamedQuery()
void SetQueryString(const char *value)
NamedQuery & WithDatabase(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue