AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline Aggregate& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline Aggregate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline Aggregate& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
63 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
64 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
65 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
66 inline Aggregate& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline Aggregate& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline Aggregate& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline Aggregate& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline Aggregate& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetGroups() const{ return m_groups; }
78 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
79 inline void SetGroups(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_groupsHasBeenSet = true; m_groups = value; }
80 inline void SetGroups(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
81 inline Aggregate& WithGroups(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetGroups(value); return *this;}
82 inline Aggregate& WithGroups(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetGroups(std::move(value)); return *this;}
83 inline Aggregate& AddGroups(const Aws::Vector<Aws::String>& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
84 inline Aggregate& AddGroups(Aws::Vector<Aws::String>&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::Vector<AggregateOperation>& GetAggs() const{ return m_aggs; }
92 inline bool AggsHasBeenSet() const { return m_aggsHasBeenSet; }
93 inline void SetAggs(const Aws::Vector<AggregateOperation>& value) { m_aggsHasBeenSet = true; m_aggs = value; }
94 inline void SetAggs(Aws::Vector<AggregateOperation>&& value) { m_aggsHasBeenSet = true; m_aggs = std::move(value); }
95 inline Aggregate& WithAggs(const Aws::Vector<AggregateOperation>& value) { SetAggs(value); return *this;}
96 inline Aggregate& WithAggs(Aws::Vector<AggregateOperation>&& value) { SetAggs(std::move(value)); return *this;}
97 inline Aggregate& AddAggs(const AggregateOperation& value) { m_aggsHasBeenSet = true; m_aggs.push_back(value); return *this; }
98 inline Aggregate& AddAggs(AggregateOperation&& value) { m_aggsHasBeenSet = true; m_aggs.push_back(std::move(value)); return *this; }
100 private:
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
106 bool m_inputsHasBeenSet = false;
107
109 bool m_groupsHasBeenSet = false;
110
112 bool m_aggsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glue
117} // namespace Aws
Aggregate & WithInputs(Aws::Vector< Aws::String > &&value)
Definition Aggregate.h:67
bool AggsHasBeenSet() const
Definition Aggregate.h:92
bool NameHasBeenSet() const
Definition Aggregate.h:48
AWS_GLUE_API Aggregate(Aws::Utils::Json::JsonView jsonValue)
Aggregate & WithName(Aws::String &&value)
Definition Aggregate.h:53
Aggregate & WithInputs(const Aws::Vector< Aws::String > &value)
Definition Aggregate.h:66
Aggregate & AddAggs(const AggregateOperation &value)
Definition Aggregate.h:97
void SetInputs(Aws::Vector< Aws::String > &&value)
Definition Aggregate.h:65
Aggregate & WithGroups(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition Aggregate.h:82
Aggregate & WithGroups(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition Aggregate.h:81
bool GroupsHasBeenSet() const
Definition Aggregate.h:78
Aggregate & AddGroups(Aws::Vector< Aws::String > &&value)
Definition Aggregate.h:84
Aggregate & AddGroups(const Aws::Vector< Aws::String > &value)
Definition Aggregate.h:83
Aggregate & AddInputs(Aws::String &&value)
Definition Aggregate.h:69
void SetName(const char *value)
Definition Aggregate.h:51
const Aws::String & GetName() const
Definition Aggregate.h:47
Aggregate & WithName(const Aws::String &value)
Definition Aggregate.h:52
void SetInputs(const Aws::Vector< Aws::String > &value)
Definition Aggregate.h:64
const Aws::Vector< Aws::String > & GetInputs() const
Definition Aggregate.h:62
const Aws::Vector< AggregateOperation > & GetAggs() const
Definition Aggregate.h:91
Aggregate & WithAggs(Aws::Vector< AggregateOperation > &&value)
Definition Aggregate.h:96
void SetGroups(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition Aggregate.h:79
Aggregate & AddInputs(const Aws::String &value)
Definition Aggregate.h:68
void SetGroups(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition Aggregate.h:80
AWS_GLUE_API Aggregate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::String > > & GetGroups() const
Definition Aggregate.h:77
void SetAggs(const Aws::Vector< AggregateOperation > &value)
Definition Aggregate.h:93
void SetName(const Aws::String &value)
Definition Aggregate.h:49
void SetName(Aws::String &&value)
Definition Aggregate.h:50
Aggregate & WithName(const char *value)
Definition Aggregate.h:54
Aggregate & AddInputs(const char *value)
Definition Aggregate.h:70
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Aggregate & WithAggs(const Aws::Vector< AggregateOperation > &value)
Definition Aggregate.h:95
Aggregate & AddAggs(AggregateOperation &&value)
Definition Aggregate.h:98
void SetAggs(Aws::Vector< AggregateOperation > &&value)
Definition Aggregate.h:94
bool InputsHasBeenSet() const
Definition Aggregate.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue