7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-data/RedshiftDataAPIService_EXPORTS.h>
11#include <aws/redshift-data/model/ResultFormatString.h>
12#include <aws/redshift-data/model/SqlParameter.h>
13#include <aws/redshift-data/model/StatusString.h>
24namespace RedshiftDataAPIService {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename QueryStringT = Aws::String>
66 m_queryStringHasBeenSet =
true;
67 m_queryString = std::forward<QueryStringT>(value);
69 template <
typename QueryStringT = Aws::String>
83 template <
typename QueryStringsT = Aws::Vector<Aws::String>>
85 m_queryStringsHasBeenSet =
true;
86 m_queryStrings = std::forward<QueryStringsT>(value);
88 template <
typename QueryStringsT = Aws::Vector<Aws::String>>
93 template <
typename QueryStringsT = Aws::String>
95 m_queryStringsHasBeenSet =
true;
96 m_queryStrings.emplace_back(std::forward<QueryStringsT>(value));
108 template <
typename SecretArnT = Aws::String>
110 m_secretArnHasBeenSet =
true;
111 m_secretArn = std::forward<SecretArnT>(value);
113 template <
typename SecretArnT = Aws::String>
128 m_statusHasBeenSet =
true;
143 template <
typename StatementNameT = Aws::String>
145 m_statementNameHasBeenSet =
true;
146 m_statementName = std::forward<StatementNameT>(value);
148 template <
typename StatementNameT = Aws::String>
161 template <
typename CreatedAtT = Aws::Utils::DateTime>
163 m_createdAtHasBeenSet =
true;
164 m_createdAt = std::forward<CreatedAtT>(value);
166 template <
typename CreatedAtT = Aws::Utils::DateTime>
179 template <
typename UpdatedAtT = Aws::Utils::DateTime>
181 m_updatedAtHasBeenSet =
true;
182 m_updatedAt = std::forward<UpdatedAtT>(value);
184 template <
typename UpdatedAtT = Aws::Utils::DateTime>
197 template <
typename QueryParametersT = Aws::Vector<SqlParameter>>
199 m_queryParametersHasBeenSet =
true;
200 m_queryParameters = std::forward<QueryParametersT>(value);
202 template <
typename QueryParametersT = Aws::Vector<SqlParameter>>
207 template <
typename QueryParametersT = SqlParameter>
209 m_queryParametersHasBeenSet =
true;
210 m_queryParameters.emplace_back(std::forward<QueryParametersT>(value));
222 m_isBatchStatementHasBeenSet =
true;
223 m_isBatchStatement = value;
238 m_resultFormatHasBeenSet =
true;
239 m_resultFormat = value;
253 template <
typename SessionIdT = Aws::String>
255 m_sessionIdHasBeenSet =
true;
256 m_sessionId = std::forward<SessionIdT>(value);
258 template <
typename SessionIdT = Aws::String>
283 bool m_isBatchStatement{
false};
288 bool m_idHasBeenSet =
false;
289 bool m_queryStringHasBeenSet =
false;
290 bool m_queryStringsHasBeenSet =
false;
291 bool m_secretArnHasBeenSet =
false;
292 bool m_statusHasBeenSet =
false;
293 bool m_statementNameHasBeenSet =
false;
294 bool m_createdAtHasBeenSet =
false;
295 bool m_updatedAtHasBeenSet =
false;
296 bool m_queryParametersHasBeenSet =
false;
297 bool m_isBatchStatementHasBeenSet =
false;
298 bool m_resultFormatHasBeenSet =
false;
299 bool m_sessionIdHasBeenSet =
false;
const Aws::String & GetSessionId() const
AWS_REDSHIFTDATAAPISERVICE_API StatementData(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
const Aws::Vector< Aws::String > & GetQueryStrings() const
StatementData & WithStatementName(StatementNameT &&value)
StatementData & AddQueryParameters(QueryParametersT &&value)
void SetQueryStrings(QueryStringsT &&value)
bool ResultFormatHasBeenSet() const
StatementData & WithSessionId(SessionIdT &&value)
StatementData & WithQueryString(QueryStringT &&value)
StatementData & WithSecretArn(SecretArnT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool StatementNameHasBeenSet() const
StatementData & WithUpdatedAt(UpdatedAtT &&value)
void SetStatus(StatusString value)
void SetQueryString(QueryStringT &&value)
StatementData & WithStatus(StatusString value)
void SetResultFormat(ResultFormatString value)
bool StatusHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< SqlParameter > & GetQueryParameters() const
StatusString GetStatus() const
const Aws::String & GetSecretArn() const
bool IsBatchStatementHasBeenSet() const
AWS_REDSHIFTDATAAPISERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
StatementData & WithIsBatchStatement(bool value)
void SetStatementName(StatementNameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetQueryString() const
AWS_REDSHIFTDATAAPISERVICE_API StatementData & operator=(Aws::Utils::Json::JsonView jsonValue)
StatementData & WithResultFormat(ResultFormatString value)
void SetSessionId(SessionIdT &&value)
bool QueryParametersHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
StatementData & WithQueryParameters(QueryParametersT &&value)
void SetIsBatchStatement(bool value)
bool GetIsBatchStatement() const
StatementData & WithId(IdT &&value)
AWS_REDSHIFTDATAAPISERVICE_API StatementData()=default
const Aws::String & GetId() const
void SetQueryParameters(QueryParametersT &&value)
const Aws::String & GetStatementName() const
StatementData & WithQueryStrings(QueryStringsT &&value)
void SetSecretArn(SecretArnT &&value)
bool UpdatedAtHasBeenSet() const
bool QueryStringHasBeenSet() const
bool SecretArnHasBeenSet() const
StatementData & AddQueryStrings(QueryStringsT &&value)
StatementData & WithCreatedAt(CreatedAtT &&value)
ResultFormatString GetResultFormat() const
bool SessionIdHasBeenSet() const
bool QueryStringsHasBeenSet() 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