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>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename InputsT = Aws::Vector<Aws::String>>
61 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
62 template<
typename InputsT = Aws::Vector<Aws::String>>
64 template<
typename InputsT = Aws::String>
65 Spigot&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
75 template<
typename PathT = Aws::String>
76 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
77 template<
typename PathT = Aws::String>
86 inline int GetTopk()
const {
return m_topk; }
88 inline void SetTopk(
int value) { m_topkHasBeenSet =
true; m_topk = value; }
98 inline double GetProb()
const {
return m_prob; }
100 inline void SetProb(
double value) { m_probHasBeenSet =
true; m_prob = value; }
106 bool m_nameHasBeenSet =
false;
109 bool m_inputsHasBeenSet =
false;
112 bool m_pathHasBeenSet =
false;
115 bool m_topkHasBeenSet =
false;
118 bool m_probHasBeenSet =
false;
bool TopkHasBeenSet() const
const Aws::Vector< Aws::String > & GetInputs() const
const Aws::String & GetName() const
Spigot & WithProb(double value)
void SetInputs(InputsT &&value)
AWS_GLUE_API Spigot & operator=(Aws::Utils::Json::JsonView jsonValue)
Spigot & WithName(NameT &&value)
AWS_GLUE_API Spigot()=default
bool ProbHasBeenSet() const
void SetName(NameT &&value)
Spigot & WithPath(PathT &&value)
Spigot & AddInputs(InputsT &&value)
Spigot & WithTopk(int value)
Spigot & WithInputs(InputsT &&value)
void SetProb(double value)
bool NameHasBeenSet() const
void SetPath(PathT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API Spigot(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
bool PathHasBeenSet() const
bool InputsHasBeenSet() 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