/** * 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 GetFormResult { public: AWS_AMPLIFYUIBUILDER_API GetFormResult(); AWS_AMPLIFYUIBUILDER_API GetFormResult(const Aws::AmazonWebServiceResult& result); AWS_AMPLIFYUIBUILDER_API GetFormResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Represents the configuration settings for the form.

*/ inline const Form& GetForm() const{ return m_form; } /** *

Represents the configuration settings for the form.

*/ inline void SetForm(const Form& value) { m_form = value; } /** *

Represents the configuration settings for the form.

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

Represents the configuration settings for the form.

*/ inline GetFormResult& WithForm(const Form& value) { SetForm(value); return *this;} /** *

Represents the configuration settings for the form.

*/ inline GetFormResult& WithForm(Form&& value) { SetForm(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 GetFormResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetFormResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetFormResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Form m_form; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws