7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/CompositeSliConfig.h>
9#include <aws/application-signals/model/DependencyConfig.h>
10#include <aws/application-signals/model/MetricDataQuery.h>
11#include <aws/application-signals/model/MetricSource.h>
12#include <aws/application-signals/model/ServiceLevelIndicatorMetricType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace ApplicationSignals {
61 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
63 m_keyAttributesHasBeenSet =
true;
64 m_keyAttributes = std::forward<KeyAttributesT>(value);
66 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
71 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
73 m_keyAttributesHasBeenSet =
true;
74 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
86 template <
typename OperationNameT = Aws::String>
88 m_operationNameHasBeenSet =
true;
89 m_operationName = std::forward<OperationNameT>(value);
91 template <
typename OperationNameT = Aws::String>
107 m_metricTypeHasBeenSet =
true;
108 m_metricType = value;
124 template <
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
126 m_metricDataQueriesHasBeenSet =
true;
127 m_metricDataQueries = std::forward<MetricDataQueriesT>(value);
129 template <
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
134 template <
typename MetricDataQueriesT = MetricDataQuery>
136 m_metricDataQueriesHasBeenSet =
true;
137 m_metricDataQueries.emplace_back(std::forward<MetricDataQueriesT>(value));
149 template <
typename DependencyConfigT = DependencyConfig>
151 m_dependencyConfigHasBeenSet =
true;
152 m_dependencyConfig = std::forward<DependencyConfigT>(value);
154 template <
typename DependencyConfigT = DependencyConfig>
168 template <
typename MetricSourceT = MetricSource>
170 m_metricSourceHasBeenSet =
true;
171 m_metricSource = std::forward<MetricSourceT>(value);
173 template <
typename MetricSourceT = MetricSource>
187 template <
typename CompositeSliConfigT = CompositeSliConfig>
189 m_compositeSliConfigHasBeenSet =
true;
190 m_compositeSliConfig = std::forward<CompositeSliConfigT>(value);
192 template <
typename CompositeSliConfigT = CompositeSliConfig>
207 DependencyConfig m_dependencyConfig;
209 MetricSource m_metricSource;
211 CompositeSliConfig m_compositeSliConfig;
212 bool m_keyAttributesHasBeenSet =
false;
213 bool m_operationNameHasBeenSet =
false;
214 bool m_metricTypeHasBeenSet =
false;
215 bool m_metricDataQueriesHasBeenSet =
false;
216 bool m_dependencyConfigHasBeenSet =
false;
217 bool m_metricSourceHasBeenSet =
false;
218 bool m_compositeSliConfigHasBeenSet =
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
void SetCompositeSliConfig(CompositeSliConfigT &&value)
ServiceLevelIndicatorMetric & WithDependencyConfig(DependencyConfigT &&value)
ServiceLevelIndicatorMetric & WithOperationName(OperationNameT &&value)
ServiceLevelIndicatorMetric & WithCompositeSliConfig(CompositeSliConfigT &&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
bool CompositeSliConfigHasBeenSet() 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)
const CompositeSliConfig & GetCompositeSliConfig() const
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