AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ExpressionT = Aws::String>
62 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
63 template<typename ExpressionT = Aws::String>
64 Transform& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
66
68
71 inline const Aws::Vector<ExpressionVariable>& GetVariables() const { return m_variables; }
72 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
73 template<typename VariablesT = Aws::Vector<ExpressionVariable>>
74 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet = true; m_variables = std::forward<VariablesT>(value); }
75 template<typename VariablesT = Aws::Vector<ExpressionVariable>>
76 Transform& WithVariables(VariablesT&& value) { SetVariables(std::forward<VariablesT>(value)); return *this;}
77 template<typename VariablesT = ExpressionVariable>
78 Transform& AddVariables(VariablesT&& value) { m_variablesHasBeenSet = true; m_variables.emplace_back(std::forward<VariablesT>(value)); return *this; }
80
82
88 inline const TransformProcessingConfig& GetProcessingConfig() const { return m_processingConfig; }
89 inline bool ProcessingConfigHasBeenSet() const { return m_processingConfigHasBeenSet; }
90 template<typename ProcessingConfigT = TransformProcessingConfig>
91 void SetProcessingConfig(ProcessingConfigT&& value) { m_processingConfigHasBeenSet = true; m_processingConfig = std::forward<ProcessingConfigT>(value); }
92 template<typename ProcessingConfigT = TransformProcessingConfig>
93 Transform& WithProcessingConfig(ProcessingConfigT&& value) { SetProcessingConfig(std::forward<ProcessingConfigT>(value)); return *this;}
95 private:
96
97 Aws::String m_expression;
98 bool m_expressionHasBeenSet = false;
99
101 bool m_variablesHasBeenSet = false;
102
103 TransformProcessingConfig m_processingConfig;
104 bool m_processingConfigHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IoTSiteWise
109} // namespace Aws
Transform & AddVariables(VariablesT &&value)
Definition Transform.h:78
Transform & WithVariables(VariablesT &&value)
Definition Transform.h:76
const Aws::String & GetExpression() const
Definition Transform.h:59
Transform & WithProcessingConfig(ProcessingConfigT &&value)
Definition Transform.h:93
AWS_IOTSITEWISE_API Transform & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProcessingConfig(ProcessingConfigT &&value)
Definition Transform.h:91
AWS_IOTSITEWISE_API Transform(Aws::Utils::Json::JsonView jsonValue)
Transform & WithExpression(ExpressionT &&value)
Definition Transform.h:64
void SetExpression(ExpressionT &&value)
Definition Transform.h:62
AWS_IOTSITEWISE_API Transform()=default
void SetVariables(VariablesT &&value)
Definition Transform.h:74
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const TransformProcessingConfig & GetProcessingConfig() const
Definition Transform.h:88
const Aws::Vector< ExpressionVariable > & GetVariables() const
Definition Transform.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue