/** * 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 { /** *

Information about a parameter used to provision a product.

See * Also:

AWS * API Reference

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

The parameter key.

*/ inline const Aws::String& GetParameterKey() const{ return m_parameterKey; } /** *

The parameter key.

*/ inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; } /** *

The parameter key.

*/ inline void SetParameterKey(const Aws::String& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; } /** *

The parameter key.

*/ inline void SetParameterKey(Aws::String&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::move(value); } /** *

The parameter key.

*/ inline void SetParameterKey(const char* value) { m_parameterKeyHasBeenSet = true; m_parameterKey.assign(value); } /** *

The parameter key.

*/ inline ProvisioningArtifactParameter& WithParameterKey(const Aws::String& value) { SetParameterKey(value); return *this;} /** *

The parameter key.

*/ inline ProvisioningArtifactParameter& WithParameterKey(Aws::String&& value) { SetParameterKey(std::move(value)); return *this;} /** *

The parameter key.

*/ inline ProvisioningArtifactParameter& WithParameterKey(const char* value) { SetParameterKey(value); return *this;} /** *

The default value.

*/ inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; } /** *

The default value.

*/ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** *

The default value.

*/ inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** *

The default value.

*/ inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** *

The default value.

*/ inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); } /** *

The default value.

*/ inline ProvisioningArtifactParameter& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;} /** *

The default value.

*/ inline ProvisioningArtifactParameter& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;} /** *

The default value.

*/ inline ProvisioningArtifactParameter& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;} /** *

The parameter type.

*/ inline const Aws::String& GetParameterType() const{ return m_parameterType; } /** *

The parameter type.

*/ inline bool ParameterTypeHasBeenSet() const { return m_parameterTypeHasBeenSet; } /** *

The parameter type.

*/ inline void SetParameterType(const Aws::String& value) { m_parameterTypeHasBeenSet = true; m_parameterType = value; } /** *

The parameter type.

*/ inline void SetParameterType(Aws::String&& value) { m_parameterTypeHasBeenSet = true; m_parameterType = std::move(value); } /** *

The parameter type.

*/ inline void SetParameterType(const char* value) { m_parameterTypeHasBeenSet = true; m_parameterType.assign(value); } /** *

The parameter type.

*/ inline ProvisioningArtifactParameter& WithParameterType(const Aws::String& value) { SetParameterType(value); return *this;} /** *

The parameter type.

*/ inline ProvisioningArtifactParameter& WithParameterType(Aws::String&& value) { SetParameterType(std::move(value)); return *this;} /** *

The parameter type.

*/ inline ProvisioningArtifactParameter& WithParameterType(const char* value) { SetParameterType(value); return *this;} /** *

If this value is true, the value for this parameter is obfuscated from view * when the parameter is retrieved. This parameter is used to hide sensitive * information.

*/ inline bool GetIsNoEcho() const{ return m_isNoEcho; } /** *

If this value is true, the value for this parameter is obfuscated from view * when the parameter is retrieved. This parameter is used to hide sensitive * information.

*/ inline bool IsNoEchoHasBeenSet() const { return m_isNoEchoHasBeenSet; } /** *

If this value is true, the value for this parameter is obfuscated from view * when the parameter is retrieved. This parameter is used to hide sensitive * information.

*/ inline void SetIsNoEcho(bool value) { m_isNoEchoHasBeenSet = true; m_isNoEcho = value; } /** *

If this value is true, the value for this parameter is obfuscated from view * when the parameter is retrieved. This parameter is used to hide sensitive * information.

*/ inline ProvisioningArtifactParameter& WithIsNoEcho(bool value) { SetIsNoEcho(value); return *this;} /** *

The description of the parameter.

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

The description of the parameter.

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

The description of the parameter.

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

The description of the parameter.

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

The description of the parameter.

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

The description of the parameter.

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

The description of the parameter.

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

The description of the parameter.

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

Constraints that the administrator has put on a parameter.

*/ inline const ParameterConstraints& GetParameterConstraints() const{ return m_parameterConstraints; } /** *

Constraints that the administrator has put on a parameter.

*/ inline bool ParameterConstraintsHasBeenSet() const { return m_parameterConstraintsHasBeenSet; } /** *

Constraints that the administrator has put on a parameter.

*/ inline void SetParameterConstraints(const ParameterConstraints& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = value; } /** *

Constraints that the administrator has put on a parameter.

*/ inline void SetParameterConstraints(ParameterConstraints&& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = std::move(value); } /** *

Constraints that the administrator has put on a parameter.

*/ inline ProvisioningArtifactParameter& WithParameterConstraints(const ParameterConstraints& value) { SetParameterConstraints(value); return *this;} /** *

Constraints that the administrator has put on a parameter.

*/ inline ProvisioningArtifactParameter& WithParameterConstraints(ParameterConstraints&& value) { SetParameterConstraints(std::move(value)); return *this;} private: Aws::String m_parameterKey; bool m_parameterKeyHasBeenSet = false; Aws::String m_defaultValue; bool m_defaultValueHasBeenSet = false; Aws::String m_parameterType; bool m_parameterTypeHasBeenSet = false; bool m_isNoEcho; bool m_isNoEchoHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ParameterConstraints m_parameterConstraints; bool m_parameterConstraintsHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws