7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/UnionType.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename InputsT = Aws::Vector<Aws::String>>
62 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
63 template<
typename InputsT = Aws::Vector<Aws::String>>
65 template<
typename InputsT = Aws::String>
66 Union&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
84 bool m_nameHasBeenSet =
false;
87 bool m_inputsHasBeenSet =
false;
90 bool m_unionTypeHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetInputs() const
bool NameHasBeenSet() const
Union & WithName(NameT &&value)
Union & AddInputs(InputsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool UnionTypeHasBeenSet() const
const Aws::String & GetName() const
void SetInputs(InputsT &&value)
UnionType GetUnionType() const
AWS_GLUE_API Union(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_GLUE_API Union()=default
bool InputsHasBeenSet() const
void SetUnionType(UnionType value)
Union & WithUnionType(UnionType value)
AWS_GLUE_API Union & operator=(Aws::Utils::Json::JsonView jsonValue)
Union & WithInputs(InputsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue