7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift-data/RedshiftDataAPIService_EXPORTS.h>
10#include <aws/redshift-data/model/StatementStatusString.h>
21namespace 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));
65 m_durationHasBeenSet =
true;
81 template <
typename ErrorT = Aws::String>
83 m_errorHasBeenSet =
true;
84 m_error = std::forward<ErrorT>(value);
86 template <
typename ErrorT = Aws::String>
88 SetError(std::forward<ErrorT>(value));
101 m_statusHasBeenSet =
true;
116 template <
typename CreatedAtT = Aws::Utils::DateTime>
118 m_createdAtHasBeenSet =
true;
119 m_createdAt = std::forward<CreatedAtT>(value);
121 template <
typename CreatedAtT = Aws::Utils::DateTime>
134 template <
typename UpdatedAtT = Aws::Utils::DateTime>
136 m_updatedAtHasBeenSet =
true;
137 m_updatedAt = std::forward<UpdatedAtT>(value);
139 template <
typename UpdatedAtT = Aws::Utils::DateTime>
152 template <
typename QueryStringT = Aws::String>
154 m_queryStringHasBeenSet =
true;
155 m_queryString = std::forward<QueryStringT>(value);
157 template <
typename QueryStringT = Aws::String>
174 m_resultRowsHasBeenSet =
true;
175 m_resultRows = value;
191 m_resultSizeHasBeenSet =
true;
192 m_resultSize = value;
209 m_redshiftQueryIdHasBeenSet =
true;
210 m_redshiftQueryId = value;
226 template <
typename RedshiftQueryUu
idT = Aws::String>
228 m_redshiftQueryUuidHasBeenSet =
true;
229 m_redshiftQueryUuid = std::forward<RedshiftQueryUuidT>(value);
231 template <
typename RedshiftQueryUu
idT = Aws::String>
246 m_hasResultSetHasBeenSet =
true;
247 m_hasResultSet = value;
257 long long m_duration{0};
269 long long m_resultRows{0};
271 long long m_resultSize{0};
273 long long m_redshiftQueryId{0};
277 bool m_hasResultSet{
false};
278 bool m_idHasBeenSet =
false;
279 bool m_durationHasBeenSet =
false;
280 bool m_errorHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
282 bool m_createdAtHasBeenSet =
false;
283 bool m_updatedAtHasBeenSet =
false;
284 bool m_queryStringHasBeenSet =
false;
285 bool m_resultRowsHasBeenSet =
false;
286 bool m_resultSizeHasBeenSet =
false;
287 bool m_redshiftQueryIdHasBeenSet =
false;
288 bool m_redshiftQueryUuidHasBeenSet =
false;
289 bool m_hasResultSetHasBeenSet =
false;
SubStatementData & WithRedshiftQueryUuid(RedshiftQueryUuidT &&value)
SubStatementData & WithResultRows(long long value)
SubStatementData & WithResultSize(long long value)
bool ErrorHasBeenSet() const
SubStatementData & WithCreatedAt(CreatedAtT &&value)
SubStatementData & WithHasResultSet(bool value)
void SetQueryString(QueryStringT &&value)
bool UpdatedAtHasBeenSet() const
SubStatementData & WithRedshiftQueryId(long long value)
bool CreatedAtHasBeenSet() const
AWS_REDSHIFTDATAAPISERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTDATAAPISERVICE_API SubStatementData & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetResultSize() const
const Aws::String & GetId() const
bool ResultSizeHasBeenSet() const
bool RedshiftQueryIdHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetRedshiftQueryUuid() const
StatementStatusString GetStatus() const
const Aws::String & GetError() const
long long GetRedshiftQueryId() const
bool HasResultSetHasBeenSet() const
bool RedshiftQueryUuidHasBeenSet() const
long long GetResultRows() const
long long GetDuration() const
void SetRedshiftQueryId(long long value)
SubStatementData & WithDuration(long long value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool IdHasBeenSet() const
SubStatementData & WithError(ErrorT &&value)
void SetError(ErrorT &&value)
bool GetHasResultSet() const
const Aws::String & GetQueryString() const
void SetHasResultSet(bool value)
bool QueryStringHasBeenSet() const
void SetResultSize(long long value)
void SetRedshiftQueryUuid(RedshiftQueryUuidT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
SubStatementData & WithUpdatedAt(UpdatedAtT &&value)
void SetResultRows(long long value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_REDSHIFTDATAAPISERVICE_API SubStatementData(Aws::Utils::Json::JsonView jsonValue)
void SetDuration(long long value)
bool DurationHasBeenSet() const
bool ResultRowsHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_REDSHIFTDATAAPISERVICE_API SubStatementData()=default
SubStatementData & WithQueryString(QueryStringT &&value)
void SetStatus(StatementStatusString value)
SubStatementData & WithStatus(StatementStatusString value)
SubStatementData & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue