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/DependencyConfig.h>
13#include <aws/application-signals/model/MetricDataQuery.h>
26namespace ApplicationSignals
65 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
66 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
67 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
69 template<
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
71 m_keyAttributesHasBeenSet =
true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
return *
this;
82 template<
typename OperationNameT = Aws::String>
83 void SetOperationName(OperationNameT&& value) { m_operationNameHasBeenSet =
true; m_operationName = std::forward<OperationNameT>(value); }
84 template<
typename OperationNameT = Aws::String>
108 template<
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
109 void SetMetricDataQueries(MetricDataQueriesT&& value) { m_metricDataQueriesHasBeenSet =
true; m_metricDataQueries = std::forward<MetricDataQueriesT>(value); }
110 template<
typename MetricDataQueriesT = Aws::Vector<MetricDataQuery>>
112 template<
typename MetricDataQueriesT = MetricDataQuery>
123 template<
typename DependencyConfigT = DependencyConfig>
124 void SetDependencyConfig(DependencyConfigT&& value) { m_dependencyConfigHasBeenSet =
true; m_dependencyConfig = std::forward<DependencyConfigT>(value); }
125 template<
typename DependencyConfigT = DependencyConfig>
131 bool m_keyAttributesHasBeenSet =
false;
134 bool m_operationNameHasBeenSet =
false;
137 bool m_metricTypeHasBeenSet =
false;
140 bool m_metricDataQueriesHasBeenSet =
false;
142 DependencyConfig m_dependencyConfig;
143 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