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/AggregateOperation.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>
62 template<
typename InputsT = Aws::Vector<Aws::String>>
63 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
64 template<
typename InputsT = Aws::Vector<Aws::String>>
66 template<
typename InputsT = Aws::String>
67 Aggregate&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
76 template<
typename GroupsT = Aws::Vector<Aws::Vector<Aws::String>>>
77 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
78 template<
typename GroupsT = Aws::Vector<Aws::Vector<Aws::String>>>
80 template<
typename GroupsT = Aws::Vector<Aws::String>>
81 Aggregate&
AddGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups.emplace_back(std::forward<GroupsT>(value));
return *
this; }
90 template<
typename AggsT = Aws::Vector<AggregateOperation>>
91 void SetAggs(AggsT&& value) { m_aggsHasBeenSet =
true; m_aggs = std::forward<AggsT>(value); }
92 template<
typename AggsT = Aws::Vector<AggregateOperation>>
94 template<
typename AggsT = AggregateOperation>
95 Aggregate&
AddAggs(AggsT&& value) { m_aggsHasBeenSet =
true; m_aggs.emplace_back(std::forward<AggsT>(value));
return *
this; }
100 bool m_nameHasBeenSet =
false;
103 bool m_inputsHasBeenSet =
false;
106 bool m_groupsHasBeenSet =
false;
109 bool m_aggsHasBeenSet =
false;
void SetAggs(AggsT &&value)
bool AggsHasBeenSet() const
bool NameHasBeenSet() const
AWS_GLUE_API Aggregate(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(GroupsT &&value)
Aggregate & AddAggs(AggsT &&value)
Aggregate & WithName(NameT &&value)
void SetName(NameT &&value)
bool GroupsHasBeenSet() const
Aggregate & AddGroups(GroupsT &&value)
Aggregate & WithInputs(InputsT &&value)
const Aws::String & GetName() const
Aggregate & WithAggs(AggsT &&value)
const Aws::Vector< Aws::String > & GetInputs() const
const Aws::Vector< AggregateOperation > & GetAggs() const
AWS_GLUE_API Aggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::String > > & GetGroups() const
void SetInputs(InputsT &&value)
Aggregate & AddInputs(InputsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Aggregate & WithGroups(GroupsT &&value)
AWS_GLUE_API Aggregate()=default
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