/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AmplifyUIBuilder { namespace Model { class UpdateFormResult { public: AWS_AMPLIFYUIBUILDER_API UpdateFormResult(); AWS_AMPLIFYUIBUILDER_API UpdateFormResult(const Aws::AmazonWebServiceResult& result); AWS_AMPLIFYUIBUILDER_API UpdateFormResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes the configuration of the updated form.

*/ inline const Form& GetEntity() const{ return m_entity; } /** *

Describes the configuration of the updated form.

*/ inline void SetEntity(const Form& value) { m_entity = value; } /** *

Describes the configuration of the updated form.

*/ inline void SetEntity(Form&& value) { m_entity = std::move(value); } /** *

Describes the configuration of the updated form.

*/ inline UpdateFormResult& WithEntity(const Form& value) { SetEntity(value); return *this;} /** *

Describes the configuration of the updated form.

*/ inline UpdateFormResult& WithEntity(Form&& value) { SetEntity(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateFormResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateFormResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateFormResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Form m_entity; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws