7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/DependencyConfig.h>
9#include <aws/application-signals/model/MetricDataQuery.h>
10#include <aws/application-signals/model/MetricSource.h>
11#include <aws/application-signals/model/ServiceLevelIndicatorMetricType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace ApplicationSignals {
60 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
62 m_keyAttributesHasBeenSet =
true;
63 m_keyAttributes = std::forward<KeyAttributesT>(value);
65 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
70 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
72 m_keyAttributesHasBeenSet =
true;
73 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
85 template <
typename OperationNameT = Aws::String>
87 m_operationNameHasBeenSet =
true;
88 m_operationName = std::forward<OperationNameT>(value);
90 template <
typename OperationNameT = Aws::String>
106 m_metricTypeHasBeenSet =
true;
107 m_metricType = value;
123 template <
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
125 m_metricDataQueriesHasBeenSet =
true;
126 m_metricDataQueries = std::forward<MetricDataQueriesT>(value);
128 template <
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
133 template <
typename MetricDataQueriesT = MetricDataQuery>
135 m_metricDataQueriesHasBeenSet =
true;
136 m_metricDataQueries.emplace_back(std::forward<MetricDataQueriesT>(value));
148 template <
typename DependencyConfigT = DependencyConfig>
150 m_dependencyConfigHasBeenSet =
true;
151 m_dependencyConfig = std::forward<DependencyConfigT>(value);
153 template <
typename DependencyConfigT = DependencyConfig>
167 template <
typename MetricSourceT = MetricSource>
169 m_metricSourceHasBeenSet =
true;
170 m_metricSource = std::forward<MetricSourceT>(value);
172 template <
typename MetricSourceT = MetricSource>
187 DependencyConfig m_dependencyConfig;
189 MetricSource m_metricSource;
190 bool m_keyAttributesHasBeenSet =
false;
191 bool m_operationNameHasBeenSet =
false;
192 bool m_metricTypeHasBeenSet =
false;
193 bool m_metricDataQueriesHasBeenSet =
false;
194 bool m_dependencyConfigHasBeenSet =
false;
195 bool m_metricSourceHasBeenSet =
false;
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetric()=default
const Aws::String & GetOperationName() const
bool MetricSourceHasBeenSet() const
bool MetricTypeHasBeenSet() const
ServiceLevelIndicatorMetric & WithMetricType(ServiceLevelIndicatorMetricType value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
ServiceLevelIndicatorMetric & WithDependencyConfig(DependencyConfigT &&value)
ServiceLevelIndicatorMetric & WithOperationName(OperationNameT &&value)
const Aws::Vector< MetricDataQuery > & GetMetricDataQueries() const
ServiceLevelIndicatorMetric & AddMetricDataQueries(MetricDataQueriesT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricType(ServiceLevelIndicatorMetricType value)
void SetMetricDataQueries(MetricDataQueriesT &&value)
bool OperationNameHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetric(Aws::Utils::Json::JsonView jsonValue)
void SetOperationName(OperationNameT &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelIndicatorMetric & WithMetricSource(MetricSourceT &&value)
ServiceLevelIndicatorMetric & WithMetricDataQueries(MetricDataQueriesT &&value)
void SetKeyAttributes(KeyAttributesT &&value)
bool MetricDataQueriesHasBeenSet() const
const MetricSource & GetMetricSource() const
ServiceLevelIndicatorMetric & WithKeyAttributes(KeyAttributesT &&value)
const DependencyConfig & GetDependencyConfig() const
ServiceLevelIndicatorMetric & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
bool DependencyConfigHasBeenSet() const
void SetMetricSource(MetricSourceT &&value)
ServiceLevelIndicatorMetricType GetMetricType() const
void SetDependencyConfig(DependencyConfigT &&value)
bool KeyAttributesHasBeenSet() const
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