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>
52 template<
typename AnomalyIdT = Aws::String>
53 void SetAnomalyId(AnomalyIdT&& value) { m_anomalyIdHasBeenSet =
true; m_anomalyId = std::forward<AnomalyIdT>(value); }
54 template<
typename AnomalyIdT = Aws::String>
64 template<
typename AnomalyStartDateT = Aws::String>
65 void SetAnomalyStartDate(AnomalyStartDateT&& value) { m_anomalyStartDateHasBeenSet =
true; m_anomalyStartDate = std::forward<AnomalyStartDateT>(value); }
66 template<
typename AnomalyStartDateT = Aws::String>
76 template<
typename AnomalyEndDateT = Aws::String>
77 void SetAnomalyEndDate(AnomalyEndDateT&& value) { m_anomalyEndDateHasBeenSet =
true; m_anomalyEndDate = std::forward<AnomalyEndDateT>(value); }
78 template<
typename AnomalyEndDateT = Aws::String>
89 template<
typename DimensionValueT = Aws::String>
90 void SetDimensionValue(DimensionValueT&& value) { m_dimensionValueHasBeenSet =
true; m_dimensionValue = std::forward<DimensionValueT>(value); }
91 template<
typename DimensionValueT = Aws::String>
101 template<
typename RootCausesT = Aws::Vector<RootCause>>
102 void SetRootCauses(RootCausesT&& value) { m_rootCausesHasBeenSet =
true; m_rootCauses = std::forward<RootCausesT>(value); }
103 template<
typename RootCausesT = Aws::Vector<RootCause>>
105 template<
typename RootCausesT = RootCause>
106 Anomaly&
AddRootCauses(RootCausesT&& value) { m_rootCausesHasBeenSet =
true; m_rootCauses.emplace_back(std::forward<RootCausesT>(value));
return *
this; }
115 template<
typename AnomalyScoreT = AnomalyScore>
116 void SetAnomalyScore(AnomalyScoreT&& value) { m_anomalyScoreHasBeenSet =
true; m_anomalyScore = std::forward<AnomalyScoreT>(value); }
117 template<
typename AnomalyScoreT = AnomalyScore>
127 template<
typename ImpactT = Impact>
128 void SetImpact(ImpactT&& value) { m_impactHasBeenSet =
true; m_impact = std::forward<ImpactT>(value); }
129 template<
typename ImpactT = Impact>
140 template<
typename MonitorArnT = Aws::String>
141 void SetMonitorArn(MonitorArnT&& value) { m_monitorArnHasBeenSet =
true; m_monitorArn = std::forward<MonitorArnT>(value); }
142 template<
typename MonitorArnT = Aws::String>
158 bool m_anomalyIdHasBeenSet =
false;
161 bool m_anomalyStartDateHasBeenSet =
false;
164 bool m_anomalyEndDateHasBeenSet =
false;
167 bool m_dimensionValueHasBeenSet =
false;
170 bool m_rootCausesHasBeenSet =
false;
173 bool m_anomalyScoreHasBeenSet =
false;
176 bool m_impactHasBeenSet =
false;
179 bool m_monitorArnHasBeenSet =
false;
182 bool m_feedbackHasBeenSet =
false;
void SetAnomalyStartDate(AnomalyStartDateT &&value)
const Aws::String & GetAnomalyEndDate() const
Anomaly & WithAnomalyId(AnomalyIdT &&value)
Anomaly & WithAnomalyScore(AnomalyScoreT &&value)
const AnomalyScore & GetAnomalyScore() const
void SetAnomalyScore(AnomalyScoreT &&value)
void SetAnomalyId(AnomalyIdT &&value)
Anomaly & AddRootCauses(RootCausesT &&value)
const Aws::String & GetAnomalyId() const
void SetFeedback(AnomalyFeedbackType value)
Anomaly & WithRootCauses(RootCausesT &&value)
AnomalyFeedbackType GetFeedback() const
Anomaly & WithAnomalyStartDate(AnomalyStartDateT &&value)
Anomaly & WithMonitorArn(MonitorArnT &&value)
bool FeedbackHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RootCause > & GetRootCauses() const
bool AnomalyStartDateHasBeenSet() const
Anomaly & WithFeedback(AnomalyFeedbackType value)
AWS_COSTEXPLORER_API Anomaly & operator=(Aws::Utils::Json::JsonView jsonValue)
Anomaly & WithDimensionValue(DimensionValueT &&value)
AWS_COSTEXPLORER_API Anomaly()=default
bool DimensionValueHasBeenSet() const
const Impact & GetImpact() const
bool AnomalyIdHasBeenSet() const
void SetRootCauses(RootCausesT &&value)
Anomaly & WithAnomalyEndDate(AnomalyEndDateT &&value)
const Aws::String & GetMonitorArn() const
AWS_COSTEXPLORER_API Anomaly(Aws::Utils::Json::JsonView jsonValue)
bool RootCausesHasBeenSet() const
bool ImpactHasBeenSet() const
void SetImpact(ImpactT &&value)
const Aws::String & GetDimensionValue() const
bool MonitorArnHasBeenSet() const
void SetAnomalyEndDate(AnomalyEndDateT &&value)
const Aws::String & GetAnomalyStartDate() const
bool AnomalyScoreHasBeenSet() const
void SetMonitorArn(MonitorArnT &&value)
bool AnomalyEndDateHasBeenSet() const
void SetDimensionValue(DimensionValueT &&value)
Anomaly & WithImpact(ImpactT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue