7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/SqlAlias.h>
11#include <aws/glue/model/GlueSchema.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline SparkSQL&
AddInputs(
const char* value) { m_inputsHasBeenSet =
true; m_inputs.push_back(value);
return *
this; }
84 inline void SetSqlQuery(
const char* value) { m_sqlQueryHasBeenSet =
true; m_sqlQuery.assign(value); }
124 bool m_nameHasBeenSet =
false;
127 bool m_inputsHasBeenSet =
false;
130 bool m_sqlQueryHasBeenSet =
false;
133 bool m_sqlAliasesHasBeenSet =
false;
136 bool m_outputSchemasHasBeenSet =
false;
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
SparkSQL & AddInputs(Aws::String &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
SparkSQL & WithName(const char *value)
const Aws::String & GetSqlQuery() const
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetSqlAliases(Aws::Vector< SqlAlias > &&value)
SparkSQL & WithInputs(Aws::Vector< Aws::String > &&value)
const Aws::Vector< SqlAlias > & GetSqlAliases() const
SparkSQL & AddInputs(const char *value)
void SetSqlQuery(Aws::String &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
SparkSQL & AddSqlAliases(const SqlAlias &value)
SparkSQL & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
SparkSQL & AddOutputSchemas(GlueSchema &&value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
bool NameHasBeenSet() const
SparkSQL & WithName(Aws::String &&value)
const Aws::String & GetName() const
SparkSQL & WithSqlQuery(const Aws::String &value)
bool SqlQueryHasBeenSet() const
bool InputsHasBeenSet() const
bool OutputSchemasHasBeenSet() const
SparkSQL & AddOutputSchemas(const GlueSchema &value)
const Aws::Vector< Aws::String > & GetInputs() const
void SetSqlAliases(const Aws::Vector< SqlAlias > &value)
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API SparkSQL(Aws::Utils::Json::JsonView jsonValue)
void SetSqlQuery(const Aws::String &value)
SparkSQL & AddInputs(const Aws::String &value)
void SetSqlQuery(const char *value)
SparkSQL & AddSqlAliases(SqlAlias &&value)
SparkSQL & WithSqlAliases(const Aws::Vector< SqlAlias > &value)
SparkSQL & WithSqlAliases(Aws::Vector< SqlAlias > &&value)
SparkSQL & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
AWS_GLUE_API SparkSQL & operator=(Aws::Utils::Json::JsonView jsonValue)
SparkSQL & WithSqlQuery(Aws::String &&value)
SparkSQL & WithName(const Aws::String &value)
SparkSQL & WithInputs(const Aws::Vector< Aws::String > &value)
SparkSQL & WithSqlQuery(const char *value)
bool SqlAliasesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue