7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/model/RecommendationRelatedEvent.h>
11#include <aws/devops-guru/model/RecommendationRelatedAnomaly.h>
50 template<
typename DescriptionT = Aws::String>
51 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
52 template<
typename DescriptionT = Aws::String>
62 template<
typename LinkT = Aws::String>
63 void SetLink(LinkT&& value) { m_linkHasBeenSet =
true; m_link = std::forward<LinkT>(value); }
64 template<
typename LinkT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
86 template<
typename ReasonT = Aws::String>
87 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
88 template<
typename ReasonT = Aws::String>
99 template<
typename RelatedEventsT = Aws::Vector<RecommendationRelatedEvent>>
100 void SetRelatedEvents(RelatedEventsT&& value) { m_relatedEventsHasBeenSet =
true; m_relatedEvents = std::forward<RelatedEventsT>(value); }
101 template<
typename RelatedEventsT = Aws::Vector<RecommendationRelatedEvent>>
103 template<
typename RelatedEventsT = RecommendationRelatedEvent>
104 Recommendation&
AddRelatedEvents(RelatedEventsT&& value) { m_relatedEventsHasBeenSet =
true; m_relatedEvents.emplace_back(std::forward<RelatedEventsT>(value));
return *
this; }
114 template<
typename RelatedAnomaliesT = Aws::Vector<RecommendationRelatedAnomaly>>
115 void SetRelatedAnomalies(RelatedAnomaliesT&& value) { m_relatedAnomaliesHasBeenSet =
true; m_relatedAnomalies = std::forward<RelatedAnomaliesT>(value); }
116 template<
typename RelatedAnomaliesT = Aws::Vector<RecommendationRelatedAnomaly>>
118 template<
typename RelatedAnomaliesT = RecommendationRelatedAnomaly>
119 Recommendation&
AddRelatedAnomalies(RelatedAnomaliesT&& value) { m_relatedAnomaliesHasBeenSet =
true; m_relatedAnomalies.emplace_back(std::forward<RelatedAnomaliesT>(value));
return *
this; }
128 template<
typename CategoryT = Aws::String>
129 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet =
true; m_category = std::forward<CategoryT>(value); }
130 template<
typename CategoryT = Aws::String>
136 bool m_descriptionHasBeenSet =
false;
139 bool m_linkHasBeenSet =
false;
142 bool m_nameHasBeenSet =
false;
145 bool m_reasonHasBeenSet =
false;
148 bool m_relatedEventsHasBeenSet =
false;
151 bool m_relatedAnomaliesHasBeenSet =
false;
154 bool m_categoryHasBeenSet =
false;
AWS_DEVOPSGURU_API Recommendation()=default
const Aws::String & GetLink() const
const Aws::String & GetCategory() const
void SetName(NameT &&value)
const Aws::Vector< RecommendationRelatedEvent > & GetRelatedEvents() const
bool ReasonHasBeenSet() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
bool RelatedAnomaliesHasBeenSet() const
Recommendation & WithDescription(DescriptionT &&value)
Recommendation & AddRelatedEvents(RelatedEventsT &&value)
Recommendation & WithLink(LinkT &&value)
Recommendation & WithReason(ReasonT &&value)
bool NameHasBeenSet() const
AWS_DEVOPSGURU_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReason() const
Recommendation & WithRelatedEvents(RelatedEventsT &&value)
void SetReason(ReasonT &&value)
void SetRelatedAnomalies(RelatedAnomaliesT &&value)
Recommendation & WithRelatedAnomalies(RelatedAnomaliesT &&value)
void SetRelatedEvents(RelatedEventsT &&value)
Recommendation & WithCategory(CategoryT &&value)
const Aws::String & GetDescription() const
bool CategoryHasBeenSet() const
const Aws::Vector< RecommendationRelatedAnomaly > & GetRelatedAnomalies() const
Recommendation & WithName(NameT &&value)
void SetLink(LinkT &&value)
bool LinkHasBeenSet() const
AWS_DEVOPSGURU_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCategory(CategoryT &&value)
bool DescriptionHasBeenSet() const
bool RelatedEventsHasBeenSet() const
Recommendation & AddRelatedAnomalies(RelatedAnomaliesT &&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