AWS SDK for C++  1.9.159
AWS SDK for C++
CreateColumnsOperation.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<CalculatedColumn>& GetColumns() const{ return m_columns; }
46 
50  inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
51 
55  inline void SetColumns(const Aws::Vector<CalculatedColumn>& value) { m_columnsHasBeenSet = true; m_columns = value; }
56 
60  inline void SetColumns(Aws::Vector<CalculatedColumn>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
61 
65  inline CreateColumnsOperation& WithColumns(const Aws::Vector<CalculatedColumn>& value) { SetColumns(value); return *this;}
66 
70  inline CreateColumnsOperation& WithColumns(Aws::Vector<CalculatedColumn>&& value) { SetColumns(std::move(value)); return *this;}
71 
75  inline CreateColumnsOperation& AddColumns(const CalculatedColumn& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
76 
80  inline CreateColumnsOperation& AddColumns(CalculatedColumn&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
81 
82  private:
83 
85  bool m_columnsHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace QuickSight
90 } // namespace Aws
Aws::QuickSight::Model::CreateColumnsOperation::SetColumns
void SetColumns(const Aws::Vector< CalculatedColumn > &value)
Definition: CreateColumnsOperation.h:55
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateColumnsOperation::AddColumns
CreateColumnsOperation & AddColumns(CalculatedColumn &&value)
Definition: CreateColumnsOperation.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::CreateColumnsOperation::CreateColumnsOperation
CreateColumnsOperation(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::CreateColumnsOperation::SetColumns
void SetColumns(Aws::Vector< CalculatedColumn > &&value)
Definition: CreateColumnsOperation.h:60
Aws::QuickSight::Model::CreateColumnsOperation::WithColumns
CreateColumnsOperation & WithColumns(Aws::Vector< CalculatedColumn > &&value)
Definition: CreateColumnsOperation.h:70
AWSVector.h
Aws::QuickSight::Model::CreateColumnsOperation::ColumnsHasBeenSet
bool ColumnsHasBeenSet() const
Definition: CreateColumnsOperation.h:50
CalculatedColumn.h
Aws::QuickSight::Model::CreateColumnsOperation::CreateColumnsOperation
CreateColumnsOperation()
Aws::QuickSight::Model::CreateColumnsOperation::operator=
CreateColumnsOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::CalculatedColumn
Definition: CalculatedColumn.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::CreateColumnsOperation
Definition: CreateColumnsOperation.h:34
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::CreateColumnsOperation::GetColumns
const Aws::Vector< CalculatedColumn > & GetColumns() const
Definition: CreateColumnsOperation.h:45
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateColumnsOperation::WithColumns
CreateColumnsOperation & WithColumns(const Aws::Vector< CalculatedColumn > &value)
Definition: CreateColumnsOperation.h:65
Aws::QuickSight::Model::CreateColumnsOperation::AddColumns
CreateColumnsOperation & AddColumns(const CalculatedColumn &value)
Definition: CreateColumnsOperation.h:75
Aws::QuickSight::Model::CreateColumnsOperation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const