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

The list of forms for the Amplify app.

*/ inline const Aws::Vector& GetEntities() const{ return m_entities; } /** *

The list of forms for the Amplify app.

*/ inline void SetEntities(const Aws::Vector& value) { m_entities = value; } /** *

The list of forms for the Amplify app.

*/ inline void SetEntities(Aws::Vector&& value) { m_entities = std::move(value); } /** *

The list of forms for the Amplify app.

*/ inline ListFormsResult& WithEntities(const Aws::Vector& value) { SetEntities(value); return *this;} /** *

The list of forms for the Amplify app.

*/ inline ListFormsResult& WithEntities(Aws::Vector&& value) { SetEntities(std::move(value)); return *this;} /** *

The list of forms for the Amplify app.

*/ inline ListFormsResult& AddEntities(const FormSummary& value) { m_entities.push_back(value); return *this; } /** *

The list of forms for the Amplify app.

*/ inline ListFormsResult& AddEntities(FormSummary&& value) { m_entities.push_back(std::move(value)); return *this; } /** *

The pagination token that's included if more results are available.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token that's included if more results are available.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination token that's included if more results are available.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination token that's included if more results are available.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token that's included if more results are available.

*/ inline ListFormsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token that's included if more results are available.

*/ inline ListFormsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token that's included if more results are available.

*/ inline ListFormsResult& WithNextToken(const char* value) { SetNextToken(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 ListFormsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListFormsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListFormsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_entities; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws