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

Describes a remediation action target.

See Also:

AWS * API Reference

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

The ID of the remediation target.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The ID of the remediation target.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The ID of the remediation target.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The ID of the remediation target.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The ID of the remediation target.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The ID of the remediation target.

*/ inline ActionTarget& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The ID of the remediation target.

*/ inline ActionTarget& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The ID of the remediation target.

*/ inline ActionTarget& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

A description of the remediation action target.

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

A description of the remediation action target.

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

A description of the remediation action target.

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

A description of the remediation action target.

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

A description of the remediation action target.

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

A description of the remediation action target.

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

A description of the remediation action target.

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

A description of the remediation action target.

*/ inline ActionTarget& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws