7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehub/model/RecommendationStatus.h>
11#include <aws/resiliencehub/model/AlarmType.h>
12#include <aws/resiliencehub/model/RecommendationItem.h>
25namespace ResilienceHub
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
97 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 inline void SetPrerequisite(
const char* value) { m_prerequisiteHasBeenSet =
true; m_prerequisite.assign(value); }
125 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
151 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
164 inline void SetType(
AlarmType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
171 bool m_appComponentNamesHasBeenSet =
false;
174 bool m_descriptionHasBeenSet =
false;
177 bool m_itemsHasBeenSet =
false;
180 bool m_nameHasBeenSet =
false;
183 bool m_prerequisiteHasBeenSet =
false;
186 bool m_recommendationIdHasBeenSet =
false;
189 bool m_recommendationStatusHasBeenSet =
false;
192 bool m_referenceIdHasBeenSet =
false;
195 bool m_typeHasBeenSet =
false;
void SetName(const char *value)
AlarmRecommendation & WithName(const char *value)
void SetRecommendationId(const char *value)
AlarmRecommendation & WithName(const Aws::String &value)
void SetPrerequisite(const char *value)
AlarmRecommendation & WithRecommendationId(const char *value)
bool PrerequisiteHasBeenSet() const
bool NameHasBeenSet() const
AlarmRecommendation & WithName(Aws::String &&value)
void SetRecommendationId(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetPrerequisite() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAppComponentNames(const Aws::Vector< Aws::String > &value)
AWS_RESILIENCEHUB_API AlarmRecommendation()
AlarmRecommendation & WithRecommendationStatus(const RecommendationStatus &value)
const Aws::String & GetDescription() const
AlarmRecommendation & AddAppComponentNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAppComponentNames() const
const RecommendationStatus & GetRecommendationStatus() const
AlarmRecommendation & WithReferenceId(const char *value)
AlarmRecommendation & WithItems(Aws::Vector< RecommendationItem > &&value)
AlarmRecommendation & WithRecommendationStatus(RecommendationStatus &&value)
void SetType(const AlarmType &value)
void SetDescription(const char *value)
void SetName(Aws::String &&value)
AlarmRecommendation & WithAppComponentNames(const Aws::Vector< Aws::String > &value)
AlarmRecommendation & WithPrerequisite(Aws::String &&value)
bool TypeHasBeenSet() const
void SetItems(Aws::Vector< RecommendationItem > &&value)
AlarmRecommendation & AddAppComponentNames(const char *value)
AlarmRecommendation & WithPrerequisite(const Aws::String &value)
AlarmRecommendation & AddItems(const RecommendationItem &value)
void SetReferenceId(const Aws::String &value)
AlarmRecommendation & WithDescription(Aws::String &&value)
AlarmRecommendation & WithPrerequisite(const char *value)
void SetAppComponentNames(Aws::Vector< Aws::String > &&value)
void SetRecommendationId(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetRecommendationId() const
bool ReferenceIdHasBeenSet() const
AlarmRecommendation & WithAppComponentNames(Aws::Vector< Aws::String > &&value)
AlarmRecommendation & AddItems(RecommendationItem &&value)
AlarmRecommendation & WithType(AlarmType &&value)
AlarmRecommendation & WithRecommendationId(Aws::String &&value)
AlarmRecommendation & WithReferenceId(Aws::String &&value)
const Aws::Vector< RecommendationItem > & GetItems() const
void SetReferenceId(const char *value)
AlarmRecommendation & WithRecommendationId(const Aws::String &value)
bool RecommendationIdHasBeenSet() const
void SetItems(const Aws::Vector< RecommendationItem > &value)
AWS_RESILIENCEHUB_API AlarmRecommendation(Aws::Utils::Json::JsonView jsonValue)
bool RecommendationStatusHasBeenSet() const
AlarmRecommendation & WithReferenceId(const Aws::String &value)
void SetRecommendationStatus(const RecommendationStatus &value)
const AlarmType & GetType() const
AWS_RESILIENCEHUB_API AlarmRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrerequisite(const Aws::String &value)
AlarmRecommendation & WithDescription(const char *value)
AlarmRecommendation & AddAppComponentNames(Aws::String &&value)
void SetPrerequisite(Aws::String &&value)
const Aws::String & GetReferenceId() const
void SetReferenceId(Aws::String &&value)
bool ItemsHasBeenSet() const
void SetRecommendationStatus(RecommendationStatus &&value)
void SetDescription(const Aws::String &value)
AlarmRecommendation & WithDescription(const Aws::String &value)
AlarmRecommendation & WithItems(const Aws::Vector< RecommendationItem > &value)
const Aws::String & GetName() const
AlarmRecommendation & WithType(const AlarmType &value)
bool DescriptionHasBeenSet() const
void SetType(AlarmType &&value)
bool AppComponentNamesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue