/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a recommendation template created with the
* CreateRecommendationTemplate action.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the Resilience Hub application. The format
* for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is:
* arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
.
* For more information about ARNs, see
* Amazon Resource Names (ARNs) in the AWS General Reference guide.
The end time for the action.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The end time for the action.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end time for the action.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end time for the action.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The end time for the action.
*/ inline RecommendationTemplate& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The end time for the action.
*/ inline RecommendationTemplate& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The format of the recommendation template.
The template is CloudFormation JSON.
The * template is CloudFormation YAML.
The format of the recommendation template.
The template is CloudFormation JSON.
The * template is CloudFormation YAML.
The format of the recommendation template.
The template is CloudFormation JSON.
The * template is CloudFormation YAML.
The format of the recommendation template.
The template is CloudFormation JSON.
The * template is CloudFormation YAML.
The format of the recommendation template.
The template is CloudFormation JSON.
The * template is CloudFormation YAML.
The format of the recommendation template.
The template is CloudFormation JSON.
The * template is CloudFormation YAML.
The message for the recommendation template.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message for the recommendation template.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message for the recommendation template.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message for the recommendation template.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message for the recommendation template.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message for the recommendation template.
*/ inline RecommendationTemplate& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message for the recommendation template.
*/ inline RecommendationTemplate& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message for the recommendation template.
*/ inline RecommendationTemplate& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The name for the recommendation template.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name for the recommendation template.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name for the recommendation template.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name for the recommendation template.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name for the recommendation template.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name for the recommendation template.
*/ inline RecommendationTemplate& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name for the recommendation template.
*/ inline RecommendationTemplate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name for the recommendation template.
*/ inline RecommendationTemplate& WithName(const char* value) { SetName(value); return *this;} /** *Indicates if replacements are needed.
*/ inline bool GetNeedsReplacements() const{ return m_needsReplacements; } /** *Indicates if replacements are needed.
*/ inline bool NeedsReplacementsHasBeenSet() const { return m_needsReplacementsHasBeenSet; } /** *Indicates if replacements are needed.
*/ inline void SetNeedsReplacements(bool value) { m_needsReplacementsHasBeenSet = true; m_needsReplacements = value; } /** *Indicates if replacements are needed.
*/ inline RecommendationTemplate& WithNeedsReplacements(bool value) { SetNeedsReplacements(value); return *this;} /** *Identifiers for the recommendations used in the recommendation template.
*/ inline const Aws::VectorIdentifiers for the recommendations used in the recommendation template.
*/ inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; } /** *Identifiers for the recommendations used in the recommendation template.
*/ inline void SetRecommendationIds(const Aws::VectorIdentifiers for the recommendations used in the recommendation template.
*/ inline void SetRecommendationIds(Aws::VectorIdentifiers for the recommendations used in the recommendation template.
*/ inline RecommendationTemplate& WithRecommendationIds(const Aws::VectorIdentifiers for the recommendations used in the recommendation template.
*/ inline RecommendationTemplate& WithRecommendationIds(Aws::VectorIdentifiers for the recommendations used in the recommendation template.
*/ inline RecommendationTemplate& AddRecommendationIds(const Aws::String& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; } /** *Identifiers for the recommendations used in the recommendation template.
*/ inline RecommendationTemplate& AddRecommendationIds(Aws::String&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(std::move(value)); return *this; } /** *Identifiers for the recommendations used in the recommendation template.
*/ inline RecommendationTemplate& AddRecommendationIds(const char* value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; } /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline const Aws::String& GetRecommendationTemplateArn() const{ return m_recommendationTemplateArn; } /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline bool RecommendationTemplateArnHasBeenSet() const { return m_recommendationTemplateArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline void SetRecommendationTemplateArn(const Aws::String& value) { m_recommendationTemplateArnHasBeenSet = true; m_recommendationTemplateArn = value; } /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline void SetRecommendationTemplateArn(Aws::String&& value) { m_recommendationTemplateArnHasBeenSet = true; m_recommendationTemplateArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline void SetRecommendationTemplateArn(const char* value) { m_recommendationTemplateArnHasBeenSet = true; m_recommendationTemplateArn.assign(value); } /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline RecommendationTemplate& WithRecommendationTemplateArn(const Aws::String& value) { SetRecommendationTemplateArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline RecommendationTemplate& WithRecommendationTemplateArn(Aws::String&& value) { SetRecommendationTemplateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the recommendation template.
*/ inline RecommendationTemplate& WithRecommendationTemplateArn(const char* value) { SetRecommendationTemplateArn(value); return *this;} /** *An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
An array of strings that specify the recommendation template type or * types.
The template is an * AlarmRecommendation template.
The template * is a SopRecommendation template.
The * template is a TestRecommendation template.
The start time for the action.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The start time for the action.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time for the action.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time for the action.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start time for the action.
*/ inline RecommendationTemplate& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The start time for the action.
*/ inline RecommendationTemplate& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The status of the action.
*/ inline const RecommendationTemplateStatus& GetStatus() const{ return m_status; } /** *The status of the action.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the action.
*/ inline void SetStatus(const RecommendationTemplateStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the action.
*/ inline void SetStatus(RecommendationTemplateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the action.
*/ inline RecommendationTemplate& WithStatus(const RecommendationTemplateStatus& value) { SetStatus(value); return *this;} /** *The status of the action.
*/ inline RecommendationTemplate& WithStatus(RecommendationTemplateStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline const Aws::MapThe tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline void SetTags(const Aws::MapThe tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline void SetTags(Aws::MapThe tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& WithTags(const Aws::MapThe tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& WithTags(Aws::MapThe tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags assigned to the resource. A tag is a label that you assign to an * Amazon Web Services resource. Each tag consists of a key/value pair.
*/ inline RecommendationTemplate& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The file location of the template.
*/ inline const S3Location& GetTemplatesLocation() const{ return m_templatesLocation; } /** *The file location of the template.
*/ inline bool TemplatesLocationHasBeenSet() const { return m_templatesLocationHasBeenSet; } /** *The file location of the template.
*/ inline void SetTemplatesLocation(const S3Location& value) { m_templatesLocationHasBeenSet = true; m_templatesLocation = value; } /** *The file location of the template.
*/ inline void SetTemplatesLocation(S3Location&& value) { m_templatesLocationHasBeenSet = true; m_templatesLocation = std::move(value); } /** *The file location of the template.
*/ inline RecommendationTemplate& WithTemplatesLocation(const S3Location& value) { SetTemplatesLocation(value); return *this;} /** *The file location of the template.
*/ inline RecommendationTemplate& WithTemplatesLocation(S3Location&& value) { SetTemplatesLocation(std::move(value)); return *this;} private: Aws::String m_appArn; bool m_appArnHasBeenSet = false; Aws::String m_assessmentArn; bool m_assessmentArnHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; TemplateFormat m_format; bool m_formatHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; bool m_needsReplacements; bool m_needsReplacementsHasBeenSet = false; Aws::Vector