/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AmplifyUIBuilder { namespace Model { /** *

Describes the feature flags that you can specify for a code generation * job.

See Also:

AWS * API Reference

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

Specifes whether a code generation job supports data relationships.

*/ inline bool GetIsRelationshipSupported() const{ return m_isRelationshipSupported; } /** *

Specifes whether a code generation job supports data relationships.

*/ inline bool IsRelationshipSupportedHasBeenSet() const { return m_isRelationshipSupportedHasBeenSet; } /** *

Specifes whether a code generation job supports data relationships.

*/ inline void SetIsRelationshipSupported(bool value) { m_isRelationshipSupportedHasBeenSet = true; m_isRelationshipSupported = value; } /** *

Specifes whether a code generation job supports data relationships.

*/ inline CodegenFeatureFlags& WithIsRelationshipSupported(bool value) { SetIsRelationshipSupported(value); return *this;} /** *

Specifies whether a code generation job supports non models.

*/ inline bool GetIsNonModelSupported() const{ return m_isNonModelSupported; } /** *

Specifies whether a code generation job supports non models.

*/ inline bool IsNonModelSupportedHasBeenSet() const { return m_isNonModelSupportedHasBeenSet; } /** *

Specifies whether a code generation job supports non models.

*/ inline void SetIsNonModelSupported(bool value) { m_isNonModelSupportedHasBeenSet = true; m_isNonModelSupported = value; } /** *

Specifies whether a code generation job supports non models.

*/ inline CodegenFeatureFlags& WithIsNonModelSupported(bool value) { SetIsNonModelSupported(value); return *this;} private: bool m_isRelationshipSupported; bool m_isRelationshipSupportedHasBeenSet = false; bool m_isNonModelSupported; bool m_isNonModelSupportedHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws