/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a reactive insight. This object is returned by
* DescribeInsight.
See Also:
AWS
* API Reference
The ID of a reactive summary.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of a reactive summary.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of a reactive summary.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of a reactive summary.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of a reactive summary.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of a reactive summary.
*/ inline ReactiveInsightSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of a reactive summary.
*/ inline ReactiveInsightSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of a reactive summary.
*/ inline ReactiveInsightSummary& WithId(const char* value) { SetId(value); return *this;} /** *The name of a reactive insight.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a reactive insight.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a reactive insight.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a reactive insight.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a reactive insight.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a reactive insight.
*/ inline ReactiveInsightSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a reactive insight.
*/ inline ReactiveInsightSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a reactive insight.
*/ inline ReactiveInsightSummary& WithName(const char* value) { SetName(value); return *this;} /** *The severity of the insight. For more information, see Understanding * insight severities in the Amazon DevOps Guru User Guide.
*/ inline const InsightSeverity& GetSeverity() const{ return m_severity; } /** *The severity of the insight. For more information, see Understanding * insight severities in the Amazon DevOps Guru User Guide.
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *The severity of the insight. For more information, see Understanding * insight severities in the Amazon DevOps Guru User Guide.
*/ inline void SetSeverity(const InsightSeverity& value) { m_severityHasBeenSet = true; m_severity = value; } /** *The severity of the insight. For more information, see Understanding * insight severities in the Amazon DevOps Guru User Guide.
*/ inline void SetSeverity(InsightSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *The severity of the insight. For more information, see Understanding * insight severities in the Amazon DevOps Guru User Guide.
*/ inline ReactiveInsightSummary& WithSeverity(const InsightSeverity& value) { SetSeverity(value); return *this;} /** *The severity of the insight. For more information, see Understanding * insight severities in the Amazon DevOps Guru User Guide.
*/ inline ReactiveInsightSummary& WithSeverity(InsightSeverity&& value) { SetSeverity(std::move(value)); return *this;} /** *The status of a reactive insight.
*/ inline const InsightStatus& GetStatus() const{ return m_status; } /** *The status of a reactive insight.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of a reactive insight.
*/ inline void SetStatus(const InsightStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of a reactive insight.
*/ inline void SetStatus(InsightStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of a reactive insight.
*/ inline ReactiveInsightSummary& WithStatus(const InsightStatus& value) { SetStatus(value); return *this;} /** *The status of a reactive insight.
*/ inline ReactiveInsightSummary& WithStatus(InsightStatus&& value) { SetStatus(std::move(value)); return *this;} inline const InsightTimeRange& GetInsightTimeRange() const{ return m_insightTimeRange; } inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; } inline void SetInsightTimeRange(const InsightTimeRange& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = value; } inline void SetInsightTimeRange(InsightTimeRange&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::move(value); } inline ReactiveInsightSummary& WithInsightTimeRange(const InsightTimeRange& value) { SetInsightTimeRange(value); return *this;} inline ReactiveInsightSummary& WithInsightTimeRange(InsightTimeRange&& value) { SetInsightTimeRange(std::move(value)); return *this;} inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; } inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; } inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; } inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); } inline ReactiveInsightSummary& WithResourceCollection(const ResourceCollection& value) { SetResourceCollection(value); return *this;} inline ReactiveInsightSummary& WithResourceCollection(ResourceCollection&& value) { SetResourceCollection(std::move(value)); return *this;} /** *A collection of the names of Amazon Web Services services.
*/ inline const ServiceCollection& GetServiceCollection() const{ return m_serviceCollection; } /** *A collection of the names of Amazon Web Services services.
*/ inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; } /** *A collection of the names of Amazon Web Services services.
*/ inline void SetServiceCollection(const ServiceCollection& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = value; } /** *A collection of the names of Amazon Web Services services.
*/ inline void SetServiceCollection(ServiceCollection&& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = std::move(value); } /** *A collection of the names of Amazon Web Services services.
*/ inline ReactiveInsightSummary& WithServiceCollection(const ServiceCollection& value) { SetServiceCollection(value); return *this;} /** *A collection of the names of Amazon Web Services services.
*/ inline ReactiveInsightSummary& WithServiceCollection(ServiceCollection&& value) { SetServiceCollection(std::move(value)); return *this;} /** *The Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline bool AssociatedResourceArnsHasBeenSet() const { return m_associatedResourceArnsHasBeenSet; } /** *The Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline void SetAssociatedResourceArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline void SetAssociatedResourceArns(Aws::VectorThe Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline ReactiveInsightSummary& WithAssociatedResourceArns(const Aws::VectorThe Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline ReactiveInsightSummary& WithAssociatedResourceArns(Aws::VectorThe Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline ReactiveInsightSummary& AddAssociatedResourceArns(const Aws::String& value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline ReactiveInsightSummary& AddAssociatedResourceArns(Aws::String&& value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of the Amazon Web Services resources that * generated this insight.
*/ inline ReactiveInsightSummary& AddAssociatedResourceArns(const char* value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns.push_back(value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; InsightSeverity m_severity; bool m_severityHasBeenSet = false; InsightStatus m_status; bool m_statusHasBeenSet = false; InsightTimeRange m_insightTimeRange; bool m_insightTimeRangeHasBeenSet = false; ResourceCollection m_resourceCollection; bool m_resourceCollectionHasBeenSet = false; ServiceCollection m_serviceCollection; bool m_serviceCollectionHasBeenSet = false; Aws::Vector