AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregateOperation.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/AggFunction.h>
10#include <aws/core/utils/memory/stl/AWSString.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 AggregateOperation();
41
42
44
48 inline const Aws::Vector<Aws::String>& GetColumn() const{ return m_column; }
49 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
50 inline void SetColumn(const Aws::Vector<Aws::String>& value) { m_columnHasBeenSet = true; m_column = value; }
51 inline void SetColumn(Aws::Vector<Aws::String>&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
52 inline AggregateOperation& WithColumn(const Aws::Vector<Aws::String>& value) { SetColumn(value); return *this;}
53 inline AggregateOperation& WithColumn(Aws::Vector<Aws::String>&& value) { SetColumn(std::move(value)); return *this;}
54 inline AggregateOperation& AddColumn(const Aws::String& value) { m_columnHasBeenSet = true; m_column.push_back(value); return *this; }
55 inline AggregateOperation& AddColumn(Aws::String&& value) { m_columnHasBeenSet = true; m_column.push_back(std::move(value)); return *this; }
56 inline AggregateOperation& AddColumn(const char* value) { m_columnHasBeenSet = true; m_column.push_back(value); return *this; }
58
60
65 inline const AggFunction& GetAggFunc() const{ return m_aggFunc; }
66 inline bool AggFuncHasBeenSet() const { return m_aggFuncHasBeenSet; }
67 inline void SetAggFunc(const AggFunction& value) { m_aggFuncHasBeenSet = true; m_aggFunc = value; }
68 inline void SetAggFunc(AggFunction&& value) { m_aggFuncHasBeenSet = true; m_aggFunc = std::move(value); }
69 inline AggregateOperation& WithAggFunc(const AggFunction& value) { SetAggFunc(value); return *this;}
70 inline AggregateOperation& WithAggFunc(AggFunction&& value) { SetAggFunc(std::move(value)); return *this;}
72 private:
73
75 bool m_columnHasBeenSet = false;
76
77 AggFunction m_aggFunc;
78 bool m_aggFuncHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Glue
83} // namespace Aws
const Aws::Vector< Aws::String > & GetColumn() const
AggregateOperation & WithColumn(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API AggregateOperation(Aws::Utils::Json::JsonView jsonValue)
void SetAggFunc(const AggFunction &value)
void SetColumn(const Aws::Vector< Aws::String > &value)
const AggFunction & GetAggFunc() const
void SetColumn(Aws::Vector< Aws::String > &&value)
AggregateOperation & AddColumn(Aws::String &&value)
AWS_GLUE_API AggregateOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AggregateOperation & WithColumn(const Aws::Vector< Aws::String > &value)
AggregateOperation & AddColumn(const char *value)
AggregateOperation & WithAggFunc(AggFunction &&value)
AggregateOperation & AddColumn(const Aws::String &value)
AggregateOperation & WithAggFunc(const AggFunction &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