7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/resiliencehub/model/TemplateFormat.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/resiliencehub/model/RecommendationTemplateStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/resiliencehub/model/S3Location.h>
15#include <aws/resiliencehub/model/RenderRecommendationType.h>
28namespace ResilienceHub
62 inline void SetAppArn(
const char* value) { m_appArnHasBeenSet =
true; m_appArn.assign(value); }
81 inline void SetAssessmentArn(
const char* value) { m_assessmentArnHasBeenSet =
true; m_assessmentArn.assign(value); }
121 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
135 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
147 inline void SetNeedsReplacements(
bool value) { m_needsReplacementsHasBeenSet =
true; m_needsReplacements = value; }
174 inline void SetRecommendationTemplateArn(
const char* value) { m_recommendationTemplateArnHasBeenSet =
true; m_recommendationTemplateArn.assign(value); }
256 bool m_appArnHasBeenSet =
false;
259 bool m_assessmentArnHasBeenSet =
false;
262 bool m_endTimeHasBeenSet =
false;
265 bool m_formatHasBeenSet =
false;
268 bool m_messageHasBeenSet =
false;
271 bool m_nameHasBeenSet =
false;
273 bool m_needsReplacements;
274 bool m_needsReplacementsHasBeenSet =
false;
277 bool m_recommendationIdsHasBeenSet =
false;
280 bool m_recommendationTemplateArnHasBeenSet =
false;
283 bool m_recommendationTypesHasBeenSet =
false;
286 bool m_startTimeHasBeenSet =
false;
289 bool m_statusHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
295 bool m_templatesLocationHasBeenSet =
false;
AWS_RESILIENCEHUB_API RecommendationTemplate(Aws::Utils::Json::JsonView jsonValue)
RecommendationTemplate & WithStartTime(Aws::Utils::DateTime &&value)
RecommendationTemplate & AddTags(Aws::String &&key, const Aws::String &value)
RecommendationTemplate & WithTemplatesLocation(S3Location &&value)
RecommendationTemplate & WithMessage(Aws::String &&value)
RecommendationTemplate & WithRecommendationTemplateArn(Aws::String &&value)
RecommendationTemplate & WithRecommendationTypes(const Aws::Vector< RenderRecommendationType > &value)
bool MessageHasBeenSet() const
RecommendationTemplate & AddRecommendationIds(Aws::String &&value)
RecommendationTemplate & WithStartTime(const Aws::Utils::DateTime &value)
RecommendationTemplate & WithRecommendationTypes(Aws::Vector< RenderRecommendationType > &&value)
RecommendationTemplate & WithEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetRecommendationTypes(const Aws::Vector< RenderRecommendationType > &value)
RecommendationTemplate & WithName(Aws::String &&value)
bool StartTimeHasBeenSet() const
void SetMessage(const char *value)
RecommendationTemplate & AddTags(const char *key, Aws::String &&value)
RecommendationTemplate & WithFormat(const TemplateFormat &value)
void SetAppArn(const Aws::String &value)
const TemplateFormat & GetFormat() const
RecommendationTemplate & WithNeedsReplacements(bool value)
const Aws::String & GetAppArn() const
void SetAssessmentArn(const Aws::String &value)
RecommendationTemplate & WithRecommendationTemplateArn(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RecommendationTemplate & AddRecommendationTypes(RenderRecommendationType &&value)
const Aws::String & GetAssessmentArn() const
RecommendationTemplate & WithMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
const S3Location & GetTemplatesLocation() const
RecommendationTemplate & WithAssessmentArn(const char *value)
RecommendationTemplate & WithRecommendationIds(const Aws::Vector< Aws::String > &value)
RecommendationTemplate & AddTags(Aws::String &&key, const char *value)
RecommendationTemplate & WithName(const Aws::String &value)
bool NeedsReplacementsHasBeenSet() const
void SetFormat(const TemplateFormat &value)
RecommendationTemplate & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(Aws::String &&value)
void SetStatus(const RecommendationTemplateStatus &value)
RecommendationTemplate & WithAssessmentArn(Aws::String &&value)
void SetAssessmentArn(Aws::String &&value)
RecommendationTemplate & WithRecommendationTemplateArn(const char *value)
bool TagsHasBeenSet() const
bool AppArnHasBeenSet() const
RecommendationTemplate & AddRecommendationIds(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
RecommendationTemplate & WithEndTime(const Aws::Utils::DateTime &value)
void SetRecommendationTemplateArn(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetNeedsReplacements() const
void SetRecommendationIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetRecommendationTemplateArn() const
RecommendationTemplate & WithStatus(const RecommendationTemplateStatus &value)
void SetRecommendationTemplateArn(const char *value)
void SetAppArn(const char *value)
bool RecommendationTemplateArnHasBeenSet() const
RecommendationTemplate & WithName(const char *value)
const Aws::String & GetMessage() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetNeedsReplacements(bool value)
void SetEndTime(Aws::Utils::DateTime &&value)
bool FormatHasBeenSet() const
RecommendationTemplate & WithAppArn(Aws::String &&value)
bool AssessmentArnHasBeenSet() const
void SetName(const Aws::String &value)
void SetAssessmentArn(const char *value)
bool RecommendationIdsHasBeenSet() const
RecommendationTemplate & WithAssessmentArn(const Aws::String &value)
AWS_RESILIENCEHUB_API RecommendationTemplate()
void SetName(const char *value)
RecommendationTemplate & AddTags(const Aws::String &key, const Aws::String &value)
RecommendationTemplate & AddTags(const char *key, const char *value)
RecommendationTemplate & AddRecommendationIds(const Aws::String &value)
bool RecommendationTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetRecommendationIds() const
void SetTemplatesLocation(S3Location &&value)
RecommendationTemplate & WithStatus(RecommendationTemplateStatus &&value)
void SetAppArn(Aws::String &&value)
RecommendationTemplate & WithMessage(const char *value)
void SetFormat(TemplateFormat &&value)
AWS_RESILIENCEHUB_API RecommendationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RenderRecommendationType > & GetRecommendationTypes() const
void SetRecommendationIds(Aws::Vector< Aws::String > &&value)
void SetStatus(RecommendationTemplateStatus &&value)
RecommendationTemplate & AddTags(const Aws::String &key, Aws::String &&value)
void SetRecommendationTemplateArn(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
RecommendationTemplate & AddTags(Aws::String &&key, Aws::String &&value)
RecommendationTemplate & WithAppArn(const char *value)
void SetRecommendationTypes(Aws::Vector< RenderRecommendationType > &&value)
RecommendationTemplate & WithTemplatesLocation(const S3Location &value)
RecommendationTemplate & WithRecommendationIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetName() const
bool TemplatesLocationHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
bool StatusHasBeenSet() const
RecommendationTemplate & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const RecommendationTemplateStatus & GetStatus() const
bool EndTimeHasBeenSet() const
void SetTemplatesLocation(const S3Location &value)
RecommendationTemplate & AddRecommendationTypes(const RenderRecommendationType &value)
RecommendationTemplate & WithAppArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
RecommendationTemplate & WithFormat(TemplateFormat &&value)
bool NameHasBeenSet() const
RecommendationTemplateStatus
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue