AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregateColumn.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanrooms/model/AggregateFunctionName.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 CleanRooms
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMS_API AggregateColumn();
38 AWS_CLEANROOMS_API AggregateColumn(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetColumnNames() const{ return m_columnNames; }
48 inline bool ColumnNamesHasBeenSet() const { return m_columnNamesHasBeenSet; }
49 inline void SetColumnNames(const Aws::Vector<Aws::String>& value) { m_columnNamesHasBeenSet = true; m_columnNames = value; }
50 inline void SetColumnNames(Aws::Vector<Aws::String>&& value) { m_columnNamesHasBeenSet = true; m_columnNames = std::move(value); }
51 inline AggregateColumn& WithColumnNames(const Aws::Vector<Aws::String>& value) { SetColumnNames(value); return *this;}
52 inline AggregateColumn& WithColumnNames(Aws::Vector<Aws::String>&& value) { SetColumnNames(std::move(value)); return *this;}
53 inline AggregateColumn& AddColumnNames(const Aws::String& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
54 inline AggregateColumn& AddColumnNames(Aws::String&& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(std::move(value)); return *this; }
55 inline AggregateColumn& AddColumnNames(const char* value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
57
59
62 inline const AggregateFunctionName& GetFunction() const{ return m_function; }
63 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
64 inline void SetFunction(const AggregateFunctionName& value) { m_functionHasBeenSet = true; m_function = value; }
65 inline void SetFunction(AggregateFunctionName&& value) { m_functionHasBeenSet = true; m_function = std::move(value); }
66 inline AggregateColumn& WithFunction(const AggregateFunctionName& value) { SetFunction(value); return *this;}
67 inline AggregateColumn& WithFunction(AggregateFunctionName&& value) { SetFunction(std::move(value)); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_columnNames;
72 bool m_columnNamesHasBeenSet = false;
73
74 AggregateFunctionName m_function;
75 bool m_functionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CleanRooms
80} // namespace Aws
AggregateColumn & WithFunction(const AggregateFunctionName &value)
void SetFunction(AggregateFunctionName &&value)
const Aws::Vector< Aws::String > & GetColumnNames() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AggregateColumn & AddColumnNames(Aws::String &&value)
AggregateColumn & WithFunction(AggregateFunctionName &&value)
AggregateColumn & WithColumnNames(const Aws::Vector< Aws::String > &value)
const AggregateFunctionName & GetFunction() const
void SetColumnNames(Aws::Vector< Aws::String > &&value)
AWS_CLEANROOMS_API AggregateColumn(Aws::Utils::Json::JsonView jsonValue)
AggregateColumn & WithColumnNames(Aws::Vector< Aws::String > &&value)
void SetColumnNames(const Aws::Vector< Aws::String > &value)
AWS_CLEANROOMS_API AggregateColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateColumn & AddColumnNames(const Aws::String &value)
AggregateColumn & AddColumnNames(const char *value)
void SetFunction(const AggregateFunctionName &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