7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/QueryExecutionState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/athena/model/AthenaError.h>
69 template<
typename StateChangeReasonT = Aws::String>
70 void SetStateChangeReason(StateChangeReasonT&& value) { m_stateChangeReasonHasBeenSet =
true; m_stateChangeReason = std::forward<StateChangeReasonT>(value); }
71 template<
typename StateChangeReasonT = Aws::String>
81 template<
typename SubmissionDateTimeT = Aws::Utils::DateTime>
82 void SetSubmissionDateTime(SubmissionDateTimeT&& value) { m_submissionDateTimeHasBeenSet =
true; m_submissionDateTime = std::forward<SubmissionDateTimeT>(value); }
83 template<
typename SubmissionDateTimeT = Aws::Utils::DateTime>
93 template<
typename CompletionDateTimeT = Aws::Utils::DateTime>
94 void SetCompletionDateTime(CompletionDateTimeT&& value) { m_completionDateTimeHasBeenSet =
true; m_completionDateTime = std::forward<CompletionDateTimeT>(value); }
95 template<
typename CompletionDateTimeT = Aws::Utils::DateTime>
105 template<
typename AthenaErrorT = AthenaError>
106 void SetAthenaError(AthenaErrorT&& value) { m_athenaErrorHasBeenSet =
true; m_athenaError = std::forward<AthenaErrorT>(value); }
107 template<
typename AthenaErrorT = AthenaError>
113 bool m_stateHasBeenSet =
false;
116 bool m_stateChangeReasonHasBeenSet =
false;
119 bool m_submissionDateTimeHasBeenSet =
false;
122 bool m_completionDateTimeHasBeenSet =
false;
124 AthenaError m_athenaError;
125 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