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

The dynamic value of the resource.

See Also:

AWS * API Reference

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

The value is a resource ID.

*/ inline const ResourceValueType& GetValue() const{ return m_value; } /** *

The value is a resource ID.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value is a resource ID.

*/ inline void SetValue(const ResourceValueType& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value is a resource ID.

*/ inline void SetValue(ResourceValueType&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value is a resource ID.

*/ inline ResourceValue& WithValue(const ResourceValueType& value) { SetValue(value); return *this;} /** *

The value is a resource ID.

*/ inline ResourceValue& WithValue(ResourceValueType&& value) { SetValue(std::move(value)); return *this;} private: ResourceValueType m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws