/** * 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 FIS { namespace Model { /** *

Describes a parameter for an action.

See Also:

AWS * API Reference

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

The parameter description.

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

The parameter description.

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

The parameter description.

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

The parameter description.

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

The parameter description.

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

The parameter description.

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

The parameter description.

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

The parameter description.

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

Indicates whether the parameter is required.

*/ inline bool GetRequired() const{ return m_required; } /** *

Indicates whether the parameter is required.

*/ inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } /** *

Indicates whether the parameter is required.

*/ inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; } /** *

Indicates whether the parameter is required.

*/ inline ActionParameter& WithRequired(bool value) { SetRequired(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_required; bool m_requiredHasBeenSet = false; }; } // namespace Model } // namespace FIS } // namespace Aws