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/RecommendationItem.h>
11#include <aws/resiliencehub/model/RecommendationStatus.h>
12#include <aws/resiliencehub/model/SopServiceType.h>
23namespace ResilienceHub {
45 template <
typename AppComponentNameT = Aws::String>
47 m_appComponentNameHasBeenSet =
true;
48 m_appComponentName = std::forward<AppComponentNameT>(value);
50 template <
typename AppComponentNameT = Aws::String>
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
81 template <
typename ItemsT = Aws::Vector<RecommendationItem>>
83 m_itemsHasBeenSet =
true;
84 m_items = std::forward<ItemsT>(value);
86 template <
typename ItemsT = Aws::Vector<RecommendationItem>>
88 SetItems(std::forward<ItemsT>(value));
91 template <
typename ItemsT = RecommendationItem>
93 m_itemsHasBeenSet =
true;
94 m_items.emplace_back(std::forward<ItemsT>(value));
105 template <
typename NameT = Aws::String>
107 m_nameHasBeenSet =
true;
108 m_name = std::forward<NameT>(value);
110 template <
typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
123 template <
typename PrerequisiteT = Aws::String>
125 m_prerequisiteHasBeenSet =
true;
126 m_prerequisite = std::forward<PrerequisiteT>(value);
128 template <
typename PrerequisiteT = Aws::String>
141 template <
typename RecommendationIdT = Aws::String>
143 m_recommendationIdHasBeenSet =
true;
144 m_recommendationId = std::forward<RecommendationIdT>(value);
146 template <
typename RecommendationIdT = Aws::String>
160 m_recommendationStatusHasBeenSet =
true;
161 m_recommendationStatus = value;
175 template <
typename ReferenceIdT = Aws::String>
177 m_referenceIdHasBeenSet =
true;
178 m_referenceId = std::forward<ReferenceIdT>(value);
180 template <
typename ReferenceIdT = Aws::String>
194 m_serviceTypeHasBeenSet =
true;
195 m_serviceType = value;
220 bool m_appComponentNameHasBeenSet =
false;
221 bool m_descriptionHasBeenSet =
false;
222 bool m_itemsHasBeenSet =
false;
223 bool m_nameHasBeenSet =
false;
224 bool m_prerequisiteHasBeenSet =
false;
225 bool m_recommendationIdHasBeenSet =
false;
226 bool m_recommendationStatusHasBeenSet =
false;
227 bool m_referenceIdHasBeenSet =
false;
228 bool m_serviceTypeHasBeenSet =
false;
bool ReferenceIdHasBeenSet() const
const Aws::String & GetPrerequisite() const
const Aws::Vector< RecommendationItem > & GetItems() const
void SetServiceType(SopServiceType value)
void SetDescription(DescriptionT &&value)
AWS_RESILIENCEHUB_API SopRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API SopRecommendation()=default
void SetAppComponentName(AppComponentNameT &&value)
const Aws::String & GetAppComponentName() const
SopRecommendation & WithServiceType(SopServiceType value)
void SetRecommendationId(RecommendationIdT &&value)
RecommendationStatus GetRecommendationStatus() const
SopRecommendation & WithReferenceId(ReferenceIdT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecommendationStatusHasBeenSet() const
SopServiceType GetServiceType() const
SopRecommendation & WithRecommendationId(RecommendationIdT &&value)
bool NameHasBeenSet() const
void SetPrerequisite(PrerequisiteT &&value)
bool PrerequisiteHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetRecommendationId() const
SopRecommendation & WithAppComponentName(AppComponentNameT &&value)
SopRecommendation & WithDescription(DescriptionT &&value)
void SetItems(ItemsT &&value)
bool ItemsHasBeenSet() const
void SetRecommendationStatus(RecommendationStatus value)
bool ServiceTypeHasBeenSet() const
bool RecommendationIdHasBeenSet() const
SopRecommendation & AddItems(ItemsT &&value)
SopRecommendation & WithPrerequisite(PrerequisiteT &&value)
SopRecommendation & WithName(NameT &&value)
bool AppComponentNameHasBeenSet() const
SopRecommendation & WithRecommendationStatus(RecommendationStatus value)
const Aws::String & GetReferenceId() const
AWS_RESILIENCEHUB_API SopRecommendation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetReferenceId(ReferenceIdT &&value)
const Aws::String & GetName() const
SopRecommendation & WithItems(ItemsT &&value)
void SetName(NameT &&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