/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

A list of possible remediation action lists. Each individual possible * remediation action is a list of individual remediation actions.

See * Also:

AWS * API Reference

*/ class PossibleRemediationActions { public: AWS_FMS_API PossibleRemediationActions(); AWS_FMS_API PossibleRemediationActions(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API PossibleRemediationActions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A description of the possible remediation actions list.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the possible remediation actions list.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the possible remediation actions list.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the possible remediation actions list.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the possible remediation actions list.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the possible remediation actions list.

*/ inline PossibleRemediationActions& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the possible remediation actions list.

*/ inline PossibleRemediationActions& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the possible remediation actions list.

*/ inline PossibleRemediationActions& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Information about the actions.

*/ inline const Aws::Vector& GetActions() const{ return m_actions; } /** *

Information about the actions.

*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *

Information about the actions.

*/ inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } /** *

Information about the actions.

*/ inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } /** *

Information about the actions.

*/ inline PossibleRemediationActions& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} /** *

Information about the actions.

*/ inline PossibleRemediationActions& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} /** *

Information about the actions.

*/ inline PossibleRemediationActions& AddActions(const PossibleRemediationAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *

Information about the actions.

*/ inline PossibleRemediationActions& AddActions(PossibleRemediationAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_actions; bool m_actionsHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws