7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/RelationshipType.h>
22namespace LookoutMetrics
49 template<
typename MetricNameT = Aws::String>
50 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
51 template<
typename MetricNameT = Aws::String>
61 template<
typename AnomalyGroupIdT = Aws::String>
62 void SetAnomalyGroupId(AnomalyGroupIdT&& value) { m_anomalyGroupIdHasBeenSet =
true; m_anomalyGroupId = std::forward<AnomalyGroupIdT>(value); }
63 template<
typename AnomalyGroupIdT = Aws::String>
86 inline void SetContributionPercentage(
double value) { m_contributionPercentageHasBeenSet =
true; m_contributionPercentage = value; }
92 bool m_metricNameHasBeenSet =
false;
95 bool m_anomalyGroupIdHasBeenSet =
false;
98 bool m_relationshipTypeHasBeenSet =
false;
100 double m_contributionPercentage{0.0};
101 bool m_contributionPercentageHasBeenSet =
false;
InterMetricImpactDetails & WithMetricName(MetricNameT &&value)
double GetContributionPercentage() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContributionPercentageHasBeenSet() const
void SetContributionPercentage(double value)
InterMetricImpactDetails & WithContributionPercentage(double value)
bool RelationshipTypeHasBeenSet() const
bool MetricNameHasBeenSet() const
const Aws::String & GetAnomalyGroupId() const
AWS_LOOKOUTMETRICS_API InterMetricImpactDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnomalyGroupId(AnomalyGroupIdT &&value)
void SetMetricName(MetricNameT &&value)
AWS_LOOKOUTMETRICS_API InterMetricImpactDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API InterMetricImpactDetails()=default
bool AnomalyGroupIdHasBeenSet() const
InterMetricImpactDetails & WithRelationshipType(RelationshipType value)
void SetRelationshipType(RelationshipType value)
const Aws::String & GetMetricName() const
InterMetricImpactDetails & WithAnomalyGroupId(AnomalyGroupIdT &&value)
RelationshipType GetRelationshipType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue