7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/InputColumn.h>
49 template<
typename DataSourceArnT = Aws::String>
50 void SetDataSourceArn(DataSourceArnT&& value) { m_dataSourceArnHasBeenSet =
true; m_dataSourceArn = std::forward<DataSourceArnT>(value); }
51 template<
typename DataSourceArnT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename SqlQueryT = Aws::String>
74 void SetSqlQuery(SqlQueryT&& value) { m_sqlQueryHasBeenSet =
true; m_sqlQuery = std::forward<SqlQueryT>(value); }
75 template<
typename SqlQueryT = Aws::String>
85 template<
typename ColumnsT = Aws::Vector<InputColumn>>
86 void SetColumns(ColumnsT&& value) { m_columnsHasBeenSet =
true; m_columns = std::forward<ColumnsT>(value); }
87 template<
typename ColumnsT = Aws::Vector<InputColumn>>
89 template<
typename ColumnsT = InputColumn>
90 CustomSql&
AddColumns(ColumnsT&& value) { m_columnsHasBeenSet =
true; m_columns.emplace_back(std::forward<ColumnsT>(value));
return *
this; }
95 bool m_dataSourceArnHasBeenSet =
false;
98 bool m_nameHasBeenSet =
false;
101 bool m_sqlQueryHasBeenSet =
false;
104 bool m_columnsHasBeenSet =
false;
CustomSql & WithColumns(ColumnsT &&value)
CustomSql & AddColumns(ColumnsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomSql & WithDataSourceArn(DataSourceArnT &&value)
AWS_QUICKSIGHT_API CustomSql & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool SqlQueryHasBeenSet() const
AWS_QUICKSIGHT_API CustomSql()=default
const Aws::String & GetSqlQuery() const
void SetSqlQuery(SqlQueryT &&value)
bool NameHasBeenSet() const
const Aws::Vector< InputColumn > & GetColumns() const
const Aws::String & GetName() const
AWS_QUICKSIGHT_API CustomSql(Aws::Utils::Json::JsonView jsonValue)
void SetDataSourceArn(DataSourceArnT &&value)
void SetColumns(ColumnsT &&value)
CustomSql & WithSqlQuery(SqlQueryT &&value)
bool DataSourceArnHasBeenSet() const
CustomSql & WithName(NameT &&value)
const Aws::String & GetDataSourceArn() const
bool ColumnsHasBeenSet() 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