/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The value is either a dynamic (resource) value or a static value. You must
* select either a dynamic value or a static value.See Also:
AWS
* API Reference
The value is dynamic and changes at run-time.
*/ inline const ResourceValue& GetResourceValue() const{ return m_resourceValue; } /** *The value is dynamic and changes at run-time.
*/ inline bool ResourceValueHasBeenSet() const { return m_resourceValueHasBeenSet; } /** *The value is dynamic and changes at run-time.
*/ inline void SetResourceValue(const ResourceValue& value) { m_resourceValueHasBeenSet = true; m_resourceValue = value; } /** *The value is dynamic and changes at run-time.
*/ inline void SetResourceValue(ResourceValue&& value) { m_resourceValueHasBeenSet = true; m_resourceValue = std::move(value); } /** *The value is dynamic and changes at run-time.
*/ inline RemediationParameterValue& WithResourceValue(const ResourceValue& value) { SetResourceValue(value); return *this;} /** *The value is dynamic and changes at run-time.
*/ inline RemediationParameterValue& WithResourceValue(ResourceValue&& value) { SetResourceValue(std::move(value)); return *this;} /** *The value is static and does not change at run-time.
*/ inline const StaticValue& GetStaticValue() const{ return m_staticValue; } /** *The value is static and does not change at run-time.
*/ inline bool StaticValueHasBeenSet() const { return m_staticValueHasBeenSet; } /** *The value is static and does not change at run-time.
*/ inline void SetStaticValue(const StaticValue& value) { m_staticValueHasBeenSet = true; m_staticValue = value; } /** *The value is static and does not change at run-time.
*/ inline void SetStaticValue(StaticValue&& value) { m_staticValueHasBeenSet = true; m_staticValue = std::move(value); } /** *The value is static and does not change at run-time.
*/ inline RemediationParameterValue& WithStaticValue(const StaticValue& value) { SetStaticValue(value); return *this;} /** *The value is static and does not change at run-time.
*/ inline RemediationParameterValue& WithStaticValue(StaticValue&& value) { SetStaticValue(std::move(value)); return *this;} private: ResourceValue m_resourceValue; bool m_resourceValueHasBeenSet = false; StaticValue m_staticValue; bool m_staticValueHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws