7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
47 template<
typename StatementNameT = Aws::String>
48 void SetStatementName(StatementNameT&& value) { m_statementNameHasBeenSet =
true; m_statementName = std::forward<StatementNameT>(value); }
49 template<
typename StatementNameT = Aws::String>
59 template<
typename QueryStatementT = Aws::String>
60 void SetQueryStatement(QueryStatementT&& value) { m_queryStatementHasBeenSet =
true; m_queryStatement = std::forward<QueryStatementT>(value); }
61 template<
typename QueryStatementT = Aws::String>
71 template<
typename WorkGroupNameT = Aws::String>
72 void SetWorkGroupName(WorkGroupNameT&& value) { m_workGroupNameHasBeenSet =
true; m_workGroupName = std::forward<WorkGroupNameT>(value); }
73 template<
typename WorkGroupNameT = Aws::String>
83 template<
typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
85 template<
typename DescriptionT = Aws::String>
95 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
96 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
97 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
103 bool m_statementNameHasBeenSet =
false;
106 bool m_queryStatementHasBeenSet =
false;
109 bool m_workGroupNameHasBeenSet =
false;
112 bool m_descriptionHasBeenSet =
false;
115 bool m_lastModifiedTimeHasBeenSet =
false;
AWS_ATHENA_API PreparedStatement()=default
AWS_ATHENA_API PreparedStatement(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkGroupName() const
PreparedStatement & WithWorkGroupName(WorkGroupNameT &&value)
void SetStatementName(StatementNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetQueryStatement(QueryStatementT &&value)
PreparedStatement & WithLastModifiedTime(LastModifiedTimeT &&value)
bool StatementNameHasBeenSet() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetQueryStatement() const
void SetWorkGroupName(WorkGroupNameT &&value)
bool QueryStatementHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetDescription(DescriptionT &&value)
PreparedStatement & WithQueryStatement(QueryStatementT &&value)
PreparedStatement & WithStatementName(StatementNameT &&value)
const Aws::String & GetStatementName() const
bool WorkGroupNameHasBeenSet() const
const Aws::String & GetDescription() const
bool LastModifiedTimeHasBeenSet() const
PreparedStatement & WithDescription(DescriptionT &&value)
AWS_ATHENA_API PreparedStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue