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
52 template<
typename AppComponentNamesT = Aws::Vector<Aws::String>>
53 void SetAppComponentNames(AppComponentNamesT&& value) { m_appComponentNamesHasBeenSet =
true; m_appComponentNames = std::forward<AppComponentNamesT>(value); }
54 template<
typename AppComponentNamesT = Aws::Vector<Aws::String>>
56 template<
typename AppComponentNamesT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
78 template<
typename ItemsT = Aws::Vector<RecommendationItem>>
79 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
80 template<
typename ItemsT = Aws::Vector<RecommendationItem>>
82 template<
typename ItemsT = RecommendationItem>
92 template<
typename NameT = Aws::String>
93 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
94 template<
typename NameT = Aws::String>
104 template<
typename PrerequisiteT = Aws::String>
105 void SetPrerequisite(PrerequisiteT&& value) { m_prerequisiteHasBeenSet =
true; m_prerequisite = std::forward<PrerequisiteT>(value); }
106 template<
typename PrerequisiteT = Aws::String>
116 template<
typename RecommendationIdT = Aws::String>
117 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
118 template<
typename RecommendationIdT = Aws::String>
138 template<
typename ReferenceIdT = Aws::String>
139 void SetReferenceId(ReferenceIdT&& value) { m_referenceIdHasBeenSet =
true; m_referenceId = std::forward<ReferenceIdT>(value); }
140 template<
typename ReferenceIdT = Aws::String>
156 bool m_appComponentNamesHasBeenSet =
false;
159 bool m_descriptionHasBeenSet =
false;
162 bool m_itemsHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
168 bool m_prerequisiteHasBeenSet =
false;
171 bool m_recommendationIdHasBeenSet =
false;
174 bool m_recommendationStatusHasBeenSet =
false;
177 bool m_referenceIdHasBeenSet =
false;
180 bool m_typeHasBeenSet =
false;
void SetRecommendationStatus(RecommendationStatus value)
RecommendationStatus GetRecommendationStatus() const
bool PrerequisiteHasBeenSet() const
bool NameHasBeenSet() const
AlarmRecommendation & WithAppComponentNames(AppComponentNamesT &&value)
const Aws::String & GetPrerequisite() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AlarmRecommendation & AddItems(ItemsT &&value)
void SetItems(ItemsT &&value)
AlarmRecommendation & AddAppComponentNames(AppComponentNamesT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Aws::String > & GetAppComponentNames() const
AlarmRecommendation & WithType(AlarmType value)
AlarmRecommendation & WithRecommendationId(RecommendationIdT &&value)
bool TypeHasBeenSet() const
AlarmRecommendation & WithReferenceId(ReferenceIdT &&value)
AWS_RESILIENCEHUB_API AlarmRecommendation()=default
void SetReferenceId(ReferenceIdT &&value)
AlarmRecommendation & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetPrerequisite(PrerequisiteT &&value)
const Aws::String & GetRecommendationId() const
void SetRecommendationId(RecommendationIdT &&value)
bool ReferenceIdHasBeenSet() const
AlarmRecommendation & WithName(NameT &&value)
AlarmRecommendation & WithItems(ItemsT &&value)
AlarmRecommendation & WithPrerequisite(PrerequisiteT &&value)
AlarmType GetType() const
const Aws::Vector< RecommendationItem > & GetItems() const
bool RecommendationIdHasBeenSet() const
AWS_RESILIENCEHUB_API AlarmRecommendation(Aws::Utils::Json::JsonView jsonValue)
bool RecommendationStatusHasBeenSet() const
AWS_RESILIENCEHUB_API AlarmRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppComponentNames(AppComponentNamesT &&value)
const Aws::String & GetReferenceId() const
bool ItemsHasBeenSet() const
AlarmRecommendation & WithRecommendationStatus(RecommendationStatus value)
void SetName(NameT &&value)
void SetType(AlarmType value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
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