7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/model/RecommendationStatus.h>
11#include <aws/resiliencehub/model/SopServiceType.h>
12#include <aws/resiliencehub/model/RecommendationItem.h>
25namespace ResilienceHub
51 template<
typename AppComponentNameT = Aws::String>
52 void SetAppComponentName(AppComponentNameT&& value) { m_appComponentNameHasBeenSet =
true; m_appComponentName = std::forward<AppComponentNameT>(value); }
53 template<
typename AppComponentNameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename ItemsT = Aws::Vector<RecommendationItem>>
76 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
77 template<
typename ItemsT = Aws::Vector<RecommendationItem>>
79 template<
typename ItemsT = RecommendationItem>
80 SopRecommendation&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
89 template<
typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
91 template<
typename NameT = Aws::String>
101 template<
typename PrerequisiteT = Aws::String>
102 void SetPrerequisite(PrerequisiteT&& value) { m_prerequisiteHasBeenSet =
true; m_prerequisite = std::forward<PrerequisiteT>(value); }
103 template<
typename PrerequisiteT = Aws::String>
113 template<
typename RecommendationIdT = Aws::String>
114 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
115 template<
typename RecommendationIdT = Aws::String>
135 template<
typename ReferenceIdT = Aws::String>
136 void SetReferenceId(ReferenceIdT&& value) { m_referenceIdHasBeenSet =
true; m_referenceId = std::forward<ReferenceIdT>(value); }
137 template<
typename ReferenceIdT = Aws::String>
153 bool m_appComponentNameHasBeenSet =
false;
156 bool m_descriptionHasBeenSet =
false;
159 bool m_itemsHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_prerequisiteHasBeenSet =
false;
168 bool m_recommendationIdHasBeenSet =
false;
171 bool m_recommendationStatusHasBeenSet =
false;
174 bool m_referenceIdHasBeenSet =
false;
177 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