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/ResourceCollection.h>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
95 template<
typename InsightTimeRangeT = InsightTimeRange>
96 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet =
true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
97 template<
typename InsightTimeRangeT = InsightTimeRange>
105 template<
typename ResourceCollectionT = ResourceCollection>
106 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet =
true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
107 template<
typename ResourceCollectionT = ResourceCollection>
119 template<
typename SsmOpsItemIdT = Aws::String>
120 void SetSsmOpsItemId(SsmOpsItemIdT&& value) { m_ssmOpsItemIdHasBeenSet =
true; m_ssmOpsItemId = std::forward<SsmOpsItemIdT>(value); }
121 template<
typename SsmOpsItemIdT = Aws::String>
131 template<
typename DescriptionT = Aws::String>
132 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
133 template<
typename DescriptionT = Aws::String>
139 bool m_idHasBeenSet =
false;
142 bool m_nameHasBeenSet =
false;
145 bool m_severityHasBeenSet =
false;
148 bool m_statusHasBeenSet =
false;
150 InsightTimeRange m_insightTimeRange;
151 bool m_insightTimeRangeHasBeenSet =
false;
153 ResourceCollection m_resourceCollection;
154 bool m_resourceCollectionHasBeenSet =
false;
157 bool m_ssmOpsItemIdHasBeenSet =
false;
160 bool m_descriptionHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
ReactiveInsight & WithId(IdT &&value)
const Aws::String & GetSsmOpsItemId() const
ReactiveInsight & WithInsightTimeRange(InsightTimeRangeT &&value)
AWS_DEVOPSGURU_API ReactiveInsight(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(InsightStatus value)
const Aws::String & GetName() const
bool IdHasBeenSet() const
bool ResourceCollectionHasBeenSet() const
ReactiveInsight & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetSsmOpsItemId(SsmOpsItemIdT &&value)
bool SeverityHasBeenSet() const
bool StatusHasBeenSet() const
bool NameHasBeenSet() const
ReactiveInsight & WithName(NameT &&value)
bool SsmOpsItemIdHasBeenSet() const
InsightSeverity GetSeverity() const
void SetInsightTimeRange(InsightTimeRangeT &&value)
ReactiveInsight & WithSeverity(InsightSeverity value)
const Aws::String & GetDescription() const
const InsightTimeRange & GetInsightTimeRange() const
InsightStatus GetStatus() const
AWS_DEVOPSGURU_API ReactiveInsight()=default
const ResourceCollection & GetResourceCollection() const
ReactiveInsight & WithStatus(InsightStatus value)
AWS_DEVOPSGURU_API ReactiveInsight & operator=(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsight & WithSsmOpsItemId(SsmOpsItemIdT &&value)
void SetSeverity(InsightSeverity value)
void SetResourceCollection(ResourceCollectionT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
ReactiveInsight & WithResourceCollection(ResourceCollectionT &&value)
bool InsightTimeRangeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue