AWS SDK for C++  1.9.153
AWS SDK for C++
Transform.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTSiteWise
25 {
26 namespace Model
27 {
28 
43  {
44  public:
49 
50 
58  inline const Aws::String& GetExpression() const{ return m_expression; }
59 
67  inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
68 
76  inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
77 
85  inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
86 
94  inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
95 
103  inline Transform& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
104 
112  inline Transform& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
113 
121  inline Transform& WithExpression(const char* value) { SetExpression(value); return *this;}
122 
123 
127  inline const Aws::Vector<ExpressionVariable>& GetVariables() const{ return m_variables; }
128 
132  inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
133 
137  inline void SetVariables(const Aws::Vector<ExpressionVariable>& value) { m_variablesHasBeenSet = true; m_variables = value; }
138 
142  inline void SetVariables(Aws::Vector<ExpressionVariable>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
143 
147  inline Transform& WithVariables(const Aws::Vector<ExpressionVariable>& value) { SetVariables(value); return *this;}
148 
152  inline Transform& WithVariables(Aws::Vector<ExpressionVariable>&& value) { SetVariables(std::move(value)); return *this;}
153 
157  inline Transform& AddVariables(const ExpressionVariable& value) { m_variablesHasBeenSet = true; m_variables.push_back(value); return *this; }
158 
162  inline Transform& AddVariables(ExpressionVariable&& value) { m_variablesHasBeenSet = true; m_variables.push_back(std::move(value)); return *this; }
163 
164 
171  inline const TransformProcessingConfig& GetProcessingConfig() const{ return m_processingConfig; }
172 
179  inline bool ProcessingConfigHasBeenSet() const { return m_processingConfigHasBeenSet; }
180 
187  inline void SetProcessingConfig(const TransformProcessingConfig& value) { m_processingConfigHasBeenSet = true; m_processingConfig = value; }
188 
195  inline void SetProcessingConfig(TransformProcessingConfig&& value) { m_processingConfigHasBeenSet = true; m_processingConfig = std::move(value); }
196 
203  inline Transform& WithProcessingConfig(const TransformProcessingConfig& value) { SetProcessingConfig(value); return *this;}
204 
211  inline Transform& WithProcessingConfig(TransformProcessingConfig&& value) { SetProcessingConfig(std::move(value)); return *this;}
212 
213  private:
214 
215  Aws::String m_expression;
216  bool m_expressionHasBeenSet;
217 
219  bool m_variablesHasBeenSet;
220 
221  TransformProcessingConfig m_processingConfig;
222  bool m_processingConfigHasBeenSet;
223  };
224 
225 } // namespace Model
226 } // namespace IoTSiteWise
227 } // namespace Aws
TransformProcessingConfig.h
Aws::IoTSiteWise::Model::Transform::WithExpression
Transform & WithExpression(const char *value)
Definition: Transform.h:121
Aws::IoTSiteWise::Model::Transform::GetExpression
const Aws::String & GetExpression() const
Definition: Transform.h:58
Aws::IoTSiteWise::Model::Transform::AddVariables
Transform & AddVariables(const ExpressionVariable &value)
Definition: Transform.h:157
Aws::IoTSiteWise::Model::Transform::SetVariables
void SetVariables(Aws::Vector< ExpressionVariable > &&value)
Definition: Transform.h:142
Aws::IoTSiteWise::Model::Transform::GetProcessingConfig
const TransformProcessingConfig & GetProcessingConfig() const
Definition: Transform.h:171
Aws::IoTSiteWise::Model::Transform::SetProcessingConfig
void SetProcessingConfig(TransformProcessingConfig &&value)
Definition: Transform.h:195
Aws::IoTSiteWise::Model::TransformProcessingConfig
Definition: TransformProcessingConfig.h:36
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::Transform::ProcessingConfigHasBeenSet
bool ProcessingConfigHasBeenSet() const
Definition: Transform.h:179
Aws::IoTSiteWise::Model::Transform::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::Transform::WithProcessingConfig
Transform & WithProcessingConfig(TransformProcessingConfig &&value)
Definition: Transform.h:211
Aws::IoTSiteWise::Model::Transform::SetExpression
void SetExpression(Aws::String &&value)
Definition: Transform.h:85
Aws::IoTSiteWise::Model::Transform::Transform
Transform()
AWSVector.h
Aws::IoTSiteWise::Model::Transform::AddVariables
Transform & AddVariables(ExpressionVariable &&value)
Definition: Transform.h:162
Aws::IoTSiteWise::Model::Transform::SetVariables
void SetVariables(const Aws::Vector< ExpressionVariable > &value)
Definition: Transform.h:137
Aws::IoTSiteWise::Model::Transform::SetExpression
void SetExpression(const Aws::String &value)
Definition: Transform.h:76
Aws::IoTSiteWise::Model::Transform::operator=
Transform & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Transform::Transform
Transform(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Transform::WithExpression
Transform & WithExpression(Aws::String &&value)
Definition: Transform.h:112
ExpressionVariable.h
Aws::IoTSiteWise::Model::Transform::ExpressionHasBeenSet
bool ExpressionHasBeenSet() const
Definition: Transform.h:67
Aws::IoTSiteWise::Model::Transform::WithProcessingConfig
Transform & WithProcessingConfig(const TransformProcessingConfig &value)
Definition: Transform.h:203
Aws::IoTSiteWise::Model::Transform::SetProcessingConfig
void SetProcessingConfig(const TransformProcessingConfig &value)
Definition: Transform.h:187
Aws::IoTSiteWise::Model::Transform::WithExpression
Transform & WithExpression(const Aws::String &value)
Definition: Transform.h:103
Aws::IoTSiteWise::Model::Transform::GetVariables
const Aws::Vector< ExpressionVariable > & GetVariables() const
Definition: Transform.h:127
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::Transform::VariablesHasBeenSet
bool VariablesHasBeenSet() const
Definition: Transform.h:132
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::Transform
Definition: Transform.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::Transform::WithVariables
Transform & WithVariables(Aws::Vector< ExpressionVariable > &&value)
Definition: Transform.h:152
Aws::IoTSiteWise::Model::Transform::WithVariables
Transform & WithVariables(const Aws::Vector< ExpressionVariable > &value)
Definition: Transform.h:147
Aws::IoTSiteWise::Model::ExpressionVariable
Definition: ExpressionVariable.h:33
Aws::IoTSiteWise::Model::Transform::SetExpression
void SetExpression(const char *value)
Definition: Transform.h:94