7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/AthenaError.h>
9#include <aws/athena/model/QueryExecutionState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
54 m_stateHasBeenSet =
true;
69 template <
typename StateChangeReasonT = Aws::String>
71 m_stateChangeReasonHasBeenSet =
true;
72 m_stateChangeReason = std::forward<StateChangeReasonT>(value);
74 template <
typename StateChangeReasonT = Aws::String>
87 template <
typename SubmissionDateTimeT = Aws::Utils::DateTime>
89 m_submissionDateTimeHasBeenSet =
true;
90 m_submissionDateTime = std::forward<SubmissionDateTimeT>(value);
92 template <
typename SubmissionDateTimeT = Aws::Utils::DateTime>
105 template <
typename CompletionDateTimeT = Aws::Utils::DateTime>
107 m_completionDateTimeHasBeenSet =
true;
108 m_completionDateTime = std::forward<CompletionDateTimeT>(value);
110 template <
typename CompletionDateTimeT = Aws::Utils::DateTime>
123 template <
typename AthenaErrorT = AthenaError>
125 m_athenaErrorHasBeenSet =
true;
126 m_athenaError = std::forward<AthenaErrorT>(value);
128 template <
typename AthenaErrorT = AthenaError>
143 AthenaError m_athenaError;
144 bool m_stateHasBeenSet =
false;
145 bool m_stateChangeReasonHasBeenSet =
false;
146 bool m_submissionDateTimeHasBeenSet =
false;
147 bool m_completionDateTimeHasBeenSet =
false;
148 bool m_athenaErrorHasBeenSet =
false;
AWS_ATHENA_API QueryExecutionStatus()=default
bool CompletionDateTimeHasBeenSet() const
void SetState(QueryExecutionState value)
bool SubmissionDateTimeHasBeenSet() const
QueryExecutionStatus & WithSubmissionDateTime(SubmissionDateTimeT &&value)
bool AthenaErrorHasBeenSet() const
const Aws::Utils::DateTime & GetSubmissionDateTime() const
void SetSubmissionDateTime(SubmissionDateTimeT &&value)
const AthenaError & GetAthenaError() const
QueryExecutionStatus & WithCompletionDateTime(CompletionDateTimeT &&value)
AWS_ATHENA_API QueryExecutionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStateChangeReason() const
QueryExecutionStatus & WithStateChangeReason(StateChangeReasonT &&value)
void SetCompletionDateTime(CompletionDateTimeT &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API QueryExecutionStatus(Aws::Utils::Json::JsonView jsonValue)
QueryExecutionState GetState() const
void SetStateChangeReason(StateChangeReasonT &&value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetCompletionDateTime() const
void SetAthenaError(AthenaErrorT &&value)
QueryExecutionStatus & WithState(QueryExecutionState value)
bool StateChangeReasonHasBeenSet() const
QueryExecutionStatus & WithAthenaError(AthenaErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue