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

A workflow parameter.

See Also:

AWS * API Reference

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

The parameter's description.

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

The parameter's description.

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

The parameter's description.

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

The parameter's description.

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

The parameter's description.

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

The parameter's description.

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

The parameter's description.

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

The parameter's description.

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

Whether the parameter is optional.

*/ inline bool GetOptional() const{ return m_optional; } /** *

Whether the parameter is optional.

*/ inline bool OptionalHasBeenSet() const { return m_optionalHasBeenSet; } /** *

Whether the parameter is optional.

*/ inline void SetOptional(bool value) { m_optionalHasBeenSet = true; m_optional = value; } /** *

Whether the parameter is optional.

*/ inline WorkflowParameter& WithOptional(bool value) { SetOptional(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_optional; bool m_optionalHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws