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/PredictionTimeRange.h>
14#include <aws/devops-guru/model/ResourceCollection.h>
15#include <aws/devops-guru/model/ServiceCollection.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
87 m_severityHasBeenSet =
true;
103 m_statusHasBeenSet =
true;
116 template <
typename InsightTimeRangeT = InsightTimeRange>
118 m_insightTimeRangeHasBeenSet =
true;
119 m_insightTimeRange = std::forward<InsightTimeRangeT>(value);
121 template <
typename InsightTimeRangeT = InsightTimeRange>
132 template <
typename PredictionTimeRangeT = PredictionTimeRange>
134 m_predictionTimeRangeHasBeenSet =
true;
135 m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value);
137 template <
typename PredictionTimeRangeT = PredictionTimeRange>
148 template <
typename ResourceCollectionT = ResourceCollection>
150 m_resourceCollectionHasBeenSet =
true;
151 m_resourceCollection = std::forward<ResourceCollectionT>(value);
153 template <
typename ResourceCollectionT = ResourceCollection>
166 template <
typename ServiceCollectionT = ServiceCollection>
168 m_serviceCollectionHasBeenSet =
true;
169 m_serviceCollection = std::forward<ServiceCollectionT>(value);
171 template <
typename ServiceCollectionT = ServiceCollection>
185 template <
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
187 m_associatedResourceArnsHasBeenSet =
true;
188 m_associatedResourceArns = std::forward<AssociatedResourceArnsT>(value);
190 template <
typename AssociatedResourceArnsT = Aws::Vector<Aws::String>>
195 template <
typename AssociatedResourceArnsT = Aws::String>
197 m_associatedResourceArnsHasBeenSet =
true;
198 m_associatedResourceArns.emplace_back(std::forward<AssociatedResourceArnsT>(value));
211 InsightTimeRange m_insightTimeRange;
213 PredictionTimeRange m_predictionTimeRange;
215 ResourceCollection m_resourceCollection;
217 ServiceCollection m_serviceCollection;
220 bool m_idHasBeenSet =
false;
221 bool m_nameHasBeenSet =
false;
222 bool m_severityHasBeenSet =
false;
223 bool m_statusHasBeenSet =
false;
224 bool m_insightTimeRangeHasBeenSet =
false;
225 bool m_predictionTimeRangeHasBeenSet =
false;
226 bool m_resourceCollectionHasBeenSet =
false;
227 bool m_serviceCollectionHasBeenSet =
false;
228 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