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

Details of an execution parameter value that is passed to a self-service * action when executed on a provisioned product.

See Also:

AWS * API Reference

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

The name of the execution parameter.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the execution parameter.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the execution parameter.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the execution parameter.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the execution parameter.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the execution parameter.

*/ inline ExecutionParameter& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the execution parameter.

*/ inline ExecutionParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the execution parameter.

*/ inline ExecutionParameter& WithName(const char* value) { SetName(value); return *this;} /** *

The execution parameter type.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The execution parameter type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The execution parameter type.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The execution parameter type.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The execution parameter type.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The execution parameter type.

*/ inline ExecutionParameter& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The execution parameter type.

*/ inline ExecutionParameter& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The execution parameter type.

*/ inline ExecutionParameter& WithType(const char* value) { SetType(value); return *this;} /** *

The default values for the execution parameter.

*/ inline const Aws::Vector& GetDefaultValues() const{ return m_defaultValues; } /** *

The default values for the execution parameter.

*/ inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; } /** *

The default values for the execution parameter.

*/ inline void SetDefaultValues(const Aws::Vector& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; } /** *

The default values for the execution parameter.

*/ inline void SetDefaultValues(Aws::Vector&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); } /** *

The default values for the execution parameter.

*/ inline ExecutionParameter& WithDefaultValues(const Aws::Vector& value) { SetDefaultValues(value); return *this;} /** *

The default values for the execution parameter.

*/ inline ExecutionParameter& WithDefaultValues(Aws::Vector&& value) { SetDefaultValues(std::move(value)); return *this;} /** *

The default values for the execution parameter.

*/ inline ExecutionParameter& AddDefaultValues(const Aws::String& value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(value); return *this; } /** *

The default values for the execution parameter.

*/ inline ExecutionParameter& AddDefaultValues(Aws::String&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(std::move(value)); return *this; } /** *

The default values for the execution parameter.

*/ inline ExecutionParameter& AddDefaultValues(const char* value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::Vector m_defaultValues; bool m_defaultValuesHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws