7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/AnomalySeverity.h>
10#include <aws/devops-guru/model/AnomalyStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/devops-guru/model/AnomalyTimeRange.h>
13#include <aws/devops-guru/model/AnomalyReportedTimeRange.h>
14#include <aws/devops-guru/model/PredictionTimeRange.h>
15#include <aws/devops-guru/model/AnomalySourceDetails.h>
16#include <aws/devops-guru/model/ResourceCollection.h>
17#include <aws/devops-guru/model/AnomalySourceMetadata.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/devops-guru/model/AnomalyResource.h>
58 template<
typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
60 template<
typename IdT = Aws::String>
93 template<
typename UpdateTimeT = Aws::Utils::DateTime>
94 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
95 template<
typename UpdateTimeT = Aws::Utils::DateTime>
103 template<
typename AnomalyTimeRangeT = AnomalyTimeRange>
104 void SetAnomalyTimeRange(AnomalyTimeRangeT&& value) { m_anomalyTimeRangeHasBeenSet =
true; m_anomalyTimeRange = std::forward<AnomalyTimeRangeT>(value); }
105 template<
typename AnomalyTimeRangeT = AnomalyTimeRange>
116 template<
typename AnomalyReportedTimeRangeT = AnomalyReportedTimeRange>
117 void SetAnomalyReportedTimeRange(AnomalyReportedTimeRangeT&& value) { m_anomalyReportedTimeRangeHasBeenSet =
true; m_anomalyReportedTimeRange = std::forward<AnomalyReportedTimeRangeT>(value); }
118 template<
typename AnomalyReportedTimeRangeT = AnomalyReportedTimeRange>
126 template<
typename PredictionTimeRangeT = PredictionTimeRange>
127 void SetPredictionTimeRange(PredictionTimeRangeT&& value) { m_predictionTimeRangeHasBeenSet =
true; m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value); }
128 template<
typename PredictionTimeRangeT = PredictionTimeRange>
139 template<
typename SourceDetailsT = AnomalySourceDetails>
140 void SetSourceDetails(SourceDetailsT&& value) { m_sourceDetailsHasBeenSet =
true; m_sourceDetails = std::forward<SourceDetailsT>(value); }
141 template<
typename SourceDetailsT = AnomalySourceDetails>
152 template<
typename AssociatedInsightIdT = Aws::String>
153 void SetAssociatedInsightId(AssociatedInsightIdT&& value) { m_associatedInsightIdHasBeenSet =
true; m_associatedInsightId = std::forward<AssociatedInsightIdT>(value); }
154 template<
typename AssociatedInsightIdT = Aws::String>
162 template<
typename ResourceCollectionT = ResourceCollection>
163 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet =
true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
164 template<
typename ResourceCollectionT = ResourceCollection>
176 inline void SetLimit(
double value) { m_limitHasBeenSet =
true; m_limit = value; }
186 template<
typename SourceMetadataT = AnomalySourceMetadata>
187 void SetSourceMetadata(SourceMetadataT&& value) { m_sourceMetadataHasBeenSet =
true; m_sourceMetadata = std::forward<SourceMetadataT>(value); }
188 template<
typename SourceMetadataT = AnomalySourceMetadata>
199 template<
typename AnomalyResourcesT = Aws::Vector<AnomalyResource>>
200 void SetAnomalyResources(AnomalyResourcesT&& value) { m_anomalyResourcesHasBeenSet =
true; m_anomalyResources = std::forward<AnomalyResourcesT>(value); }
201 template<
typename AnomalyResourcesT = Aws::Vector<AnomalyResource>>
203 template<
typename AnomalyResourcesT = AnomalyResource>
213 template<
typename DescriptionT = Aws::String>
214 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
215 template<
typename DescriptionT = Aws::String>
221 bool m_idHasBeenSet =
false;
224 bool m_severityHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
230 bool m_updateTimeHasBeenSet =
false;
232 AnomalyTimeRange m_anomalyTimeRange;
233 bool m_anomalyTimeRangeHasBeenSet =
false;
235 AnomalyReportedTimeRange m_anomalyReportedTimeRange;
236 bool m_anomalyReportedTimeRangeHasBeenSet =
false;
238 PredictionTimeRange m_predictionTimeRange;
239 bool m_predictionTimeRangeHasBeenSet =
false;
241 AnomalySourceDetails m_sourceDetails;
242 bool m_sourceDetailsHasBeenSet =
false;
245 bool m_associatedInsightIdHasBeenSet =
false;
247 ResourceCollection m_resourceCollection;
248 bool m_resourceCollectionHasBeenSet =
false;
251 bool m_limitHasBeenSet =
false;
253 AnomalySourceMetadata m_sourceMetadata;
254 bool m_sourceMetadataHasBeenSet =
false;
257 bool m_anomalyResourcesHasBeenSet =
false;
260 bool m_descriptionHasBeenSet =
false;
const Aws::Vector< AnomalyResource > & GetAnomalyResources() const
AWS_DEVOPSGURU_API ProactiveAnomalySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceDetails(SourceDetailsT &&value)
bool SourceDetailsHasBeenSet() const
AWS_DEVOPSGURU_API ProactiveAnomalySummary()=default
void SetSeverity(AnomalySeverity value)
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
bool SourceMetadataHasBeenSet() const
ProactiveAnomalySummary & WithSourceMetadata(SourceMetadataT &&value)
ProactiveAnomalySummary & WithSeverity(AnomalySeverity value)
const AnomalyTimeRange & GetAnomalyTimeRange() const
void SetAnomalyResources(AnomalyResourcesT &&value)
ProactiveAnomalySummary & WithPredictionTimeRange(PredictionTimeRangeT &&value)
void SetStatus(AnomalyStatus value)
bool DescriptionHasBeenSet() const
void SetAnomalyReportedTimeRange(AnomalyReportedTimeRangeT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ProactiveAnomalySummary & WithDescription(DescriptionT &&value)
bool StatusHasBeenSet() const
ProactiveAnomalySummary & WithAnomalyResources(AnomalyResourcesT &&value)
const AnomalySourceDetails & GetSourceDetails() const
ProactiveAnomalySummary & WithUpdateTime(UpdateTimeT &&value)
void SetAssociatedInsightId(AssociatedInsightIdT &&value)
AWS_DEVOPSGURU_API ProactiveAnomalySummary(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(UpdateTimeT &&value)
const Aws::String & GetDescription() const
ProactiveAnomalySummary & WithStatus(AnomalyStatus value)
ProactiveAnomalySummary & WithId(IdT &&value)
const PredictionTimeRange & GetPredictionTimeRange() const
bool PredictionTimeRangeHasBeenSet() const
const ResourceCollection & GetResourceCollection() const
void SetLimit(double value)
ProactiveAnomalySummary & WithAssociatedInsightId(AssociatedInsightIdT &&value)
void SetPredictionTimeRange(PredictionTimeRangeT &&value)
ProactiveAnomalySummary & WithResourceCollection(ResourceCollectionT &&value)
const AnomalySourceMetadata & GetSourceMetadata() const
ProactiveAnomalySummary & WithSourceDetails(SourceDetailsT &&value)
ProactiveAnomalySummary & WithLimit(double value)
AnomalySeverity GetSeverity() const
const Aws::String & GetAssociatedInsightId() const
const Aws::Utils::DateTime & GetUpdateTime() const
void SetAnomalyTimeRange(AnomalyTimeRangeT &&value)
bool AnomalyTimeRangeHasBeenSet() const
bool AnomalyReportedTimeRangeHasBeenSet() const
bool AssociatedInsightIdHasBeenSet() const
bool ResourceCollectionHasBeenSet() const
const AnomalyReportedTimeRange & GetAnomalyReportedTimeRange() const
bool SeverityHasBeenSet() const
bool LimitHasBeenSet() const
bool AnomalyResourcesHasBeenSet() const
AnomalyStatus GetStatus() const
ProactiveAnomalySummary & WithAnomalyTimeRange(AnomalyTimeRangeT &&value)
ProactiveAnomalySummary & WithAnomalyReportedTimeRange(AnomalyReportedTimeRangeT &&value)
void SetSourceMetadata(SourceMetadataT &&value)
ProactiveAnomalySummary & AddAnomalyResources(AnomalyResourcesT &&value)
void SetResourceCollection(ResourceCollectionT &&value)
bool UpdateTimeHasBeenSet() const
const Aws::String & GetId() 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