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>
73 inline void SetStateChangeReason(
const char* value) { m_stateChangeReasonHasBeenSet =
true; m_stateChangeReason.assign(value); }
117 bool m_stateHasBeenSet =
false;
120 bool m_stateChangeReasonHasBeenSet =
false;
123 bool m_submissionDateTimeHasBeenSet =
false;
126 bool m_completionDateTimeHasBeenSet =
false;
129 bool m_athenaErrorHasBeenSet =
false;
void SetAthenaError(AthenaError &&value)
void SetCompletionDateTime(const Aws::Utils::DateTime &value)
const QueryExecutionState & GetState() const
bool CompletionDateTimeHasBeenSet() const
QueryExecutionStatus & WithStateChangeReason(Aws::String &&value)
bool SubmissionDateTimeHasBeenSet() const
bool AthenaErrorHasBeenSet() const
QueryExecutionStatus & WithState(const QueryExecutionState &value)
void SetState(QueryExecutionState &&value)
void SetStateChangeReason(Aws::String &&value)
const Aws::Utils::DateTime & GetSubmissionDateTime() const
void SetState(const QueryExecutionState &value)
const AthenaError & GetAthenaError() const
QueryExecutionStatus & WithSubmissionDateTime(const Aws::Utils::DateTime &value)
AWS_ATHENA_API QueryExecutionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubmissionDateTime(Aws::Utils::DateTime &&value)
QueryExecutionStatus & WithStateChangeReason(const Aws::String &value)
const Aws::String & GetStateChangeReason() const
QueryExecutionStatus & WithAthenaError(const AthenaError &value)
void SetStateChangeReason(const char *value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
QueryExecutionStatus & WithSubmissionDateTime(Aws::Utils::DateTime &&value)
QueryExecutionStatus & WithAthenaError(AthenaError &&value)
AWS_ATHENA_API QueryExecutionStatus(Aws::Utils::Json::JsonView jsonValue)
QueryExecutionStatus & WithCompletionDateTime(const Aws::Utils::DateTime &value)
void SetStateChangeReason(const Aws::String &value)
void SetAthenaError(const AthenaError &value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetCompletionDateTime() const
QueryExecutionStatus & WithStateChangeReason(const char *value)
QueryExecutionStatus & WithCompletionDateTime(Aws::Utils::DateTime &&value)
bool StateChangeReasonHasBeenSet() const
void SetCompletionDateTime(Aws::Utils::DateTime &&value)
AWS_ATHENA_API QueryExecutionStatus()
QueryExecutionStatus & WithState(QueryExecutionState &&value)
void SetSubmissionDateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue