AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateColumnsOperation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/CalculatedColumn.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API CreateColumnsOperation();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<CalculatedColumn>& GetColumns() const{ return m_columns; }
47 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
48 inline void SetColumns(const Aws::Vector<CalculatedColumn>& value) { m_columnsHasBeenSet = true; m_columns = value; }
49 inline void SetColumns(Aws::Vector<CalculatedColumn>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
50 inline CreateColumnsOperation& WithColumns(const Aws::Vector<CalculatedColumn>& value) { SetColumns(value); return *this;}
51 inline CreateColumnsOperation& WithColumns(Aws::Vector<CalculatedColumn>&& value) { SetColumns(std::move(value)); return *this;}
52 inline CreateColumnsOperation& AddColumns(const CalculatedColumn& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
53 inline CreateColumnsOperation& AddColumns(CalculatedColumn&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_columnsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace QuickSight
63} // namespace Aws
AWS_QUICKSIGHT_API CreateColumnsOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetColumns(Aws::Vector< CalculatedColumn > &&value)
const Aws::Vector< CalculatedColumn > & GetColumns() const
void SetColumns(const Aws::Vector< CalculatedColumn > &value)
CreateColumnsOperation & WithColumns(const Aws::Vector< CalculatedColumn > &value)
CreateColumnsOperation & AddColumns(CalculatedColumn &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CreateColumnsOperation & AddColumns(const CalculatedColumn &value)
CreateColumnsOperation & WithColumns(Aws::Vector< CalculatedColumn > &&value)
AWS_QUICKSIGHT_API CreateColumnsOperation(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue