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

Represents the data binding configuration for a specific property using data * stored in Amazon Web Services. For Amazon Web Services connected properties, you * can bind a property to data stored in an Amplify DataStore model.

See * Also:

AWS * API Reference

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

An Amplify DataStore model.

*/ inline const Aws::String& GetModel() const{ return m_model; } /** *

An Amplify DataStore model.

*/ inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; } /** *

An Amplify DataStore model.

*/ inline void SetModel(const Aws::String& value) { m_modelHasBeenSet = true; m_model = value; } /** *

An Amplify DataStore model.

*/ inline void SetModel(Aws::String&& value) { m_modelHasBeenSet = true; m_model = std::move(value); } /** *

An Amplify DataStore model.

*/ inline void SetModel(const char* value) { m_modelHasBeenSet = true; m_model.assign(value); } /** *

An Amplify DataStore model.

*/ inline FormInputBindingPropertiesValueProperties& WithModel(const Aws::String& value) { SetModel(value); return *this;} /** *

An Amplify DataStore model.

*/ inline FormInputBindingPropertiesValueProperties& WithModel(Aws::String&& value) { SetModel(std::move(value)); return *this;} /** *

An Amplify DataStore model.

*/ inline FormInputBindingPropertiesValueProperties& WithModel(const char* value) { SetModel(value); return *this;} private: Aws::String m_model; bool m_modelHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws