7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/StatementState.h>
10#include <aws/glue/model/StatementOutput.h>
47 inline int GetId()
const {
return m_id; }
49 inline void SetId(
int value) { m_idHasBeenSet =
true; m_id = value; }
59 template<
typename CodeT = Aws::String>
60 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
61 template<
typename CodeT = Aws::String>
81 template<
typename OutputT = StatementOutput>
82 void SetOutput(OutputT&& value) { m_outputHasBeenSet =
true; m_output = std::forward<OutputT>(value); }
83 template<
typename OutputT = StatementOutput>
93 inline void SetProgress(
double value) { m_progressHasBeenSet =
true; m_progress = value; }
103 inline void SetStartedOn(
long long value) { m_startedOnHasBeenSet =
true; m_startedOn = value; }
113 inline void SetCompletedOn(
long long value) { m_completedOnHasBeenSet =
true; m_completedOn = value; }
119 bool m_idHasBeenSet =
false;
122 bool m_codeHasBeenSet =
false;
125 bool m_stateHasBeenSet =
false;
127 StatementOutput m_output;
128 bool m_outputHasBeenSet =
false;
130 double m_progress{0.0};
131 bool m_progressHasBeenSet =
false;
133 long long m_startedOn{0};
134 bool m_startedOnHasBeenSet =
false;
136 long long m_completedOn{0};
137 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