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

Describes the enums in a generic data schema.

See Also:

AWS * API Reference

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

The list of enum values in the generic data schema.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The list of enum values in the generic data schema.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The list of enum values in the generic data schema.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The list of enum values in the generic data schema.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The list of enum values in the generic data schema.

*/ inline CodegenGenericDataEnum& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The list of enum values in the generic data schema.

*/ inline CodegenGenericDataEnum& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The list of enum values in the generic data schema.

*/ inline CodegenGenericDataEnum& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The list of enum values in the generic data schema.

*/ inline CodegenGenericDataEnum& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

The list of enum values in the generic data schema.

*/ inline CodegenGenericDataEnum& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws