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

A value or list of parameter values.

See Also:

AWS * API Reference

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

The ID of the parameter value.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the parameter value.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the parameter value.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the parameter value.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the parameter value.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the parameter value.

*/ inline ParameterValue& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the parameter value.

*/ inline ParameterValue& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the parameter value.

*/ inline ParameterValue& WithId(const char* value) { SetId(value); return *this;} /** *

The field value, expressed as a String.

*/ inline const Aws::String& GetStringValue() const{ return m_stringValue; } /** *

The field value, expressed as a String.

*/ inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; } /** *

The field value, expressed as a String.

*/ inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; } /** *

The field value, expressed as a String.

*/ inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); } /** *

The field value, expressed as a String.

*/ inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); } /** *

The field value, expressed as a String.

*/ inline ParameterValue& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;} /** *

The field value, expressed as a String.

*/ inline ParameterValue& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;} /** *

The field value, expressed as a String.

*/ inline ParameterValue& WithStringValue(const char* value) { SetStringValue(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_stringValue; bool m_stringValueHasBeenSet = false; }; } // namespace Model } // namespace DataPipeline } // namespace Aws