/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A set of criteria that CloudFormation uses to validate parameter values.
* Although other constraints might be defined in the stack template,
* CloudFormation returns only the AllowedValues
* property.See Also:
AWS
* API Reference
A list of values that are permitted for a parameter.
*/ inline const Aws::VectorA list of values that are permitted for a parameter.
*/ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** *A list of values that are permitted for a parameter.
*/ inline void SetAllowedValues(const Aws::VectorA list of values that are permitted for a parameter.
*/ inline void SetAllowedValues(Aws::VectorA list of values that are permitted for a parameter.
*/ inline ParameterConstraints& WithAllowedValues(const Aws::VectorA list of values that are permitted for a parameter.
*/ inline ParameterConstraints& WithAllowedValues(Aws::VectorA list of values that are permitted for a parameter.
*/ inline ParameterConstraints& AddAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } /** *A list of values that are permitted for a parameter.
*/ inline ParameterConstraints& AddAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; } /** *A list of values that are permitted for a parameter.
*/ inline ParameterConstraints& AddAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } private: Aws::Vector