7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
12#include <aws/resiliencehub/model/RecommendationTemplateStatus.h>
13#include <aws/resiliencehub/model/RenderRecommendationType.h>
14#include <aws/resiliencehub/model/S3Location.h>
15#include <aws/resiliencehub/model/TemplateFormat.h>
26namespace ResilienceHub {
54 template <
typename AppArnT = Aws::String>
56 m_appArnHasBeenSet =
true;
57 m_appArn = std::forward<AppArnT>(value);
59 template <
typename AppArnT = Aws::String>
77 template <
typename AssessmentArnT = Aws::String>
79 m_assessmentArnHasBeenSet =
true;
80 m_assessmentArn = std::forward<AssessmentArnT>(value);
82 template <
typename AssessmentArnT = Aws::String>
95 template <
typename EndTimeT = Aws::Utils::DateTime>
97 m_endTimeHasBeenSet =
true;
98 m_endTime = std::forward<EndTimeT>(value);
100 template <
typename EndTimeT = Aws::Utils::DateTime>
116 m_formatHasBeenSet =
true;
131 template <
typename MessageT = Aws::String>
133 m_messageHasBeenSet =
true;
134 m_message = std::forward<MessageT>(value);
136 template <
typename MessageT = Aws::String>
149 template <
typename NameT = Aws::String>
151 m_nameHasBeenSet =
true;
152 m_name = std::forward<NameT>(value);
154 template <
typename NameT = Aws::String>
156 SetName(std::forward<NameT>(value));
168 m_needsReplacementsHasBeenSet =
true;
169 m_needsReplacements = value;
183 template <
typename RecommendationIdsT = Aws::Vector<Aws::String>>
185 m_recommendationIdsHasBeenSet =
true;
186 m_recommendationIds = std::forward<RecommendationIdsT>(value);
188 template <
typename RecommendationIdsT = Aws::Vector<Aws::String>>
193 template <
typename RecommendationIdsT = Aws::String>
195 m_recommendationIdsHasBeenSet =
true;
196 m_recommendationIds.emplace_back(std::forward<RecommendationIdsT>(value));
207 template <
typename RecommendationTemplateArnT = Aws::String>
209 m_recommendationTemplateArnHasBeenSet =
true;
210 m_recommendationTemplateArn = std::forward<RecommendationTemplateArnT>(value);
212 template <
typename RecommendationTemplateArnT = Aws::String>
229 template <
typename RecommendationTypesT = Aws::Vector<RenderRecommendationType>>
231 m_recommendationTypesHasBeenSet =
true;
232 m_recommendationTypes = std::forward<RecommendationTypesT>(value);
234 template <
typename RecommendationTypesT = Aws::Vector<RenderRecommendationType>>
240 m_recommendationTypesHasBeenSet =
true;
241 m_recommendationTypes.push_back(value);
252 template <
typename StartTimeT = Aws::Utils::DateTime>
254 m_startTimeHasBeenSet =
true;
255 m_startTime = std::forward<StartTimeT>(value);
257 template <
typename StartTimeT = Aws::Utils::DateTime>
271 m_statusHasBeenSet =
true;
287 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
289 m_tagsHasBeenSet =
true;
290 m_tags = std::forward<TagsT>(value);
292 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
294 SetTags(std::forward<TagsT>(value));
297 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
299 m_tagsHasBeenSet =
true;
300 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
311 template <
typename TemplatesLocationT = S3Location>
313 m_templatesLocationHasBeenSet =
true;
314 m_templatesLocation = std::forward<TemplatesLocationT>(value);
316 template <
typename TemplatesLocationT = S3Location>
335 bool m_needsReplacements{
false};
349 S3Location m_templatesLocation;
350 bool m_appArnHasBeenSet =
false;
351 bool m_assessmentArnHasBeenSet =
false;
352 bool m_endTimeHasBeenSet =
false;
353 bool m_formatHasBeenSet =
false;
354 bool m_messageHasBeenSet =
false;
355 bool m_nameHasBeenSet =
false;
356 bool m_needsReplacementsHasBeenSet =
false;
357 bool m_recommendationIdsHasBeenSet =
false;
358 bool m_recommendationTemplateArnHasBeenSet =
false;
359 bool m_recommendationTypesHasBeenSet =
false;
360 bool m_startTimeHasBeenSet =
false;
361 bool m_statusHasBeenSet =
false;
362 bool m_tagsHasBeenSet =
false;
363 bool m_templatesLocationHasBeenSet =
false;
TemplateFormat GetFormat() const
AWS_RESILIENCEHUB_API RecommendationTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetAppArn(AppArnT &&value)
bool MessageHasBeenSet() const
void SetRecommendationIds(RecommendationIdsT &&value)
bool StartTimeHasBeenSet() const
RecommendationTemplate & WithTags(TagsT &&value)
RecommendationTemplate & WithMessage(MessageT &&value)
RecommendationTemplate & WithNeedsReplacements(bool value)
void SetRecommendationTemplateArn(RecommendationTemplateArnT &&value)
const Aws::String & GetAppArn() const
RecommendationTemplate & WithAssessmentArn(AssessmentArnT &&value)
const Aws::String & GetAssessmentArn() const
void SetStartTime(StartTimeT &&value)
const S3Location & GetTemplatesLocation() const
RecommendationTemplate & WithFormat(TemplateFormat value)
RecommendationTemplate & WithTemplatesLocation(TemplatesLocationT &&value)
bool NeedsReplacementsHasBeenSet() const
bool TagsHasBeenSet() const
bool AppArnHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationTemplate & WithRecommendationTemplateArn(RecommendationTemplateArnT &&value)
bool GetNeedsReplacements() const
RecommendationTemplate & WithEndTime(EndTimeT &&value)
void SetTemplatesLocation(TemplatesLocationT &&value)
const Aws::String & GetRecommendationTemplateArn() const
bool RecommendationTemplateArnHasBeenSet() const
const Aws::String & GetMessage() const
void SetFormat(TemplateFormat value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RecommendationTemplate & AddRecommendationIds(RecommendationIdsT &&value)
void SetNeedsReplacements(bool value)
bool FormatHasBeenSet() const
bool AssessmentArnHasBeenSet() const
bool RecommendationIdsHasBeenSet() const
RecommendationTemplate & WithName(NameT &&value)
void SetAssessmentArn(AssessmentArnT &&value)
void SetName(NameT &&value)
RecommendationTemplate & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(RecommendationTemplateStatus value)
bool RecommendationTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetRecommendationIds() const
RecommendationTemplate & WithStartTime(StartTimeT &&value)
void SetMessage(MessageT &&value)
AWS_RESILIENCEHUB_API RecommendationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RenderRecommendationType > & GetRecommendationTypes() const
AWS_RESILIENCEHUB_API RecommendationTemplate()=default
RecommendationTemplate & WithRecommendationIds(RecommendationIdsT &&value)
RecommendationTemplate & WithStatus(RecommendationTemplateStatus value)
void SetTags(TagsT &&value)
RecommendationTemplate & WithAppArn(AppArnT &&value)
const Aws::String & GetName() const
void SetRecommendationTypes(RecommendationTypesT &&value)
bool TemplatesLocationHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
bool StatusHasBeenSet() const
RecommendationTemplateStatus GetStatus() const
bool EndTimeHasBeenSet() const
void SetEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
RecommendationTemplate & AddRecommendationTypes(RenderRecommendationType value)
RecommendationTemplate & WithRecommendationTypes(RecommendationTypesT &&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