7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/StatementOutputData.h>
9#include <aws/glue/model/StatementState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename DataT = StatementOutputData>
50 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
51 template<
typename DataT = StatementOutputData>
61 inline void SetExecutionCount(
int value) { m_executionCountHasBeenSet =
true; m_executionCount = value; }
81 template<
typename ErrorNameT = Aws::String>
82 void SetErrorName(ErrorNameT&& value) { m_errorNameHasBeenSet =
true; m_errorName = std::forward<ErrorNameT>(value); }
83 template<
typename ErrorNameT = Aws::String>
93 template<
typename ErrorValueT = Aws::String>
94 void SetErrorValue(ErrorValueT&& value) { m_errorValueHasBeenSet =
true; m_errorValue = std::forward<ErrorValueT>(value); }
95 template<
typename ErrorValueT = Aws::String>
105 template<
typename TracebackT = Aws::Vector<Aws::String>>
106 void SetTraceback(TracebackT&& value) { m_tracebackHasBeenSet =
true; m_traceback = std::forward<TracebackT>(value); }
107 template<
typename TracebackT = Aws::Vector<Aws::String>>
109 template<
typename TracebackT = Aws::String>
110 StatementOutput&
AddTraceback(TracebackT&& value) { m_tracebackHasBeenSet =
true; m_traceback.emplace_back(std::forward<TracebackT>(value));
return *
this; }
115 bool m_dataHasBeenSet =
false;
117 int m_executionCount{0};
118 bool m_executionCountHasBeenSet =
false;
121 bool m_statusHasBeenSet =
false;
124 bool m_errorNameHasBeenSet =
false;
127 bool m_errorValueHasBeenSet =
false;
130 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