7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/InsightSeverity.h>
10#include <aws/devops-guru/model/InsightStatus.h>
11#include <aws/devops-guru/model/InsightTimeRange.h>
12#include <aws/devops-guru/model/ResourceCollection.h>
13#include <aws/devops-guru/model/ServiceCollection.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
53 template<
typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
55 template<
typename IdT = Aws::String>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
97 template<
typename InsightTimeRangeT = InsightTimeRange>
98 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet =
true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
99 template<
typename InsightTimeRangeT = InsightTimeRange>
107 template<
typename ResourceCollectionT = ResourceCollection>
108 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet =
true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
109 template<
typename ResourceCollectionT = ResourceCollection>
119 template<
typename ServiceCollectionT = ServiceCollection>
120 void SetServiceCollection(ServiceCollectionT&& value) { m_serviceCollectionHasBeenSet =
true; m_serviceCollection = std::forward<ServiceCollectionT>(value); }
121 template<
typename ServiceCollectionT = ServiceCollection>
132 template<
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
133 void SetAssociatedResourceArns(AssociatedResourceArnsT&& value) { m_associatedResourceArnsHasBeenSet =
true; m_associatedResourceArns = std::forward<AssociatedResourceArnsT>(value); }
134 template<
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
136 template<
typename AssociatedResourceArnsT = Aws::String>
142 bool m_idHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_severityHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
153 InsightTimeRange m_insightTimeRange;
154 bool m_insightTimeRangeHasBeenSet =
false;
156 ResourceCollection m_resourceCollection;
157 bool m_resourceCollectionHasBeenSet =
false;
159 ServiceCollection m_serviceCollection;
160 bool m_serviceCollectionHasBeenSet =
false;
163 bool m_associatedResourceArnsHasBeenSet =
false;
const Aws::String & GetId() const
bool ServiceCollectionHasBeenSet() const
ReactiveInsightSummary & WithId(IdT &&value)
bool ResourceCollectionHasBeenSet() const
bool NameHasBeenSet() const
ReactiveInsightSummary & WithAssociatedResourceArns(AssociatedResourceArnsT &&value)
const InsightTimeRange & GetInsightTimeRange() const
void SetResourceCollection(ResourceCollectionT &&value)
bool IdHasBeenSet() const
AWS_DEVOPSGURU_API ReactiveInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsightSummary & WithStatus(InsightStatus value)
void SetStatus(InsightStatus value)
ReactiveInsightSummary & WithSeverity(InsightSeverity value)
InsightSeverity GetSeverity() const
bool SeverityHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&value)
AWS_DEVOPSGURU_API ReactiveInsightSummary(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsightSummary & WithResourceCollection(ResourceCollectionT &&value)
bool InsightTimeRangeHasBeenSet() const
ReactiveInsightSummary & WithInsightTimeRange(InsightTimeRangeT &&value)
void SetServiceCollection(ServiceCollectionT &&value)
void SetSeverity(InsightSeverity value)
ReactiveInsightSummary & AddAssociatedResourceArns(AssociatedResourceArnsT &&value)
const ResourceCollection & GetResourceCollection() const
const Aws::Vector< Aws::String > & GetAssociatedResourceArns() const
InsightStatus GetStatus() const
AWS_DEVOPSGURU_API ReactiveInsightSummary()=default
void SetAssociatedResourceArns(AssociatedResourceArnsT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInsightTimeRange(InsightTimeRangeT &&value)
bool StatusHasBeenSet() const
const ServiceCollection & GetServiceCollection() const
bool AssociatedResourceArnsHasBeenSet() const
ReactiveInsightSummary & WithServiceCollection(ServiceCollectionT &&value)
ReactiveInsightSummary & WithName(NameT &&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