7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10#include <aws/resiliencehub/model/AlarmType.h>
11#include <aws/resiliencehub/model/RecommendationItem.h>
12#include <aws/resiliencehub/model/RecommendationStatus.h>
23namespace ResilienceHub {
46 template <
typename AppComponentNamesT = Aws::Vector<Aws::String>>
48 m_appComponentNamesHasBeenSet =
true;
49 m_appComponentNames = std::forward<AppComponentNamesT>(value);
51 template <
typename AppComponentNamesT = Aws::Vector<Aws::String>>
56 template <
typename AppComponentNamesT = Aws::String>
58 m_appComponentNamesHasBeenSet =
true;
59 m_appComponentNames.emplace_back(std::forward<AppComponentNamesT>(value));
70 template <
typename DescriptionT = Aws::String>
72 m_descriptionHasBeenSet =
true;
73 m_description = std::forward<DescriptionT>(value);
75 template <
typename DescriptionT = Aws::String>
88 template <
typename ItemsT = Aws::Vector<RecommendationItem>>
90 m_itemsHasBeenSet =
true;
91 m_items = std::forward<ItemsT>(value);
93 template <
typename ItemsT = Aws::Vector<RecommendationItem>>
95 SetItems(std::forward<ItemsT>(value));
98 template <
typename ItemsT = RecommendationItem>
100 m_itemsHasBeenSet =
true;
101 m_items.emplace_back(std::forward<ItemsT>(value));
112 template <
typename NameT = Aws::String>
114 m_nameHasBeenSet =
true;
115 m_name = std::forward<NameT>(value);
117 template <
typename NameT = Aws::String>
119 SetName(std::forward<NameT>(value));
130 template <
typename PrerequisiteT = Aws::String>
132 m_prerequisiteHasBeenSet =
true;
133 m_prerequisite = std::forward<PrerequisiteT>(value);
135 template <
typename PrerequisiteT = Aws::String>
148 template <
typename RecommendationIdT = Aws::String>
150 m_recommendationIdHasBeenSet =
true;
151 m_recommendationId = std::forward<RecommendationIdT>(value);
153 template <
typename RecommendationIdT = Aws::String>
167 m_recommendationStatusHasBeenSet =
true;
168 m_recommendationStatus = value;
182 template <
typename ReferenceIdT = Aws::String>
184 m_referenceIdHasBeenSet =
true;
185 m_referenceId = std::forward<ReferenceIdT>(value);
187 template <
typename ReferenceIdT = Aws::String>
201 m_typeHasBeenSet =
true;
227 bool m_appComponentNamesHasBeenSet =
false;
228 bool m_descriptionHasBeenSet =
false;
229 bool m_itemsHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
231 bool m_prerequisiteHasBeenSet =
false;
232 bool m_recommendationIdHasBeenSet =
false;
233 bool m_recommendationStatusHasBeenSet =
false;
234 bool m_referenceIdHasBeenSet =
false;
235 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