AWS SDK for C++  1.9.158
AWS SDK for C++
CalculatedColumn.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetColumnName() const{ return m_columnName; }
44 
48  inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
49 
53  inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
54 
58  inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
59 
63  inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
64 
68  inline CalculatedColumn& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
69 
73  inline CalculatedColumn& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
74 
78  inline CalculatedColumn& WithColumnName(const char* value) { SetColumnName(value); return *this;}
79 
80 
86  inline const Aws::String& GetColumnId() const{ return m_columnId; }
87 
93  inline bool ColumnIdHasBeenSet() const { return m_columnIdHasBeenSet; }
94 
100  inline void SetColumnId(const Aws::String& value) { m_columnIdHasBeenSet = true; m_columnId = value; }
101 
107  inline void SetColumnId(Aws::String&& value) { m_columnIdHasBeenSet = true; m_columnId = std::move(value); }
108 
114  inline void SetColumnId(const char* value) { m_columnIdHasBeenSet = true; m_columnId.assign(value); }
115 
121  inline CalculatedColumn& WithColumnId(const Aws::String& value) { SetColumnId(value); return *this;}
122 
128  inline CalculatedColumn& WithColumnId(Aws::String&& value) { SetColumnId(std::move(value)); return *this;}
129 
135  inline CalculatedColumn& WithColumnId(const char* value) { SetColumnId(value); return *this;}
136 
137 
141  inline const Aws::String& GetExpression() const{ return m_expression; }
142 
146  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
147 
151  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
152 
156  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
157 
161  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
162 
166  inline CalculatedColumn& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
167 
171  inline CalculatedColumn& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
172 
176  inline CalculatedColumn& WithExpression(const char* value) { SetExpression(value); return *this;}
177 
178  private:
179 
180  Aws::String m_columnName;
181  bool m_columnNameHasBeenSet;
182 
183  Aws::String m_columnId;
184  bool m_columnIdHasBeenSet;
185 
186  Aws::String m_expression;
187  bool m_expressionHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace QuickSight
192 } // namespace Aws
Aws::QuickSight::Model::CalculatedColumn::WithExpression
CalculatedColumn & WithExpression(const char *value)
Definition: CalculatedColumn.h:176
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CalculatedColumn::CalculatedColumn
CalculatedColumn()
Aws::QuickSight::Model::CalculatedColumn::GetColumnName
const Aws::String & GetColumnName() const
Definition: CalculatedColumn.h:43
Aws::QuickSight::Model::CalculatedColumn::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::CalculatedColumn::SetColumnId
void SetColumnId(const Aws::String &value)
Definition: CalculatedColumn.h:100
Aws::QuickSight::Model::CalculatedColumn::ColumnNameHasBeenSet
bool ColumnNameHasBeenSet() const
Definition: CalculatedColumn.h:48
Aws::QuickSight::Model::CalculatedColumn::SetColumnId
void SetColumnId(const char *value)
Definition: CalculatedColumn.h:114
Aws::QuickSight::Model::CalculatedColumn::WithColumnName
CalculatedColumn & WithColumnName(const Aws::String &value)
Definition: CalculatedColumn.h:68
Aws::QuickSight::Model::CalculatedColumn::SetExpression
void SetExpression(const char *value)
Definition: CalculatedColumn.h:161
Aws::QuickSight::Model::CalculatedColumn::ColumnIdHasBeenSet
bool ColumnIdHasBeenSet() const
Definition: CalculatedColumn.h:93
Aws::QuickSight::Model::CalculatedColumn::WithExpression
CalculatedColumn & WithExpression(Aws::String &&value)
Definition: CalculatedColumn.h:171
Aws::QuickSight::Model::CalculatedColumn::WithColumnName
CalculatedColumn & WithColumnName(const char *value)
Definition: CalculatedColumn.h:78
Aws::QuickSight::Model::CalculatedColumn::WithColumnId
CalculatedColumn & WithColumnId(Aws::String &&value)
Definition: CalculatedColumn.h:128
Aws::QuickSight::Model::CalculatedColumn
Definition: CalculatedColumn.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::CalculatedColumn::SetColumnName
void SetColumnName(const Aws::String &value)
Definition: CalculatedColumn.h:53
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::CalculatedColumn::SetExpression
void SetExpression(Aws::String &&value)
Definition: CalculatedColumn.h:156
Aws::QuickSight::Model::CalculatedColumn::WithExpression
CalculatedColumn & WithExpression(const Aws::String &value)
Definition: CalculatedColumn.h:166
Aws::QuickSight::Model::CalculatedColumn::WithColumnName
CalculatedColumn & WithColumnName(Aws::String &&value)
Definition: CalculatedColumn.h:73
Aws::QuickSight::Model::CalculatedColumn::SetColumnName
void SetColumnName(Aws::String &&value)
Definition: CalculatedColumn.h:58
Aws::QuickSight::Model::CalculatedColumn::SetColumnId
void SetColumnId(Aws::String &&value)
Definition: CalculatedColumn.h:107
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::CalculatedColumn::GetExpression
const Aws::String & GetExpression() const
Definition: CalculatedColumn.h:141
Aws::QuickSight::Model::CalculatedColumn::SetColumnName
void SetColumnName(const char *value)
Definition: CalculatedColumn.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CalculatedColumn::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: CalculatedColumn.h:146
Aws::QuickSight::Model::CalculatedColumn::operator=
CalculatedColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::CalculatedColumn::CalculatedColumn
CalculatedColumn(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::CalculatedColumn::WithColumnId
CalculatedColumn & WithColumnId(const Aws::String &value)
Definition: CalculatedColumn.h:121
Aws::QuickSight::Model::CalculatedColumn::SetExpression
void SetExpression(const Aws::String &value)
Definition: CalculatedColumn.h:151
Aws::QuickSight::Model::CalculatedColumn::GetColumnId
const Aws::String & GetColumnId() const
Definition: CalculatedColumn.h:86
Aws::QuickSight::Model::CalculatedColumn::WithColumnId
CalculatedColumn & WithColumnId(const char *value)
Definition: CalculatedColumn.h:135