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/devops-guru/model/AnomalyTimeRange.h>
12#include <aws/devops-guru/model/AnomalyReportedTimeRange.h>
13#include <aws/devops-guru/model/AnomalySourceDetails.h>
14#include <aws/devops-guru/model/ResourceCollection.h>
15#include <aws/devops-guru/model/AnomalyType.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/devops-guru/model/AnomalyResource.h>
57 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
58 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
136 inline void SetAssociatedInsightId(
const char* value) { m_associatedInsightIdHasBeenSet =
true; m_associatedInsightId.assign(value); }
175 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
189 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
204 inline void SetCausalAnomalyId(
const char* value) { m_causalAnomalyIdHasBeenSet =
true; m_causalAnomalyId.assign(value); }
227 bool m_idHasBeenSet =
false;
230 bool m_severityHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
236 bool m_anomalyTimeRangeHasBeenSet =
false;
239 bool m_anomalyReportedTimeRangeHasBeenSet =
false;
242 bool m_sourceDetailsHasBeenSet =
false;
245 bool m_associatedInsightIdHasBeenSet =
false;
248 bool m_resourceCollectionHasBeenSet =
false;
251 bool m_typeHasBeenSet =
false;
254 bool m_nameHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
260 bool m_causalAnomalyIdHasBeenSet =
false;
263 bool m_anomalyResourcesHasBeenSet =
false;
ReactiveAnomalySummary & WithType(const AnomalyType &value)
void SetSeverity(const AnomalySeverity &value)
bool AnomalyTimeRangeHasBeenSet() const
ReactiveAnomalySummary & WithCausalAnomalyId(Aws::String &&value)
void SetCausalAnomalyId(const char *value)
ReactiveAnomalySummary & WithName(Aws::String &&value)
void SetResourceCollection(const ResourceCollection &value)
ReactiveAnomalySummary & WithCausalAnomalyId(const Aws::String &value)
void SetAnomalyTimeRange(const AnomalyTimeRange &value)
const AnomalyTimeRange & GetAnomalyTimeRange() const
void SetStatus(const AnomalyStatus &value)
bool NameHasBeenSet() const
ReactiveAnomalySummary & WithDescription(const char *value)
ReactiveAnomalySummary & WithSourceDetails(const AnomalySourceDetails &value)
ReactiveAnomalySummary & WithAnomalyTimeRange(AnomalyTimeRange &&value)
ReactiveAnomalySummary & WithCausalAnomalyId(const char *value)
void SetSourceDetails(const AnomalySourceDetails &value)
void SetAnomalyResources(const Aws::Vector< AnomalyResource > &value)
ReactiveAnomalySummary & WithName(const char *value)
void SetAssociatedInsightId(const char *value)
ReactiveAnomalySummary & WithAnomalyReportedTimeRange(const AnomalyReportedTimeRange &value)
void SetSeverity(AnomalySeverity &&value)
void SetStatus(AnomalyStatus &&value)
void SetDescription(const char *value)
void SetCausalAnomalyId(const Aws::String &value)
bool AnomalyResourcesHasBeenSet() const
const AnomalyType & GetType() const
ReactiveAnomalySummary & WithAssociatedInsightId(const char *value)
void SetType(const AnomalyType &value)
bool ResourceCollectionHasBeenSet() const
const ResourceCollection & GetResourceCollection() const
ReactiveAnomalySummary & WithDescription(Aws::String &&value)
const Aws::Vector< AnomalyResource > & GetAnomalyResources() const
bool IdHasBeenSet() const
void SetAssociatedInsightId(Aws::String &&value)
ReactiveAnomalySummary & WithSeverity(const AnomalySeverity &value)
AWS_DEVOPSGURU_API ReactiveAnomalySummary()
const AnomalyReportedTimeRange & GetAnomalyReportedTimeRange() const
bool CausalAnomalyIdHasBeenSet() const
void SetSourceDetails(AnomalySourceDetails &&value)
const Aws::String & GetCausalAnomalyId() const
void SetName(const Aws::String &value)
bool AssociatedInsightIdHasBeenSet() const
void SetDescription(Aws::String &&value)
ReactiveAnomalySummary & WithResourceCollection(const ResourceCollection &value)
ReactiveAnomalySummary & WithAnomalyResources(const Aws::Vector< AnomalyResource > &value)
bool SeverityHasBeenSet() const
bool TypeHasBeenSet() const
void SetAnomalyResources(Aws::Vector< AnomalyResource > &&value)
ReactiveAnomalySummary & WithResourceCollection(ResourceCollection &&value)
ReactiveAnomalySummary & WithAssociatedInsightId(const Aws::String &value)
bool DescriptionHasBeenSet() const
ReactiveAnomalySummary & WithId(const char *value)
ReactiveAnomalySummary & WithType(AnomalyType &&value)
ReactiveAnomalySummary & WithStatus(const AnomalyStatus &value)
const AnomalySourceDetails & GetSourceDetails() const
const AnomalySeverity & GetSeverity() const
void SetAnomalyReportedTimeRange(const AnomalyReportedTimeRange &value)
bool SourceDetailsHasBeenSet() const
ReactiveAnomalySummary & WithName(const Aws::String &value)
void SetId(Aws::String &&value)
ReactiveAnomalySummary & WithId(const Aws::String &value)
ReactiveAnomalySummary & WithAnomalyReportedTimeRange(AnomalyReportedTimeRange &&value)
const Aws::String & GetDescription() const
bool StatusHasBeenSet() const
void SetDescription(const Aws::String &value)
ReactiveAnomalySummary & AddAnomalyResources(const AnomalyResource &value)
AWS_DEVOPSGURU_API ReactiveAnomalySummary(Aws::Utils::Json::JsonView jsonValue)
ReactiveAnomalySummary & WithSeverity(AnomalySeverity &&value)
ReactiveAnomalySummary & WithId(Aws::String &&value)
void SetAnomalyReportedTimeRange(AnomalyReportedTimeRange &&value)
ReactiveAnomalySummary & AddAnomalyResources(AnomalyResource &&value)
bool AnomalyReportedTimeRangeHasBeenSet() const
void SetId(const char *value)
void SetName(const char *value)
ReactiveAnomalySummary & WithDescription(const Aws::String &value)
void SetAssociatedInsightId(const Aws::String &value)
ReactiveAnomalySummary & WithAnomalyTimeRange(const AnomalyTimeRange &value)
ReactiveAnomalySummary & WithAnomalyResources(Aws::Vector< AnomalyResource > &&value)
void SetId(const Aws::String &value)
void SetName(Aws::String &&value)
void SetResourceCollection(ResourceCollection &&value)
void SetType(AnomalyType &&value)
void SetCausalAnomalyId(Aws::String &&value)
AWS_DEVOPSGURU_API ReactiveAnomalySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReactiveAnomalySummary & WithSourceDetails(AnomalySourceDetails &&value)
ReactiveAnomalySummary & WithAssociatedInsightId(Aws::String &&value)
const Aws::String & GetName() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ReactiveAnomalySummary & WithStatus(AnomalyStatus &&value)
const Aws::String & GetAssociatedInsightId() const
const Aws::String & GetId() const
const AnomalyStatus & GetStatus() const
void SetAnomalyTimeRange(AnomalyTimeRange &&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