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/TestRisk.h>
12#include <aws/resiliencehub/model/TestType.h>
13#include <aws/resiliencehub/model/RecommendationItem.h>
26namespace ResilienceHub
51 template<
typename AppComponentIdT = Aws::String>
52 void SetAppComponentId(AppComponentIdT&& value) { m_appComponentIdHasBeenSet =
true; m_appComponentId = std::forward<AppComponentIdT>(value); }
53 template<
typename AppComponentIdT = Aws::String>
63 template<
typename AppComponentNameT = Aws::String>
64 void SetAppComponentName(AppComponentNameT&& value) { m_appComponentNameHasBeenSet =
true; m_appComponentName = std::forward<AppComponentNameT>(value); }
65 template<
typename AppComponentNameT = Aws::String>
76 template<
typename DependsOnAlarmsT = Aws::Vector<Aws::String>>
77 void SetDependsOnAlarms(DependsOnAlarmsT&& value) { m_dependsOnAlarmsHasBeenSet =
true; m_dependsOnAlarms = std::forward<DependsOnAlarmsT>(value); }
78 template<
typename DependsOnAlarmsT = Aws::Vector<Aws::String>>
80 template<
typename DependsOnAlarmsT = Aws::String>
81 TestRecommendation&
AddDependsOnAlarms(DependsOnAlarmsT&& value) { m_dependsOnAlarmsHasBeenSet =
true; m_dependsOnAlarms.emplace_back(std::forward<DependsOnAlarmsT>(value));
return *
this; }
90 template<
typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
92 template<
typename DescriptionT = Aws::String>
102 template<
typename IntentT = Aws::String>
103 void SetIntent(IntentT&& value) { m_intentHasBeenSet =
true; m_intent = std::forward<IntentT>(value); }
104 template<
typename IntentT = Aws::String>
114 template<
typename ItemsT = Aws::Vector<RecommendationItem>>
115 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
116 template<
typename ItemsT = Aws::Vector<RecommendationItem>>
118 template<
typename ItemsT = RecommendationItem>
128 template<
typename NameT = Aws::String>
129 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
130 template<
typename NameT = Aws::String>
140 template<
typename PrerequisiteT = Aws::String>
141 void SetPrerequisite(PrerequisiteT&& value) { m_prerequisiteHasBeenSet =
true; m_prerequisite = std::forward<PrerequisiteT>(value); }
142 template<
typename PrerequisiteT = Aws::String>
152 template<
typename RecommendationIdT = Aws::String>
153 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
154 template<
typename RecommendationIdT = Aws::String>
174 template<
typename ReferenceIdT = Aws::String>
175 void SetReferenceId(ReferenceIdT&& value) { m_referenceIdHasBeenSet =
true; m_referenceId = std::forward<ReferenceIdT>(value); }
176 template<
typename ReferenceIdT = Aws::String>
202 bool m_appComponentIdHasBeenSet =
false;
205 bool m_appComponentNameHasBeenSet =
false;
208 bool m_dependsOnAlarmsHasBeenSet =
false;
211 bool m_descriptionHasBeenSet =
false;
214 bool m_intentHasBeenSet =
false;
217 bool m_itemsHasBeenSet =
false;
220 bool m_nameHasBeenSet =
false;
223 bool m_prerequisiteHasBeenSet =
false;
226 bool m_recommendationIdHasBeenSet =
false;
229 bool m_recommendationStatusHasBeenSet =
false;
232 bool m_referenceIdHasBeenSet =
false;
235 bool m_riskHasBeenSet =
false;
238 bool m_typeHasBeenSet =
false;
TestRecommendation & WithPrerequisite(PrerequisiteT &&value)
bool AppComponentIdHasBeenSet() const
RecommendationStatus GetRecommendationStatus() const
TestRecommendation & WithDependsOnAlarms(DependsOnAlarmsT &&value)
bool RecommendationIdHasBeenSet() const
TestRecommendation & WithItems(ItemsT &&value)
const Aws::String & GetAppComponentName() const
void SetRecommendationId(RecommendationIdT &&value)
const Aws::String & GetReferenceId() const
TestRecommendation & WithRecommendationId(RecommendationIdT &&value)
bool ItemsHasBeenSet() const
AWS_RESILIENCEHUB_API TestRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIntent(IntentT &&value)
AWS_RESILIENCEHUB_API TestRecommendation(Aws::Utils::Json::JsonView jsonValue)
bool ReferenceIdHasBeenSet() const
TestRecommendation & WithAppComponentName(AppComponentNameT &&value)
void SetItems(ItemsT &&value)
TestRecommendation & WithReferenceId(ReferenceIdT &&value)
const Aws::String & GetName() const
bool RecommendationStatusHasBeenSet() const
void SetType(TestType value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool RiskHasBeenSet() const
TestRecommendation & WithRecommendationStatus(RecommendationStatus value)
TestRecommendation & AddDependsOnAlarms(DependsOnAlarmsT &&value)
const Aws::String & GetPrerequisite() const
TestRecommendation & WithName(NameT &&value)
bool DependsOnAlarmsHasBeenSet() const
TestRecommendation & WithAppComponentId(AppComponentIdT &&value)
bool IntentHasBeenSet() const
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Vector< RecommendationItem > & GetItems() const
const Aws::String & GetDescription() const
bool TypeHasBeenSet() const
void SetReferenceId(ReferenceIdT &&value)
bool PrerequisiteHasBeenSet() const
AWS_RESILIENCEHUB_API TestRecommendation()=default
void SetRisk(TestRisk value)
void SetDependsOnAlarms(DependsOnAlarmsT &&value)
TestRecommendation & WithType(TestType value)
const Aws::String & GetRecommendationId() const
void SetAppComponentName(AppComponentNameT &&value)
void SetRecommendationStatus(RecommendationStatus value)
TestRecommendation & WithIntent(IntentT &&value)
const Aws::String & GetIntent() const
void SetDescription(DescriptionT &&value)
TestRecommendation & WithRisk(TestRisk value)
const Aws::String & GetAppComponentId() const
TestRecommendation & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetDependsOnAlarms() const
TestRecommendation & AddItems(ItemsT &&value)
void SetPrerequisite(PrerequisiteT &&value)
bool AppComponentNameHasBeenSet() const
void SetAppComponentId(AppComponentIdT &&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