7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/ThresholdV2.h>
11#include <aws/connect/model/MetricFilterV2.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 bool m_nameHasBeenSet =
false;
91 bool m_thresholdHasBeenSet =
false;
94 bool m_metricFiltersHasBeenSet =
false;
MetricV2 & WithMetricFilters(const Aws::Vector< MetricFilterV2 > &value)
const Aws::Vector< MetricFilterV2 > & GetMetricFilters() const
void SetThreshold(Aws::Vector< ThresholdV2 > &&value)
MetricV2 & AddMetricFilters(const MetricFilterV2 &value)
MetricV2 & WithName(const Aws::String &value)
AWS_CONNECT_API MetricV2()
void SetMetricFilters(Aws::Vector< MetricFilterV2 > &&value)
bool MetricFiltersHasBeenSet() const
bool ThresholdHasBeenSet() const
MetricV2 & WithName(Aws::String &&value)
void SetName(const char *value)
bool NameHasBeenSet() const
AWS_CONNECT_API MetricV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
MetricV2 & WithName(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MetricV2 & WithMetricFilters(Aws::Vector< MetricFilterV2 > &&value)
MetricV2 & AddThreshold(const ThresholdV2 &value)
MetricV2 & WithThreshold(Aws::Vector< ThresholdV2 > &&value)
void SetThreshold(const Aws::Vector< ThresholdV2 > &value)
MetricV2 & AddThreshold(ThresholdV2 &&value)
MetricV2 & AddMetricFilters(MetricFilterV2 &&value)
AWS_CONNECT_API MetricV2(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Vector< ThresholdV2 > & GetThreshold() const
void SetMetricFilters(const Aws::Vector< MetricFilterV2 > &value)
MetricV2 & WithThreshold(const Aws::Vector< ThresholdV2 > &value)
void SetName(const Aws::String &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