7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/StatementOutputData.h>
11#include <aws/glue/model/StatementState.h>
43 template <
typename DataT = StatementOutputData>
45 m_dataHasBeenSet =
true;
46 m_data = std::forward<DataT>(value);
48 template <
typename DataT = StatementOutputData>
50 SetData(std::forward<DataT>(value));
62 m_executionCountHasBeenSet =
true;
63 m_executionCount = value;
78 m_statusHasBeenSet =
true;
93 template <
typename ErrorNameT = Aws::String>
95 m_errorNameHasBeenSet =
true;
96 m_errorName = std::forward<ErrorNameT>(value);
98 template <
typename ErrorNameT = Aws::String>
111 template <
typename ErrorValueT = Aws::String>
113 m_errorValueHasBeenSet =
true;
114 m_errorValue = std::forward<ErrorValueT>(value);
116 template <
typename ErrorValueT = Aws::String>
129 template <
typename TracebackT = Aws::Vector<Aws::String>>
131 m_tracebackHasBeenSet =
true;
132 m_traceback = std::forward<TracebackT>(value);
134 template <
typename TracebackT = Aws::Vector<Aws::String>>
139 template <
typename TracebackT = Aws::String>
141 m_tracebackHasBeenSet =
true;
142 m_traceback.emplace_back(std::forward<TracebackT>(value));
149 int m_executionCount{0};
158 bool m_dataHasBeenSet =
false;
159 bool m_executionCountHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
161 bool m_errorNameHasBeenSet =
false;
162 bool m_errorValueHasBeenSet =
false;
163 bool m_tracebackHasBeenSet =
false;
StatementOutput & WithErrorValue(ErrorValueT &&value)
bool TracebackHasBeenSet() const
bool DataHasBeenSet() const
void SetTraceback(TracebackT &&value)
const Aws::String & GetErrorValue() const
void SetStatus(StatementState value)
void SetExecutionCount(int value)
StatementOutput & WithErrorName(ErrorNameT &&value)
const Aws::Vector< Aws::String > & GetTraceback() const
const Aws::String & GetErrorName() const
bool ExecutionCountHasBeenSet() const
StatementOutput & WithExecutionCount(int value)
int GetExecutionCount() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API StatementOutput()=default
AWS_GLUE_API StatementOutput(Aws::Utils::Json::JsonView jsonValue)
bool ErrorNameHasBeenSet() const
void SetErrorValue(ErrorValueT &&value)
StatementOutput & WithStatus(StatementState value)
bool ErrorValueHasBeenSet() const
StatementOutput & AddTraceback(TracebackT &&value)
const StatementOutputData & GetData() const
StatementState GetStatus() const
void SetErrorName(ErrorNameT &&value)
StatementOutput & WithTraceback(TracebackT &&value)
void SetData(DataT &&value)
StatementOutput & WithData(DataT &&value)
AWS_GLUE_API StatementOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue