7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/AnomalyScore.h>
11#include <aws/ce/model/Impact.h>
12#include <aws/ce/model/AnomalyFeedbackType.h>
13#include <aws/ce/model/RootCause.h>
54 inline void SetAnomalyId(
const char* value) { m_anomalyIdHasBeenSet =
true; m_anomalyId.assign(value); }
68 inline void SetAnomalyStartDate(
const char* value) { m_anomalyStartDateHasBeenSet =
true; m_anomalyStartDate.assign(value); }
82 inline void SetAnomalyEndDate(
const char* value) { m_anomalyEndDateHasBeenSet =
true; m_anomalyEndDate.assign(value); }
97 inline void SetDimensionValue(
const char* value) { m_dimensionValueHasBeenSet =
true; m_dimensionValue.assign(value); }
135 inline void SetImpact(
const Impact& value) { m_impactHasBeenSet =
true; m_impact = value; }
136 inline void SetImpact(
Impact&& value) { m_impactHasBeenSet =
true; m_impact = std::move(value); }
150 inline void SetMonitorArn(
const char* value) { m_monitorArnHasBeenSet =
true; m_monitorArn.assign(value); }
170 bool m_anomalyIdHasBeenSet =
false;
173 bool m_anomalyStartDateHasBeenSet =
false;
176 bool m_anomalyEndDateHasBeenSet =
false;
179 bool m_dimensionValueHasBeenSet =
false;
182 bool m_rootCausesHasBeenSet =
false;
185 bool m_anomalyScoreHasBeenSet =
false;
188 bool m_impactHasBeenSet =
false;
191 bool m_monitorArnHasBeenSet =
false;
194 bool m_feedbackHasBeenSet =
false;
Anomaly & WithImpact(const Impact &value)
Anomaly & WithRootCauses(const Aws::Vector< RootCause > &value)
void SetAnomalyId(Aws::String &&value)
Anomaly & WithAnomalyId(Aws::String &&value)
void SetRootCauses(const Aws::Vector< RootCause > &value)
const Aws::String & GetAnomalyEndDate() const
void SetFeedback(AnomalyFeedbackType &&value)
void SetMonitorArn(const char *value)
void SetAnomalyEndDate(const char *value)
const AnomalyScore & GetAnomalyScore() const
void SetAnomalyEndDate(Aws::String &&value)
const AnomalyFeedbackType & GetFeedback() const
Anomaly & WithImpact(Impact &&value)
Anomaly & WithAnomalyEndDate(const Aws::String &value)
const Aws::String & GetAnomalyId() const
Anomaly & WithAnomalyId(const char *value)
Anomaly & WithMonitorArn(Aws::String &&value)
bool FeedbackHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
Anomaly & WithAnomalyEndDate(Aws::String &&value)
const Aws::Vector< RootCause > & GetRootCauses() const
Anomaly & WithAnomalyStartDate(const char *value)
void SetMonitorArn(const Aws::String &value)
Anomaly & WithAnomalyStartDate(const Aws::String &value)
void SetAnomalyId(const char *value)
void SetFeedback(const AnomalyFeedbackType &value)
Anomaly & WithAnomalyScore(const AnomalyScore &value)
Anomaly & WithRootCauses(Aws::Vector< RootCause > &&value)
void SetImpact(Impact &&value)
bool AnomalyStartDateHasBeenSet() const
Anomaly & WithAnomalyScore(AnomalyScore &&value)
Anomaly & WithDimensionValue(const char *value)
Anomaly & WithFeedback(AnomalyFeedbackType &&value)
void SetAnomalyStartDate(Aws::String &&value)
Anomaly & WithMonitorArn(const char *value)
Anomaly & WithAnomalyEndDate(const char *value)
AWS_COSTEXPLORER_API Anomaly & operator=(Aws::Utils::Json::JsonView jsonValue)
Anomaly & WithMonitorArn(const Aws::String &value)
bool DimensionValueHasBeenSet() const
Anomaly & AddRootCauses(const RootCause &value)
const Impact & GetImpact() const
bool AnomalyIdHasBeenSet() const
Anomaly & WithFeedback(const AnomalyFeedbackType &value)
const Aws::String & GetMonitorArn() const
AWS_COSTEXPLORER_API Anomaly(Aws::Utils::Json::JsonView jsonValue)
bool RootCausesHasBeenSet() const
void SetRootCauses(Aws::Vector< RootCause > &&value)
void SetDimensionValue(Aws::String &&value)
AWS_COSTEXPLORER_API Anomaly()
void SetAnomalyStartDate(const char *value)
Anomaly & AddRootCauses(RootCause &&value)
bool ImpactHasBeenSet() const
void SetMonitorArn(Aws::String &&value)
void SetDimensionValue(const char *value)
void SetAnomalyId(const Aws::String &value)
Anomaly & WithAnomalyStartDate(Aws::String &&value)
void SetImpact(const Impact &value)
void SetDimensionValue(const Aws::String &value)
void SetAnomalyScore(const AnomalyScore &value)
const Aws::String & GetDimensionValue() const
void SetAnomalyScore(AnomalyScore &&value)
bool MonitorArnHasBeenSet() const
Anomaly & WithDimensionValue(const Aws::String &value)
Anomaly & WithAnomalyId(const Aws::String &value)
const Aws::String & GetAnomalyStartDate() const
Anomaly & WithDimensionValue(Aws::String &&value)
bool AnomalyScoreHasBeenSet() const
void SetAnomalyEndDate(const Aws::String &value)
void SetAnomalyStartDate(const Aws::String &value)
bool AnomalyEndDateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue