7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
60 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
74 inline void SetDatabase(
const char* value) { m_databaseHasBeenSet =
true; m_database.assign(value); }
88 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
110 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
124 inline void SetWorkGroup(
const char* value) { m_workGroupHasBeenSet =
true; m_workGroup.assign(value); }
132 bool m_nameHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
138 bool m_databaseHasBeenSet =
false;
141 bool m_queryStringHasBeenSet =
false;
144 bool m_clientRequestTokenHasBeenSet =
false;
147 bool m_workGroupHasBeenSet =
false;
bool DatabaseHasBeenSet() const
CreateNamedQueryRequest & WithDatabase(Aws::String &&value)
CreateNamedQueryRequest & WithDescription(const Aws::String &value)
CreateNamedQueryRequest & WithQueryString(const char *value)
const Aws::String & GetQueryString() const
void SetWorkGroup(Aws::String &&value)
void SetDatabase(const char *value)
void SetWorkGroup(const Aws::String &value)
void SetDatabase(Aws::String &&value)
void SetClientRequestToken(Aws::String &&value)
void SetDescription(const char *value)
CreateNamedQueryRequest & WithDescription(const char *value)
void SetName(Aws::String &&value)
CreateNamedQueryRequest & WithClientRequestToken(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetClientRequestToken() const
bool ClientRequestTokenHasBeenSet() const
void SetClientRequestToken(const char *value)
void SetDescription(const Aws::String &value)
void SetWorkGroup(const char *value)
void SetQueryString(Aws::String &&value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateNamedQueryRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateNamedQueryRequest & WithQueryString(Aws::String &&value)
CreateNamedQueryRequest & WithWorkGroup(const char *value)
const Aws::String & GetWorkGroup() const
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
AWS_ATHENA_API CreateNamedQueryRequest()
void SetClientRequestToken(const Aws::String &value)
bool QueryStringHasBeenSet() const
CreateNamedQueryRequest & WithWorkGroup(Aws::String &&value)
void SetDatabase(const Aws::String &value)
void SetQueryString(const Aws::String &value)
bool WorkGroupHasBeenSet() const
CreateNamedQueryRequest & WithClientRequestToken(const Aws::String &value)
const Aws::String & GetName() const
CreateNamedQueryRequest & WithDatabase(const Aws::String &value)
CreateNamedQueryRequest & WithName(Aws::String &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
CreateNamedQueryRequest & WithQueryString(const Aws::String &value)
CreateNamedQueryRequest & WithDatabase(const char *value)
void SetName(const char *value)
CreateNamedQueryRequest & WithName(const Aws::String &value)
CreateNamedQueryRequest & WithClientRequestToken(Aws::String &&value)
void SetQueryString(const char *value)
CreateNamedQueryRequest & WithWorkGroup(const Aws::String &value)
CreateNamedQueryRequest & WithName(const char *value)
const Aws::String & GetDatabase() const
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String