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>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
96 template<
typename InsightTimeRangeT = InsightTimeRange>
97 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet =
true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
98 template<
typename InsightTimeRangeT = InsightTimeRange>
106 template<
typename PredictionTimeRangeT = PredictionTimeRange>
107 void SetPredictionTimeRange(PredictionTimeRangeT&& value) { m_predictionTimeRangeHasBeenSet =
true; m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value); }
108 template<
typename PredictionTimeRangeT = PredictionTimeRange>
116 template<
typename ResourceCollectionT = ResourceCollection>
117 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet =
true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
118 template<
typename ResourceCollectionT = ResourceCollection>
130 template<
typename SsmOpsItemIdT = Aws::String>
131 void SetSsmOpsItemId(SsmOpsItemIdT&& value) { m_ssmOpsItemIdHasBeenSet =
true; m_ssmOpsItemId = std::forward<SsmOpsItemIdT>(value); }
132 template<
typename SsmOpsItemIdT = Aws::String>
142 template<
typename DescriptionT = Aws::String>
143 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
144 template<
typename DescriptionT = Aws::String>
150 bool m_idHasBeenSet =
false;
153 bool m_nameHasBeenSet =
false;
156 bool m_severityHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
161 InsightTimeRange m_insightTimeRange;
162 bool m_insightTimeRangeHasBeenSet =
false;
164 PredictionTimeRange m_predictionTimeRange;
165 bool m_predictionTimeRangeHasBeenSet =
false;
167 ResourceCollection m_resourceCollection;
168 bool m_resourceCollectionHasBeenSet =
false;
171 bool m_ssmOpsItemIdHasBeenSet =
false;
174 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