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/ServiceLevelIndicatorMetricType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace ApplicationSignals {
59 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
61 m_keyAttributesHasBeenSet =
true;
62 m_keyAttributes = std::forward<KeyAttributesT>(value);
64 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
69 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
71 m_keyAttributesHasBeenSet =
true;
72 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
84 template <
typename OperationNameT = Aws::String>
86 m_operationNameHasBeenSet =
true;
87 m_operationName = std::forward<OperationNameT>(value);
89 template <
typename OperationNameT = Aws::String>
105 m_metricTypeHasBeenSet =
true;
106 m_metricType = value;
122 template <
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
124 m_metricDataQueriesHasBeenSet =
true;
125 m_metricDataQueries = std::forward<MetricDataQueriesT>(value);
127 template <
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
132 template <
typename MetricDataQueriesT = MetricDataQuery>
134 m_metricDataQueriesHasBeenSet =
true;
135 m_metricDataQueries.emplace_back(std::forward<MetricDataQueriesT>(value));
147 template <
typename DependencyConfigT = DependencyConfig>
149 m_dependencyConfigHasBeenSet =
true;
150 m_dependencyConfig = std::forward<DependencyConfigT>(value);
152 template <
typename DependencyConfigT = DependencyConfig>
167 DependencyConfig m_dependencyConfig;
168 bool m_keyAttributesHasBeenSet =
false;
169 bool m_operationNameHasBeenSet =
false;
170 bool m_metricTypeHasBeenSet =
false;
171 bool m_metricDataQueriesHasBeenSet =
false;
172 bool m_dependencyConfigHasBeenSet =
false;
AWS_APPLICATIONSIGNALS_API ServiceLevelIndicatorMetric()=default
const Aws::String & GetOperationName() 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 & WithMetricDataQueries(MetricDataQueriesT &&value)
void SetKeyAttributes(KeyAttributesT &&value)
bool MetricDataQueriesHasBeenSet() const
ServiceLevelIndicatorMetric & WithKeyAttributes(KeyAttributesT &&value)
const DependencyConfig & GetDependencyConfig() const
ServiceLevelIndicatorMetric & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
bool DependencyConfigHasBeenSet() 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