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
53 inline void SetAppComponentName(
const char* value) { m_appComponentNameHasBeenSet =
true; m_appComponentName.assign(value); }
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
97 inline void SetIntent(
const char* value) { m_intentHasBeenSet =
true; m_intent.assign(value); }
125 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
139 inline void SetPrerequisite(
const char* value) { m_prerequisiteHasBeenSet =
true; m_prerequisite.assign(value); }
153 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
179 inline void SetReferenceId(
const char* value) { m_referenceIdHasBeenSet =
true; m_referenceId.assign(value); }
191 inline void SetRisk(
const TestRisk& value) { m_riskHasBeenSet =
true; m_risk = value; }
192 inline void SetRisk(
TestRisk&& value) { m_riskHasBeenSet =
true; m_risk = std::move(value); }
203 inline void SetType(
const TestType& value) { m_typeHasBeenSet =
true; m_type = value; }
204 inline void SetType(
TestType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
211 bool m_appComponentNameHasBeenSet =
false;
214 bool m_dependsOnAlarmsHasBeenSet =
false;
217 bool m_descriptionHasBeenSet =
false;
220 bool m_intentHasBeenSet =
false;
223 bool m_itemsHasBeenSet =
false;
226 bool m_nameHasBeenSet =
false;
229 bool m_prerequisiteHasBeenSet =
false;
232 bool m_recommendationIdHasBeenSet =
false;
235 bool m_recommendationStatusHasBeenSet =
false;
238 bool m_referenceIdHasBeenSet =
false;
241 bool m_riskHasBeenSet =
false;
244 bool m_typeHasBeenSet =
false;
AWS_RESILIENCEHUB_API TestRecommendation()
TestRecommendation & WithPrerequisite(const Aws::String &value)
void SetReferenceId(const char *value)
void SetDescription(Aws::String &&value)
TestRecommendation & WithIntent(const char *value)
void SetAppComponentName(const char *value)
void SetPrerequisite(const char *value)
TestRecommendation & AddItems(RecommendationItem &&value)
void SetDescription(const Aws::String &value)
void SetItems(Aws::Vector< RecommendationItem > &&value)
TestRecommendation & WithItems(const Aws::Vector< RecommendationItem > &value)
TestRecommendation & WithIntent(const Aws::String &value)
TestRecommendation & WithRisk(const TestRisk &value)
TestRecommendation & WithRisk(TestRisk &&value)
bool RecommendationIdHasBeenSet() const
void SetRisk(const TestRisk &value)
void SetRecommendationStatus(RecommendationStatus &&value)
const Aws::String & GetAppComponentName() const
TestRecommendation & WithDependsOnAlarms(const Aws::Vector< Aws::String > &value)
const Aws::String & GetReferenceId() const
bool ItemsHasBeenSet() const
AWS_RESILIENCEHUB_API TestRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppComponentName(Aws::String &&value)
void SetDependsOnAlarms(const Aws::Vector< Aws::String > &value)
TestRecommendation & WithRecommendationId(Aws::String &&value)
void SetIntent(const char *value)
TestRecommendation & WithReferenceId(const char *value)
TestRecommendation & WithIntent(Aws::String &&value)
void SetPrerequisite(Aws::String &&value)
TestRecommendation & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_RESILIENCEHUB_API TestRecommendation(Aws::Utils::Json::JsonView jsonValue)
TestRecommendation & WithItems(Aws::Vector< RecommendationItem > &&value)
bool ReferenceIdHasBeenSet() const
TestRecommendation & WithDescription(const char *value)
TestRecommendation & WithRecommendationStatus(RecommendationStatus &&value)
void SetItems(const Aws::Vector< RecommendationItem > &value)
void SetRecommendationId(const Aws::String &value)
void SetIntent(const Aws::String &value)
const Aws::String & GetName() const
bool RecommendationStatusHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool RiskHasBeenSet() const
TestRecommendation & AddItems(const RecommendationItem &value)
TestRecommendation & WithRecommendationStatus(const RecommendationStatus &value)
const Aws::String & GetPrerequisite() const
TestRecommendation & WithDependsOnAlarms(Aws::Vector< Aws::String > &&value)
TestRecommendation & WithName(const char *value)
void SetRecommendationId(const char *value)
void SetRecommendationId(Aws::String &&value)
TestRecommendation & WithAppComponentName(const char *value)
bool DependsOnAlarmsHasBeenSet() const
void SetType(TestType &&value)
TestRecommendation & WithName(Aws::String &&value)
void SetName(const char *value)
bool IntentHasBeenSet() const
bool NameHasBeenSet() const
TestRecommendation & WithAppComponentName(Aws::String &&value)
void SetType(const TestType &value)
const RecommendationStatus & GetRecommendationStatus() const
bool DescriptionHasBeenSet() const
void SetIntent(Aws::String &&value)
const Aws::Vector< RecommendationItem > & GetItems() const
TestRecommendation & AddDependsOnAlarms(const char *value)
const Aws::String & GetDescription() const
bool TypeHasBeenSet() const
TestRecommendation & WithAppComponentName(const Aws::String &value)
bool PrerequisiteHasBeenSet() const
TestRecommendation & WithPrerequisite(Aws::String &&value)
void SetRecommendationStatus(const RecommendationStatus &value)
void SetReferenceId(Aws::String &&value)
void SetAppComponentName(const Aws::String &value)
void SetDependsOnAlarms(Aws::Vector< Aws::String > &&value)
TestRecommendation & WithDescription(Aws::String &&value)
void SetRisk(TestRisk &&value)
const Aws::String & GetRecommendationId() const
const TestRisk & GetRisk() const
TestRecommendation & WithReferenceId(Aws::String &&value)
void SetName(Aws::String &&value)
TestRecommendation & WithType(const TestType &value)
TestRecommendation & WithPrerequisite(const char *value)
const Aws::String & GetIntent() const
TestRecommendation & WithReferenceId(const Aws::String &value)
void SetReferenceId(const Aws::String &value)
void SetPrerequisite(const Aws::String &value)
TestRecommendation & AddDependsOnAlarms(const Aws::String &value)
TestRecommendation & WithDescription(const Aws::String &value)
const TestType & GetType() const
TestRecommendation & WithRecommendationId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDependsOnAlarms() const
void SetDescription(const char *value)
bool AppComponentNameHasBeenSet() const
TestRecommendation & WithType(TestType &&value)
TestRecommendation & WithRecommendationId(const char *value)
TestRecommendation & AddDependsOnAlarms(Aws::String &&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