AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Aggregate.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API Aggregate() = default;
38 AWS_GLUE_API Aggregate(Aws::Utils::Json::JsonView jsonValue);
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
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>
52 Aggregate& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
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>>
65 Aggregate& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
66 template<typename InputsT = Aws::String>
67 Aggregate& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetGroups() const { return m_groups; }
75 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
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>>>
79 Aggregate& WithGroups(GroupsT&& value) { SetGroups(std::forward<GroupsT>(value)); return *this;}
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; }
83
85
88 inline const Aws::Vector<AggregateOperation>& GetAggs() const { return m_aggs; }
89 inline bool AggsHasBeenSet() const { return m_aggsHasBeenSet; }
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>>
93 Aggregate& WithAggs(AggsT&& value) { SetAggs(std::forward<AggsT>(value)); return *this;}
94 template<typename AggsT = AggregateOperation>
95 Aggregate& AddAggs(AggsT&& value) { m_aggsHasBeenSet = true; m_aggs.emplace_back(std::forward<AggsT>(value)); return *this; }
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
103 bool m_inputsHasBeenSet = false;
104
106 bool m_groupsHasBeenSet = false;
107
109 bool m_aggsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
void SetAggs(AggsT &&value)
Definition Aggregate.h:91
bool AggsHasBeenSet() const
Definition Aggregate.h:89
bool NameHasBeenSet() const
Definition Aggregate.h:48
AWS_GLUE_API Aggregate(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(GroupsT &&value)
Definition Aggregate.h:77
Aggregate & AddAggs(AggsT &&value)
Definition Aggregate.h:95
Aggregate & WithName(NameT &&value)
Definition Aggregate.h:52
void SetName(NameT &&value)
Definition Aggregate.h:50
bool GroupsHasBeenSet() const
Definition Aggregate.h:75
Aggregate & AddGroups(GroupsT &&value)
Definition Aggregate.h:81
Aggregate & WithInputs(InputsT &&value)
Definition Aggregate.h:65
const Aws::String & GetName() const
Definition Aggregate.h:47
Aggregate & WithAggs(AggsT &&value)
Definition Aggregate.h:93
const Aws::Vector< Aws::String > & GetInputs() const
Definition Aggregate.h:60
const Aws::Vector< AggregateOperation > & GetAggs() const
Definition Aggregate.h:88
AWS_GLUE_API Aggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::String > > & GetGroups() const
Definition Aggregate.h:74
void SetInputs(InputsT &&value)
Definition Aggregate.h:63
Aggregate & AddInputs(InputsT &&value)
Definition Aggregate.h:67
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Aggregate & WithGroups(GroupsT &&value)
Definition Aggregate.h:79
AWS_GLUE_API Aggregate()=default
bool InputsHasBeenSet() const
Definition Aggregate.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue