7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-signals/model/ServiceLevelIndicatorMetricType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/application-signals/model/MetricDataQuery.h>
25namespace ApplicationSignals
89 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
121 inline void SetStatistic(
const char* value) { m_statisticHasBeenSet =
true; m_statistic.assign(value); }
136 inline void SetPeriodSeconds(
int value) { m_periodSecondsHasBeenSet =
true; m_periodSeconds = value; }
157 bool m_keyAttributesHasBeenSet =
false;
160 bool m_operationNameHasBeenSet =
false;
163 bool m_metricTypeHasBeenSet =
false;
166 bool m_statisticHasBeenSet =
false;
169 bool m_periodSecondsHasBeenSet =
false;
172 bool m_metricDataQueriesHasBeenSet =
false;
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(const Aws::String &key, const Aws::String &value)
ServiceLevelIndicatorMetricConfig & WithPeriodSeconds(int value)
ServiceLevelIndicatorMetricConfig & WithStatistic(const char *value)
ServiceLevelIndicatorMetricConfig & WithMetricType(ServiceLevelIndicatorMetricType &&value)
const ServiceLevelIndicatorMetricType & GetMetricType() const
ServiceLevelIndicatorMetricConfig & WithMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
void SetKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(Aws::String &&key, const char *value)
void SetMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetricConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatistic(Aws::String &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetricConfig(Aws::Utils::Json::JsonView jsonValue)
void SetKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ServiceLevelIndicatorMetricConfig & WithOperationName(Aws::String &&value)
ServiceLevelIndicatorMetricConfig & WithStatistic(const Aws::String &value)
bool MetricTypeHasBeenSet() const
ServiceLevelIndicatorMetricConfig & WithOperationName(const char *value)
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(Aws::String &&key, const Aws::String &value)
void SetOperationName(const Aws::String &value)
const Aws::Vector< MetricDataQuery > & GetMetricDataQueries() const
ServiceLevelIndicatorMetricConfig & WithStatistic(Aws::String &&value)
bool PeriodSecondsHasBeenSet() const
void SetMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
ServiceLevelIndicatorMetricConfig & WithKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ServiceLevelIndicatorMetricConfig & AddMetricDataQueries(MetricDataQuery &&value)
ServiceLevelIndicatorMetricConfig & WithOperationName(const Aws::String &value)
void SetStatistic(const Aws::String &value)
void SetOperationName(Aws::String &&value)
bool OperationNameHasBeenSet() const
ServiceLevelIndicatorMetricConfig & AddMetricDataQueries(const MetricDataQuery &value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
ServiceLevelIndicatorMetricConfig & WithKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ServiceLevelIndicatorMetricConfig & WithMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
const Aws::String & GetStatistic() const
void SetOperationName(const char *value)
void SetMetricType(const ServiceLevelIndicatorMetricType &value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetricConfig()
int GetPeriodSeconds() const
bool StatisticHasBeenSet() const
void SetPeriodSeconds(int value)
void SetStatistic(const char *value)
const Aws::String & GetOperationName() const
bool KeyAttributesHasBeenSet() const
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(const char *key, Aws::String &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(const char *key, const char *value)
bool MetricDataQueriesHasBeenSet() const
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(const Aws::String &key, Aws::String &&value)
ServiceLevelIndicatorMetricConfig & WithMetricType(const ServiceLevelIndicatorMetricType &value)
void SetMetricType(ServiceLevelIndicatorMetricType &&value)
ServiceLevelIndicatorMetricConfig & AddKeyAttributes(Aws::String &&key, Aws::String &&value)
ServiceLevelIndicatorMetricType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue