AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculatedField.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 CalculatedField();
35 AWS_QUICKSIGHT_API CalculatedField(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDataSetIdentifier() const{ return m_dataSetIdentifier; }
45 inline bool DataSetIdentifierHasBeenSet() const { return m_dataSetIdentifierHasBeenSet; }
46 inline void SetDataSetIdentifier(const Aws::String& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = value; }
47 inline void SetDataSetIdentifier(Aws::String&& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = std::move(value); }
48 inline void SetDataSetIdentifier(const char* value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier.assign(value); }
49 inline CalculatedField& WithDataSetIdentifier(const Aws::String& value) { SetDataSetIdentifier(value); return *this;}
50 inline CalculatedField& WithDataSetIdentifier(Aws::String&& value) { SetDataSetIdentifier(std::move(value)); return *this;}
51 inline CalculatedField& WithDataSetIdentifier(const char* value) { SetDataSetIdentifier(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline CalculatedField& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline CalculatedField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline CalculatedField& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetExpression() const{ return m_expression; }
73 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
74 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
75 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
76 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
77 inline CalculatedField& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
78 inline CalculatedField& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
79 inline CalculatedField& WithExpression(const char* value) { SetExpression(value); return *this;}
81 private:
82
83 Aws::String m_dataSetIdentifier;
84 bool m_dataSetIdentifierHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_expression;
90 bool m_expressionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
void SetName(const Aws::String &value)
const Aws::String & GetDataSetIdentifier() const
CalculatedField & WithExpression(Aws::String &&value)
CalculatedField & WithExpression(const Aws::String &value)
AWS_QUICKSIGHT_API CalculatedField(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(const Aws::String &value)
CalculatedField & WithName(const Aws::String &value)
CalculatedField & WithExpression(const char *value)
void SetDataSetIdentifier(const char *value)
CalculatedField & WithDataSetIdentifier(const char *value)
const Aws::String & GetExpression() const
CalculatedField & WithName(const char *value)
CalculatedField & WithDataSetIdentifier(const Aws::String &value)
const Aws::String & GetName() const
CalculatedField & WithName(Aws::String &&value)
AWS_QUICKSIGHT_API CalculatedField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataSetIdentifier(const Aws::String &value)
void SetExpression(Aws::String &&value)
CalculatedField & WithDataSetIdentifier(Aws::String &&value)
void SetDataSetIdentifier(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue