/** * 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 { /** *

Stores the metadata information about a feature on a form.

See * Also:

AWS * API Reference

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

The new information to store.

*/ inline const Aws::String& GetNewValue() const{ return m_newValue; } /** *

The new information to store.

*/ inline bool NewValueHasBeenSet() const { return m_newValueHasBeenSet; } /** *

The new information to store.

*/ inline void SetNewValue(const Aws::String& value) { m_newValueHasBeenSet = true; m_newValue = value; } /** *

The new information to store.

*/ inline void SetNewValue(Aws::String&& value) { m_newValueHasBeenSet = true; m_newValue = std::move(value); } /** *

The new information to store.

*/ inline void SetNewValue(const char* value) { m_newValueHasBeenSet = true; m_newValue.assign(value); } /** *

The new information to store.

*/ inline PutMetadataFlagBody& WithNewValue(const Aws::String& value) { SetNewValue(value); return *this;} /** *

The new information to store.

*/ inline PutMetadataFlagBody& WithNewValue(Aws::String&& value) { SetNewValue(std::move(value)); return *this;} /** *

The new information to store.

*/ inline PutMetadataFlagBody& WithNewValue(const char* value) { SetNewValue(value); return *this;} private: Aws::String m_newValue; bool m_newValueHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws