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/MetricWindow.h>
11#include <aws/iotsitewise/model/MetricProcessingConfig.h>
12#include <aws/iotsitewise/model/ExpressionVariable.h>
66 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
116 bool m_expressionHasBeenSet =
false;
119 bool m_variablesHasBeenSet =
false;
122 bool m_windowHasBeenSet =
false;
125 bool m_processingConfigHasBeenSet =
false;
AWS_IOTSITEWISE_API Metric(Aws::Utils::Json::JsonView jsonValue)
Metric & WithWindow(const MetricWindow &value)
const MetricWindow & GetWindow() const
bool ExpressionHasBeenSet() const
void SetVariables(const Aws::Vector< ExpressionVariable > &value)
void SetProcessingConfig(const MetricProcessingConfig &value)
void SetWindow(const MetricWindow &value)
bool ProcessingConfigHasBeenSet() const
Metric & WithExpression(Aws::String &&value)
void SetExpression(Aws::String &&value)
const MetricProcessingConfig & GetProcessingConfig() const
void SetVariables(Aws::Vector< ExpressionVariable > &&value)
const Aws::Vector< ExpressionVariable > & GetVariables() const
Metric & WithProcessingConfig(const MetricProcessingConfig &value)
AWS_IOTSITEWISE_API Metric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(const Aws::String &value)
Metric & WithExpression(const Aws::String &value)
const Aws::String & GetExpression() const
Metric & AddVariables(const ExpressionVariable &value)
AWS_IOTSITEWISE_API Metric()
bool VariablesHasBeenSet() const
Metric & WithWindow(MetricWindow &&value)
Metric & WithVariables(Aws::Vector< ExpressionVariable > &&value)
Metric & WithExpression(const char *value)
void SetWindow(MetricWindow &&value)
void SetProcessingConfig(MetricProcessingConfig &&value)
Metric & WithProcessingConfig(MetricProcessingConfig &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
Metric & AddVariables(ExpressionVariable &&value)
void SetExpression(const char *value)
bool WindowHasBeenSet() const
Metric & WithVariables(const Aws::Vector< ExpressionVariable > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue