AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculatedColumn.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API CalculatedColumn();
35 AWS_QUICKSIGHT_API CalculatedColumn(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetColumnName() const{ return m_columnName; }
45 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
46 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
47 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
48 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
49 inline CalculatedColumn& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
50 inline CalculatedColumn& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
51 inline CalculatedColumn& WithColumnName(const char* value) { SetColumnName(value); return *this;}
53
55
60 inline const Aws::String& GetColumnId() const{ return m_columnId; }
61 inline bool ColumnIdHasBeenSet() const { return m_columnIdHasBeenSet; }
62 inline void SetColumnId(const Aws::String& value) { m_columnIdHasBeenSet = true; m_columnId = value; }
63 inline void SetColumnId(Aws::String&& value) { m_columnIdHasBeenSet = true; m_columnId = std::move(value); }
64 inline void SetColumnId(const char* value) { m_columnIdHasBeenSet = true; m_columnId.assign(value); }
65 inline CalculatedColumn& WithColumnId(const Aws::String& value) { SetColumnId(value); return *this;}
66 inline CalculatedColumn& WithColumnId(Aws::String&& value) { SetColumnId(std::move(value)); return *this;}
67 inline CalculatedColumn& WithColumnId(const char* value) { SetColumnId(value); return *this;}
69
71
74 inline const Aws::String& GetExpression() const{ return m_expression; }
75 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
76 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
77 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
78 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
79 inline CalculatedColumn& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
80 inline CalculatedColumn& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
81 inline CalculatedColumn& WithExpression(const char* value) { SetExpression(value); return *this;}
83 private:
84
85 Aws::String m_columnName;
86 bool m_columnNameHasBeenSet = false;
87
88 Aws::String m_columnId;
89 bool m_columnIdHasBeenSet = false;
90
91 Aws::String m_expression;
92 bool m_expressionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
CalculatedColumn & WithExpression(const char *value)
const Aws::String & GetExpression() const
AWS_QUICKSIGHT_API CalculatedColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
CalculatedColumn & WithExpression(const Aws::String &value)
CalculatedColumn & WithColumnName(const Aws::String &value)
CalculatedColumn & WithColumnName(const char *value)
CalculatedColumn & WithColumnId(const char *value)
CalculatedColumn & WithColumnName(Aws::String &&value)
AWS_QUICKSIGHT_API CalculatedColumn(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(const Aws::String &value)
void SetColumnId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetColumnName() const
const Aws::String & GetColumnId() const
CalculatedColumn & WithExpression(Aws::String &&value)
CalculatedColumn & WithColumnId(const Aws::String &value)
void SetColumnName(const Aws::String &value)
CalculatedColumn & WithColumnId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue