7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.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>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
85 m_severityHasBeenSet =
true;
101 m_statusHasBeenSet =
true;
114 template <
typename InsightTimeRangeT = InsightTimeRange>
116 m_insightTimeRangeHasBeenSet =
true;
117 m_insightTimeRange = std::forward<InsightTimeRangeT>(value);
119 template <
typename InsightTimeRangeT = InsightTimeRange>
130 template <
typename PredictionTimeRangeT = PredictionTimeRange>
132 m_predictionTimeRangeHasBeenSet =
true;
133 m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value);
135 template <
typename PredictionTimeRangeT = PredictionTimeRange>
146 template <
typename ResourceCollectionT = ResourceCollection>
148 m_resourceCollectionHasBeenSet =
true;
149 m_resourceCollection = std::forward<ResourceCollectionT>(value);
151 template <
typename ResourceCollectionT = ResourceCollection>
166 template <
typename SsmOpsItemIdT = Aws::String>
168 m_ssmOpsItemIdHasBeenSet =
true;
169 m_ssmOpsItemId = std::forward<SsmOpsItemIdT>(value);
171 template <
typename SsmOpsItemIdT = Aws::String>
184 template <
typename DescriptionT = Aws::String>
186 m_descriptionHasBeenSet =
true;
187 m_description = std::forward<DescriptionT>(value);
189 template <
typename DescriptionT = Aws::String>
204 InsightTimeRange m_insightTimeRange;
206 PredictionTimeRange m_predictionTimeRange;
208 ResourceCollection m_resourceCollection;
213 bool m_idHasBeenSet =
false;
214 bool m_nameHasBeenSet =
false;
215 bool m_severityHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
217 bool m_insightTimeRangeHasBeenSet =
false;
218 bool m_predictionTimeRangeHasBeenSet =
false;
219 bool m_resourceCollectionHasBeenSet =
false;
220 bool m_ssmOpsItemIdHasBeenSet =
false;
221 bool m_descriptionHasBeenSet =
false;
AWS_DEVOPSGURU_API ProactiveInsight()=default
AWS_DEVOPSGURU_API ProactiveInsight(Aws::Utils::Json::JsonView jsonValue)
ProactiveInsight & WithStatus(InsightStatus value)
ProactiveInsight & WithSeverity(InsightSeverity value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceCollection(ResourceCollectionT &&value)
bool IdHasBeenSet() const
bool DescriptionHasBeenSet() const
bool SsmOpsItemIdHasBeenSet() const
ProactiveInsight & WithDescription(DescriptionT &&value)
ProactiveInsight & WithSsmOpsItemId(SsmOpsItemIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetSsmOpsItemId() const
const Aws::String & GetDescription() const
const ResourceCollection & GetResourceCollection() const
InsightSeverity GetSeverity() const
ProactiveInsight & WithPredictionTimeRange(PredictionTimeRangeT &&value)
void SetSeverity(InsightSeverity value)
void SetSsmOpsItemId(SsmOpsItemIdT &&value)
AWS_DEVOPSGURU_API ProactiveInsight & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InsightTimeRangeHasBeenSet() const
bool SeverityHasBeenSet() const
void SetInsightTimeRange(InsightTimeRangeT &&value)
void SetDescription(DescriptionT &&value)
bool ResourceCollectionHasBeenSet() const
bool NameHasBeenSet() const
const PredictionTimeRange & GetPredictionTimeRange() const
InsightStatus GetStatus() const
void SetStatus(InsightStatus value)
void SetPredictionTimeRange(PredictionTimeRangeT &&value)
const InsightTimeRange & GetInsightTimeRange() const
ProactiveInsight & WithResourceCollection(ResourceCollectionT &&value)
void SetName(NameT &&value)
ProactiveInsight & WithInsightTimeRange(InsightTimeRangeT &&value)
ProactiveInsight & WithName(NameT &&value)
const Aws::String & GetId() const
ProactiveInsight & WithId(IdT &&value)
bool PredictionTimeRangeHasBeenSet() const
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue