7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/InputColumn.h>
43 template <
typename DataSourceArnT = Aws::String>
45 m_dataSourceArnHasBeenSet =
true;
46 m_dataSourceArn = std::forward<DataSourceArnT>(value);
48 template <
typename DataSourceArnT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename SqlQueryT = Aws::String>
81 m_sqlQueryHasBeenSet =
true;
82 m_sqlQuery = std::forward<SqlQueryT>(value);
84 template <
typename SqlQueryT = Aws::String>
97 template <
typename ColumnsT = Aws::Vector<InputColumn>>
99 m_columnsHasBeenSet =
true;
100 m_columns = std::forward<ColumnsT>(value);
102 template <
typename ColumnsT = Aws::Vector<InputColumn>>
107 template <
typename ColumnsT = InputColumn>
109 m_columnsHasBeenSet =
true;
110 m_columns.emplace_back(std::forward<ColumnsT>(value));
122 bool m_dataSourceArnHasBeenSet =
false;
123 bool m_nameHasBeenSet =
false;
124 bool m_sqlQueryHasBeenSet =
false;
125 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