AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Transform.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotsitewise/model/TransformProcessingConfig.h>
11#include <aws/iotsitewise/model/ExpressionVariable.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTSiteWise
25{
26namespace Model
27{
28
43 {
44 public:
45 AWS_IOTSITEWISE_API Transform();
46 AWS_IOTSITEWISE_API Transform(Aws::Utils::Json::JsonView jsonValue);
47 AWS_IOTSITEWISE_API Transform& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
59 inline const Aws::String& GetExpression() const{ return m_expression; }
60 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
61 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
62 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
63 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
64 inline Transform& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
65 inline Transform& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
66 inline Transform& WithExpression(const char* value) { SetExpression(value); return *this;}
68
70
73 inline const Aws::Vector<ExpressionVariable>& GetVariables() const{ return m_variables; }
74 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
75 inline void SetVariables(const Aws::Vector<ExpressionVariable>& value) { m_variablesHasBeenSet = true; m_variables = value; }
76 inline void SetVariables(Aws::Vector<ExpressionVariable>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
77 inline Transform& WithVariables(const Aws::Vector<ExpressionVariable>& value) { SetVariables(value); return *this;}
78 inline Transform& WithVariables(Aws::Vector<ExpressionVariable>&& value) { SetVariables(std::move(value)); return *this;}
79 inline Transform& AddVariables(const ExpressionVariable& value) { m_variablesHasBeenSet = true; m_variables.push_back(value); return *this; }
80 inline Transform& AddVariables(ExpressionVariable&& value) { m_variablesHasBeenSet = true; m_variables.push_back(std::move(value)); return *this; }
82
84
90 inline const TransformProcessingConfig& GetProcessingConfig() const{ return m_processingConfig; }
91 inline bool ProcessingConfigHasBeenSet() const { return m_processingConfigHasBeenSet; }
92 inline void SetProcessingConfig(const TransformProcessingConfig& value) { m_processingConfigHasBeenSet = true; m_processingConfig = value; }
93 inline void SetProcessingConfig(TransformProcessingConfig&& value) { m_processingConfigHasBeenSet = true; m_processingConfig = std::move(value); }
94 inline Transform& WithProcessingConfig(const TransformProcessingConfig& value) { SetProcessingConfig(value); return *this;}
95 inline Transform& WithProcessingConfig(TransformProcessingConfig&& value) { SetProcessingConfig(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_expression;
100 bool m_expressionHasBeenSet = false;
101
103 bool m_variablesHasBeenSet = false;
104
105 TransformProcessingConfig m_processingConfig;
106 bool m_processingConfigHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace IoTSiteWise
111} // namespace Aws
void SetVariables(Aws::Vector< ExpressionVariable > &&value)
Definition Transform.h:76
void SetProcessingConfig(TransformProcessingConfig &&value)
Definition Transform.h:93
void SetExpression(const Aws::String &value)
Definition Transform.h:61
void SetProcessingConfig(const TransformProcessingConfig &value)
Definition Transform.h:92
const Aws::String & GetExpression() const
Definition Transform.h:59
Transform & AddVariables(const ExpressionVariable &value)
Definition Transform.h:79
AWS_IOTSITEWISE_API Transform & operator=(Aws::Utils::Json::JsonView jsonValue)
Transform & WithProcessingConfig(TransformProcessingConfig &&value)
Definition Transform.h:95
Transform & AddVariables(ExpressionVariable &&value)
Definition Transform.h:80
AWS_IOTSITEWISE_API Transform(Aws::Utils::Json::JsonView jsonValue)
void SetVariables(const Aws::Vector< ExpressionVariable > &value)
Definition Transform.h:75
Transform & WithExpression(Aws::String &&value)
Definition Transform.h:65
Transform & WithVariables(Aws::Vector< ExpressionVariable > &&value)
Definition Transform.h:78
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const TransformProcessingConfig & GetProcessingConfig() const
Definition Transform.h:90
Transform & WithVariables(const Aws::Vector< ExpressionVariable > &value)
Definition Transform.h:77
const Aws::Vector< ExpressionVariable > & GetVariables() const
Definition Transform.h:73
AWS_IOTSITEWISE_API Transform()
void SetExpression(const char *value)
Definition Transform.h:63
void SetExpression(Aws::String &&value)
Definition Transform.h:62
Transform & WithProcessingConfig(const TransformProcessingConfig &value)
Definition Transform.h:94
Transform & WithExpression(const Aws::String &value)
Definition Transform.h:64
Transform & WithExpression(const char *value)
Definition Transform.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue