7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/StatementOutput.h>
10#include <aws/glue/model/StatementState.h>
41 inline int GetId()
const {
return m_id; }
44 m_idHasBeenSet =
true;
59 template <
typename CodeT = Aws::String>
61 m_codeHasBeenSet =
true;
62 m_code = std::forward<CodeT>(value);
64 template <
typename CodeT = Aws::String>
66 SetCode(std::forward<CodeT>(value));
78 m_stateHasBeenSet =
true;
93 template <
typename OutputT = StatementOutput>
95 m_outputHasBeenSet =
true;
96 m_output = std::forward<OutputT>(value);
98 template <
typename OutputT = StatementOutput>
112 m_progressHasBeenSet =
true;
128 m_startedOnHasBeenSet =
true;
144 m_completedOnHasBeenSet =
true;
145 m_completedOn = value;
159 StatementOutput m_output;
161 double m_progress{0.0};
163 long long m_startedOn{0};
165 long long m_completedOn{0};
166 bool m_idHasBeenSet =
false;
167 bool m_codeHasBeenSet =
false;
168 bool m_stateHasBeenSet =
false;
169 bool m_outputHasBeenSet =
false;
170 bool m_progressHasBeenSet =
false;
171 bool m_startedOnHasBeenSet =
false;
172 bool m_completedOnHasBeenSet =
false;
Statement & WithState(StatementState value)
Statement & WithId(int value)
AWS_GLUE_API Statement()=default
Statement & WithCode(CodeT &&value)
StatementState GetState() const
long long GetCompletedOn() const
void SetProgress(double value)
bool ProgressHasBeenSet() const
bool IdHasBeenSet() const
Statement & WithCompletedOn(long long value)
Statement & WithOutput(OutputT &&value)
AWS_GLUE_API Statement(Aws::Utils::Json::JsonView jsonValue)
bool StartedOnHasBeenSet() const
void SetCode(CodeT &&value)
void SetCompletedOn(long long value)
const StatementOutput & GetOutput() const
void SetOutput(OutputT &&value)
Statement & WithStartedOn(long long value)
void SetStartedOn(long long value)
long long GetStartedOn() const
bool CompletedOnHasBeenSet() const
void SetState(StatementState value)
const Aws::String & GetCode() const
AWS_GLUE_API Statement & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
bool OutputHasBeenSet() const
double GetProgress() const
Statement & WithProgress(double value)
bool StateHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue