/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a recommendation for a CloudWatch alarm.See Also:
* AWS
* API Reference
The Application Component for the CloudWatch alarm recommendation.
*/ inline const Aws::String& GetAppComponentName() const{ return m_appComponentName; } /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline bool AppComponentNameHasBeenSet() const { return m_appComponentNameHasBeenSet; } /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline void SetAppComponentName(const Aws::String& value) { m_appComponentNameHasBeenSet = true; m_appComponentName = value; } /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline void SetAppComponentName(Aws::String&& value) { m_appComponentNameHasBeenSet = true; m_appComponentName = std::move(value); } /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline void SetAppComponentName(const char* value) { m_appComponentNameHasBeenSet = true; m_appComponentName.assign(value); } /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline AlarmRecommendation& WithAppComponentName(const Aws::String& value) { SetAppComponentName(value); return *this;} /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline AlarmRecommendation& WithAppComponentName(Aws::String&& value) { SetAppComponentName(std::move(value)); return *this;} /** *The Application Component for the CloudWatch alarm recommendation.
*/ inline AlarmRecommendation& WithAppComponentName(const char* value) { SetAppComponentName(value); return *this;} /** *The description of the recommendation.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the recommendation.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the recommendation.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the recommendation.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the recommendation.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the recommendation.
*/ inline AlarmRecommendation& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the recommendation.
*/ inline AlarmRecommendation& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the recommendation.
*/ inline AlarmRecommendation& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The list of CloudWatch alarm recommendations.
*/ inline const Aws::VectorThe list of CloudWatch alarm recommendations.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *The list of CloudWatch alarm recommendations.
*/ inline void SetItems(const Aws::VectorThe list of CloudWatch alarm recommendations.
*/ inline void SetItems(Aws::VectorThe list of CloudWatch alarm recommendations.
*/ inline AlarmRecommendation& WithItems(const Aws::VectorThe list of CloudWatch alarm recommendations.
*/ inline AlarmRecommendation& WithItems(Aws::VectorThe list of CloudWatch alarm recommendations.
*/ inline AlarmRecommendation& AddItems(const RecommendationItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *The list of CloudWatch alarm recommendations.
*/ inline AlarmRecommendation& AddItems(RecommendationItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } /** *The name of the alarm recommendation.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the alarm recommendation.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the alarm recommendation.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the alarm recommendation.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the alarm recommendation.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the alarm recommendation.
*/ inline AlarmRecommendation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the alarm recommendation.
*/ inline AlarmRecommendation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the alarm recommendation.
*/ inline AlarmRecommendation& WithName(const char* value) { SetName(value); return *this;} /** *The prerequisite for the alarm recommendation.
*/ inline const Aws::String& GetPrerequisite() const{ return m_prerequisite; } /** *The prerequisite for the alarm recommendation.
*/ inline bool PrerequisiteHasBeenSet() const { return m_prerequisiteHasBeenSet; } /** *The prerequisite for the alarm recommendation.
*/ inline void SetPrerequisite(const Aws::String& value) { m_prerequisiteHasBeenSet = true; m_prerequisite = value; } /** *The prerequisite for the alarm recommendation.
*/ inline void SetPrerequisite(Aws::String&& value) { m_prerequisiteHasBeenSet = true; m_prerequisite = std::move(value); } /** *The prerequisite for the alarm recommendation.
*/ inline void SetPrerequisite(const char* value) { m_prerequisiteHasBeenSet = true; m_prerequisite.assign(value); } /** *The prerequisite for the alarm recommendation.
*/ inline AlarmRecommendation& WithPrerequisite(const Aws::String& value) { SetPrerequisite(value); return *this;} /** *The prerequisite for the alarm recommendation.
*/ inline AlarmRecommendation& WithPrerequisite(Aws::String&& value) { SetPrerequisite(std::move(value)); return *this;} /** *The prerequisite for the alarm recommendation.
*/ inline AlarmRecommendation& WithPrerequisite(const char* value) { SetPrerequisite(value); return *this;} /** *The identifier of the alarm recommendation.
*/ inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } /** *The identifier of the alarm recommendation.
*/ inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } /** *The identifier of the alarm recommendation.
*/ inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } /** *The identifier of the alarm recommendation.
*/ inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } /** *The identifier of the alarm recommendation.
*/ inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } /** *The identifier of the alarm recommendation.
*/ inline AlarmRecommendation& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} /** *The identifier of the alarm recommendation.
*/ inline AlarmRecommendation& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} /** *The identifier of the alarm recommendation.
*/ inline AlarmRecommendation& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} /** *The reference identifier of the alarm recommendation.
*/ inline const Aws::String& GetReferenceId() const{ return m_referenceId; } /** *The reference identifier of the alarm recommendation.
*/ inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; } /** *The reference identifier of the alarm recommendation.
*/ inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; } /** *The reference identifier of the alarm recommendation.
*/ inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); } /** *The reference identifier of the alarm recommendation.
*/ inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); } /** *The reference identifier of the alarm recommendation.
*/ inline AlarmRecommendation& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;} /** *The reference identifier of the alarm recommendation.
*/ inline AlarmRecommendation& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;} /** *The reference identifier of the alarm recommendation.
*/ inline AlarmRecommendation& WithReferenceId(const char* value) { SetReferenceId(value); return *this;} /** *The type of alarm recommendation.
*/ inline const AlarmType& GetType() const{ return m_type; } /** *The type of alarm recommendation.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of alarm recommendation.
*/ inline void SetType(const AlarmType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of alarm recommendation.
*/ inline void SetType(AlarmType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of alarm recommendation.
*/ inline AlarmRecommendation& WithType(const AlarmType& value) { SetType(value); return *this;} /** *The type of alarm recommendation.
*/ inline AlarmRecommendation& WithType(AlarmType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_appComponentName; bool m_appComponentNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector