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
51 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
65 inline void SetAnomalyGroupId(
const char* value) { m_anomalyGroupIdHasBeenSet =
true; m_anomalyGroupId.assign(value); }
92 inline void SetContributionPercentage(
double value) { m_contributionPercentageHasBeenSet =
true; m_contributionPercentage = value; }
98 bool m_metricNameHasBeenSet =
false;
101 bool m_anomalyGroupIdHasBeenSet =
false;
104 bool m_relationshipTypeHasBeenSet =
false;
106 double m_contributionPercentage;
107 bool m_contributionPercentageHasBeenSet =
false;
double GetContributionPercentage() const
const RelationshipType & GetRelationshipType() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContributionPercentageHasBeenSet() const
void SetContributionPercentage(double value)
void SetAnomalyGroupId(const Aws::String &value)
void SetMetricName(const char *value)
InterMetricImpactDetails & WithContributionPercentage(double value)
InterMetricImpactDetails & WithRelationshipType(RelationshipType &&value)
bool RelationshipTypeHasBeenSet() const
void SetAnomalyGroupId(Aws::String &&value)
bool MetricNameHasBeenSet() const
const Aws::String & GetAnomalyGroupId() const
InterMetricImpactDetails & WithMetricName(Aws::String &&value)
AWS_LOOKOUTMETRICS_API InterMetricImpactDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
InterMetricImpactDetails & WithAnomalyGroupId(const Aws::String &value)
void SetAnomalyGroupId(const char *value)
AWS_LOOKOUTMETRICS_API InterMetricImpactDetails(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(Aws::String &&value)
bool AnomalyGroupIdHasBeenSet() const
InterMetricImpactDetails & WithMetricName(const char *value)
AWS_LOOKOUTMETRICS_API InterMetricImpactDetails()
InterMetricImpactDetails & WithRelationshipType(const RelationshipType &value)
const Aws::String & GetMetricName() const
void SetRelationshipType(RelationshipType &&value)
void SetMetricName(const Aws::String &value)
InterMetricImpactDetails & WithMetricName(const Aws::String &value)
InterMetricImpactDetails & WithAnomalyGroupId(const char *value)
InterMetricImpactDetails & WithAnomalyGroupId(Aws::String &&value)
void SetRelationshipType(const RelationshipType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue