7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/InsightSeverity.h>
11#include <aws/devops-guru/model/InsightStatus.h>
12#include <aws/devops-guru/model/InsightTimeRange.h>
13#include <aws/devops-guru/model/ResourceCollection.h>
14#include <aws/devops-guru/model/ServiceCollection.h>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
86 m_severityHasBeenSet =
true;
102 m_statusHasBeenSet =
true;
115 template <
typename InsightTimeRangeT = InsightTimeRange>
117 m_insightTimeRangeHasBeenSet =
true;
118 m_insightTimeRange = std::forward<InsightTimeRangeT>(value);
120 template <
typename InsightTimeRangeT = InsightTimeRange>
131 template <
typename ResourceCollectionT = ResourceCollection>
133 m_resourceCollectionHasBeenSet =
true;
134 m_resourceCollection = std::forward<ResourceCollectionT>(value);
136 template <
typename ResourceCollectionT = ResourceCollection>
149 template <
typename ServiceCollectionT = ServiceCollection>
151 m_serviceCollectionHasBeenSet =
true;
152 m_serviceCollection = std::forward<ServiceCollectionT>(value);
154 template <
typename ServiceCollectionT = ServiceCollection>
168 template <
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
170 m_associatedResourceArnsHasBeenSet =
true;
171 m_associatedResourceArns = std::forward<AssociatedResourceArnsT>(value);
173 template <
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
178 template <
typename AssociatedResourceArnsT = Aws::String>
180 m_associatedResourceArnsHasBeenSet =
true;
181 m_associatedResourceArns.emplace_back(std::forward<AssociatedResourceArnsT>(value));
194 InsightTimeRange m_insightTimeRange;
196 ResourceCollection m_resourceCollection;
198 ServiceCollection m_serviceCollection;
201 bool m_idHasBeenSet =
false;
202 bool m_nameHasBeenSet =
false;
203 bool m_severityHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
205 bool m_insightTimeRangeHasBeenSet =
false;
206 bool m_resourceCollectionHasBeenSet =
false;
207 bool m_serviceCollectionHasBeenSet =
false;
208 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