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>
52 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
66 inline void SetLink(
const char* value) { m_linkHasBeenSet =
true; m_link.assign(value); }
80 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
94 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
138 inline void SetCategory(
const char* value) { m_categoryHasBeenSet =
true; m_category.assign(value); }
146 bool m_descriptionHasBeenSet =
false;
149 bool m_linkHasBeenSet =
false;
152 bool m_nameHasBeenSet =
false;
155 bool m_reasonHasBeenSet =
false;
158 bool m_relatedEventsHasBeenSet =
false;
161 bool m_relatedAnomaliesHasBeenSet =
false;
164 bool m_categoryHasBeenSet =
false;
Recommendation & WithLink(const char *value)
void SetName(const char *value)
Recommendation & AddRelatedEvents(RecommendationRelatedEvent &&value)
AWS_DEVOPSGURU_API Recommendation()
Recommendation & WithDescription(const char *value)
Recommendation & WithReason(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetLink() const
const Aws::String & GetCategory() const
Recommendation & WithRelatedEvents(const Aws::Vector< RecommendationRelatedEvent > &value)
const Aws::Vector< RecommendationRelatedEvent > & GetRelatedEvents() const
bool ReasonHasBeenSet() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
Recommendation & AddRelatedAnomalies(const RecommendationRelatedAnomaly &value)
void SetReason(const Aws::String &value)
const Aws::String & GetName() const
Recommendation & WithDescription(const Aws::String &value)
void SetLink(const Aws::String &value)
void SetLink(Aws::String &&value)
void SetDescription(const Aws::String &value)
Recommendation & WithLink(Aws::String &&value)
bool RelatedAnomaliesHasBeenSet() const
void SetRelatedEvents(Aws::Vector< RecommendationRelatedEvent > &&value)
Recommendation & AddRelatedAnomalies(RecommendationRelatedAnomaly &&value)
Recommendation & WithRelatedEvents(Aws::Vector< RecommendationRelatedEvent > &&value)
Recommendation & WithReason(Aws::String &&value)
bool NameHasBeenSet() const
AWS_DEVOPSGURU_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithName(Aws::String &&value)
const Aws::String & GetReason() const
Recommendation & WithLink(const Aws::String &value)
void SetCategory(const char *value)
void SetReason(Aws::String &&value)
Recommendation & WithName(const char *value)
void SetRelatedAnomalies(const Aws::Vector< RecommendationRelatedAnomaly > &value)
Recommendation & WithCategory(const Aws::String &value)
const Aws::String & GetDescription() const
bool CategoryHasBeenSet() const
void SetCategory(const Aws::String &value)
const Aws::Vector< RecommendationRelatedAnomaly > & GetRelatedAnomalies() const
Recommendation & WithCategory(Aws::String &&value)
void SetRelatedEvents(const Aws::Vector< RecommendationRelatedEvent > &value)
void SetLink(const char *value)
Recommendation & WithRelatedAnomalies(Aws::Vector< RecommendationRelatedAnomaly > &&value)
void SetDescription(Aws::String &&value)
Recommendation & WithRelatedAnomalies(const Aws::Vector< RecommendationRelatedAnomaly > &value)
Recommendation & WithCategory(const char *value)
void SetRelatedAnomalies(Aws::Vector< RecommendationRelatedAnomaly > &&value)
void SetName(const Aws::String &value)
bool LinkHasBeenSet() const
void SetDescription(const char *value)
AWS_DEVOPSGURU_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithName(const Aws::String &value)
void SetReason(const char *value)
Recommendation & AddRelatedEvents(const RecommendationRelatedEvent &value)
Recommendation & WithReason(const char *value)
void SetCategory(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool RelatedEventsHasBeenSet() const
Recommendation & WithDescription(Aws::String &&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