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/PredictionTimeRange.h>
13#include <aws/devops-guru/model/ResourceCollection.h>
14#include <aws/devops-guru/model/ServiceCollection.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
98 template<
typename InsightTimeRangeT = InsightTimeRange>
99 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet =
true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
100 template<
typename InsightTimeRangeT = InsightTimeRange>
108 template<
typename PredictionTimeRangeT = PredictionTimeRange>
109 void SetPredictionTimeRange(PredictionTimeRangeT&& value) { m_predictionTimeRangeHasBeenSet =
true; m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value); }
110 template<
typename PredictionTimeRangeT = PredictionTimeRange>
118 template<
typename ResourceCollectionT = ResourceCollection>
119 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet =
true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
120 template<
typename ResourceCollectionT = ResourceCollection>
130 template<
typename ServiceCollectionT = ServiceCollection>
131 void SetServiceCollection(ServiceCollectionT&& value) { m_serviceCollectionHasBeenSet =
true; m_serviceCollection = std::forward<ServiceCollectionT>(value); }
132 template<
typename ServiceCollectionT = ServiceCollection>
143 template<
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
144 void SetAssociatedResourceArns(AssociatedResourceArnsT&& value) { m_associatedResourceArnsHasBeenSet =
true; m_associatedResourceArns = std::forward<AssociatedResourceArnsT>(value); }
145 template<
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
147 template<
typename AssociatedResourceArnsT = Aws::String>
153 bool m_idHasBeenSet =
false;
156 bool m_nameHasBeenSet =
false;
159 bool m_severityHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
164 InsightTimeRange m_insightTimeRange;
165 bool m_insightTimeRangeHasBeenSet =
false;
167 PredictionTimeRange m_predictionTimeRange;
168 bool m_predictionTimeRangeHasBeenSet =
false;
170 ResourceCollection m_resourceCollection;
171 bool m_resourceCollectionHasBeenSet =
false;
173 ServiceCollection m_serviceCollection;
174 bool m_serviceCollectionHasBeenSet =
false;
177 bool m_associatedResourceArnsHasBeenSet =
false;
ProactiveInsightSummary & WithResourceCollection(ResourceCollectionT &&value)
bool InsightTimeRangeHasBeenSet() const
const InsightTimeRange & GetInsightTimeRange() const
ProactiveInsightSummary & WithAssociatedResourceArns(AssociatedResourceArnsT &&value)
void SetName(NameT &&value)
AWS_DEVOPSGURU_API ProactiveInsightSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
bool AssociatedResourceArnsHasBeenSet() const
void SetResourceCollection(ResourceCollectionT &&value)
ProactiveInsightSummary & WithSeverity(InsightSeverity value)
ProactiveInsightSummary & WithPredictionTimeRange(PredictionTimeRangeT &&value)
ProactiveInsightSummary & AddAssociatedResourceArns(AssociatedResourceArnsT &&value)
InsightStatus GetStatus() const
ProactiveInsightSummary & WithName(NameT &&value)
bool SeverityHasBeenSet() const
void SetServiceCollection(ServiceCollectionT &&value)
void SetInsightTimeRange(InsightTimeRangeT &&value)
bool ServiceCollectionHasBeenSet() const
bool NameHasBeenSet() const
ProactiveInsightSummary & WithId(IdT &&value)
void SetStatus(InsightStatus value)
const Aws::String & GetName() const
const PredictionTimeRange & GetPredictionTimeRange() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
bool PredictionTimeRangeHasBeenSet() const
bool IdHasBeenSet() const
void SetSeverity(InsightSeverity value)
void SetAssociatedResourceArns(AssociatedResourceArnsT &&value)
InsightSeverity GetSeverity() const
const Aws::Vector< Aws::String > & GetAssociatedResourceArns() const
bool ResourceCollectionHasBeenSet() const
ProactiveInsightSummary & WithInsightTimeRange(InsightTimeRangeT &&value)
const ServiceCollection & GetServiceCollection() const
void SetPredictionTimeRange(PredictionTimeRangeT &&value)
const ResourceCollection & GetResourceCollection() const
AWS_DEVOPSGURU_API ProactiveInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
AWS_DEVOPSGURU_API ProactiveInsightSummary()=default
ProactiveInsightSummary & WithServiceCollection(ServiceCollectionT &&value)
ProactiveInsightSummary & WithStatus(InsightStatus 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