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/RecommendationRelatedAnomaly.h>
11#include <aws/devops-guru/model/RecommendationRelatedEvent.h>
44 template <
typename DescriptionT = Aws::String>
46 m_descriptionHasBeenSet =
true;
47 m_description = std::forward<DescriptionT>(value);
49 template <
typename DescriptionT = Aws::String>
62 template <
typename LinkT = Aws::String>
64 m_linkHasBeenSet =
true;
65 m_link = std::forward<LinkT>(value);
67 template <
typename LinkT = Aws::String>
69 SetLink(std::forward<LinkT>(value));
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
98 template <
typename ReasonT = Aws::String>
100 m_reasonHasBeenSet =
true;
101 m_reason = std::forward<ReasonT>(value);
103 template <
typename ReasonT = Aws::String>
117 template <
typename RelatedEventsT = Aws::Vector<RecommendationRelatedEvent>>
119 m_relatedEventsHasBeenSet =
true;
120 m_relatedEvents = std::forward<RelatedEventsT>(value);
122 template <
typename RelatedEventsT = Aws::Vector<RecommendationRelatedEvent>>
127 template <
typename RelatedEventsT = RecommendationRelatedEvent>
129 m_relatedEventsHasBeenSet =
true;
130 m_relatedEvents.emplace_back(std::forward<RelatedEventsT>(value));
142 template <
typename RelatedAnomaliesT = Aws::Vector<RecommendationRelatedAnomaly>>
144 m_relatedAnomaliesHasBeenSet =
true;
145 m_relatedAnomalies = std::forward<RelatedAnomaliesT>(value);
147 template <
typename RelatedAnomaliesT = Aws::Vector<RecommendationRelatedAnomaly>>
152 template <
typename RelatedAnomaliesT = RecommendationRelatedAnomaly>
154 m_relatedAnomaliesHasBeenSet =
true;
155 m_relatedAnomalies.emplace_back(std::forward<RelatedAnomaliesT>(value));
166 template <
typename CategoryT = Aws::String>
168 m_categoryHasBeenSet =
true;
169 m_category = std::forward<CategoryT>(value);
171 template <
typename CategoryT = Aws::String>
191 bool m_descriptionHasBeenSet =
false;
192 bool m_linkHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
194 bool m_reasonHasBeenSet =
false;
195 bool m_relatedEventsHasBeenSet =
false;
196 bool m_relatedAnomaliesHasBeenSet =
false;
197 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