/** * 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 Honeycode { namespace Model { class GetScreenDataResult { public: AWS_HONEYCODE_API GetScreenDataResult(); AWS_HONEYCODE_API GetScreenDataResult(const Aws::AmazonWebServiceResult& result); AWS_HONEYCODE_API GetScreenDataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A map of all the rows on the screen keyed by block name.

*/ inline const Aws::Map& GetResults() const{ return m_results; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline void SetResults(const Aws::Map& value) { m_results = value; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline void SetResults(Aws::Map&& value) { m_results = std::move(value); } /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& WithResults(const Aws::Map& value) { SetResults(value); return *this;} /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& WithResults(Aws::Map&& value) { SetResults(std::move(value)); return *this;} /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& AddResults(const Aws::String& key, const ResultSet& value) { m_results.emplace(key, value); return *this; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& AddResults(Aws::String&& key, const ResultSet& value) { m_results.emplace(std::move(key), value); return *this; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& AddResults(const Aws::String& key, ResultSet&& value) { m_results.emplace(key, std::move(value)); return *this; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& AddResults(Aws::String&& key, ResultSet&& value) { m_results.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& AddResults(const char* key, ResultSet&& value) { m_results.emplace(key, std::move(value)); return *this; } /** *

A map of all the rows on the screen keyed by block name.

*/ inline GetScreenDataResult& AddResults(const char* key, const ResultSet& value) { m_results.emplace(key, value); return *this; } /** *

Indicates the cursor of the workbook at which the data returned by this * workbook is read. Workbook cursor keeps increasing with every update and the * increments are not sequential.

*/ inline long long GetWorkbookCursor() const{ return m_workbookCursor; } /** *

Indicates the cursor of the workbook at which the data returned by this * workbook is read. Workbook cursor keeps increasing with every update and the * increments are not sequential.

*/ inline void SetWorkbookCursor(long long value) { m_workbookCursor = value; } /** *

Indicates the cursor of the workbook at which the data returned by this * workbook is read. Workbook cursor keeps increasing with every update and the * increments are not sequential.

*/ inline GetScreenDataResult& WithWorkbookCursor(long long value) { SetWorkbookCursor(value); return *this;} /** *

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

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

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

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

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

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

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

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

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

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

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

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

Provides the pagination token to load the next page if there are more * results matching the request. If a pagination token is not present in the * response, it means that all data matching the query has been loaded.

*/ inline GetScreenDataResult& 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 GetScreenDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetScreenDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetScreenDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_results; long long m_workbookCursor; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Honeycode } // namespace Aws