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>
59 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
60 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
160 inline void SetAssociatedInsightId(
const char* value) { m_associatedInsightIdHasBeenSet =
true; m_associatedInsightId.assign(value); }
184 inline void SetLimit(
double value) { m_limitHasBeenSet =
true; m_limit = value; }
223 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
231 bool m_idHasBeenSet =
false;
234 bool m_severityHasBeenSet =
false;
237 bool m_statusHasBeenSet =
false;
240 bool m_updateTimeHasBeenSet =
false;
243 bool m_anomalyTimeRangeHasBeenSet =
false;
246 bool m_anomalyReportedTimeRangeHasBeenSet =
false;
249 bool m_predictionTimeRangeHasBeenSet =
false;
252 bool m_sourceDetailsHasBeenSet =
false;
255 bool m_associatedInsightIdHasBeenSet =
false;
258 bool m_resourceCollectionHasBeenSet =
false;
261 bool m_limitHasBeenSet =
false;
264 bool m_sourceMetadataHasBeenSet =
false;
267 bool m_anomalyResourcesHasBeenSet =
false;
270 bool m_descriptionHasBeenSet =
false;
void SetId(const Aws::String &value)
ProactiveAnomalySummary & WithSeverity(AnomalySeverity &&value)
ProactiveAnomalySummary & WithId(const Aws::String &value)
const Aws::Vector< AnomalyResource > & GetAnomalyResources() const
AWS_DEVOPSGURU_API ProactiveAnomalySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProactiveAnomalySummary & AddAnomalyResources(const AnomalyResource &value)
bool SourceDetailsHasBeenSet() const
ProactiveAnomalySummary & WithPredictionTimeRange(PredictionTimeRange &&value)
ProactiveAnomalySummary & WithUpdateTime(const Aws::Utils::DateTime &value)
AWS_DEVOPSGURU_API ProactiveAnomalySummary()
bool IdHasBeenSet() const
void SetId(const char *value)
bool SourceMetadataHasBeenSet() const
void SetAnomalyReportedTimeRange(AnomalyReportedTimeRange &&value)
ProactiveAnomalySummary & WithAnomalyResources(Aws::Vector< AnomalyResource > &&value)
ProactiveAnomalySummary & WithAnomalyResources(const Aws::Vector< AnomalyResource > &value)
void SetSeverity(const AnomalySeverity &value)
const AnomalyStatus & GetStatus() const
ProactiveAnomalySummary & WithAnomalyReportedTimeRange(AnomalyReportedTimeRange &&value)
void SetDescription(const Aws::String &value)
void SetAssociatedInsightId(Aws::String &&value)
ProactiveAnomalySummary & WithResourceCollection(const ResourceCollection &value)
void SetStatus(const AnomalyStatus &value)
ProactiveAnomalySummary & WithPredictionTimeRange(const PredictionTimeRange &value)
const AnomalyTimeRange & GetAnomalyTimeRange() const
bool DescriptionHasBeenSet() const
void SetAnomalyTimeRange(AnomalyTimeRange &&value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnomalyReportedTimeRange(const AnomalyReportedTimeRange &value)
bool StatusHasBeenSet() const
const AnomalySourceDetails & GetSourceDetails() const
void SetResourceCollection(const ResourceCollection &value)
ProactiveAnomalySummary & WithSourceDetails(AnomalySourceDetails &&value)
void SetPredictionTimeRange(const PredictionTimeRange &value)
void SetSeverity(AnomalySeverity &&value)
void SetAnomalyResources(Aws::Vector< AnomalyResource > &&value)
ProactiveAnomalySummary & WithAssociatedInsightId(Aws::String &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
ProactiveAnomalySummary & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
AWS_DEVOPSGURU_API ProactiveAnomalySummary(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
const Aws::String & GetDescription() const
ProactiveAnomalySummary & WithAssociatedInsightId(const char *value)
ProactiveAnomalySummary & WithSeverity(const AnomalySeverity &value)
ProactiveAnomalySummary & WithDescription(const Aws::String &value)
void SetSourceDetails(AnomalySourceDetails &&value)
ProactiveAnomalySummary & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetAssociatedInsightId(const char *value)
const PredictionTimeRange & GetPredictionTimeRange() const
ProactiveAnomalySummary & WithAnomalyTimeRange(const AnomalyTimeRange &value)
ProactiveAnomalySummary & WithAnomalyReportedTimeRange(const AnomalyReportedTimeRange &value)
bool PredictionTimeRangeHasBeenSet() const
ProactiveAnomalySummary & WithSourceMetadata(AnomalySourceMetadata &&value)
const ResourceCollection & GetResourceCollection() const
void SetLimit(double value)
ProactiveAnomalySummary & WithResourceCollection(ResourceCollection &&value)
ProactiveAnomalySummary & WithDescription(const char *value)
ProactiveAnomalySummary & WithStatus(const AnomalyStatus &value)
ProactiveAnomalySummary & WithStatus(AnomalyStatus &&value)
void SetAnomalyTimeRange(const AnomalyTimeRange &value)
void SetSourceDetails(const AnomalySourceDetails &value)
const AnomalySourceMetadata & GetSourceMetadata() const
ProactiveAnomalySummary & WithLimit(double value)
ProactiveAnomalySummary & WithSourceMetadata(const AnomalySourceMetadata &value)
const AnomalySeverity & GetSeverity() const
ProactiveAnomalySummary & WithAnomalyTimeRange(AnomalyTimeRange &&value)
void SetSourceMetadata(const AnomalySourceMetadata &value)
const Aws::String & GetAssociatedInsightId() const
void SetAnomalyResources(const Aws::Vector< AnomalyResource > &value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetResourceCollection(ResourceCollection &&value)
bool AnomalyTimeRangeHasBeenSet() const
ProactiveAnomalySummary & WithId(Aws::String &&value)
void SetDescription(const char *value)
ProactiveAnomalySummary & WithSourceDetails(const AnomalySourceDetails &value)
bool AnomalyReportedTimeRangeHasBeenSet() const
void SetPredictionTimeRange(PredictionTimeRange &&value)
void SetStatus(AnomalyStatus &&value)
ProactiveAnomalySummary & WithAssociatedInsightId(const Aws::String &value)
bool AssociatedInsightIdHasBeenSet() const
bool ResourceCollectionHasBeenSet() const
const AnomalyReportedTimeRange & GetAnomalyReportedTimeRange() const
bool SeverityHasBeenSet() const
bool LimitHasBeenSet() const
bool AnomalyResourcesHasBeenSet() const
ProactiveAnomalySummary & AddAnomalyResources(AnomalyResource &&value)
void SetAssociatedInsightId(const Aws::String &value)
bool UpdateTimeHasBeenSet() const
const Aws::String & GetId() const
ProactiveAnomalySummary & WithId(const char *value)
void SetSourceMetadata(AnomalySourceMetadata &&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