/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Honeycode { namespace Model { /** */ class ListTableColumnsRequest : public HoneycodeRequest { public: AWS_HONEYCODE_API ListTableColumnsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListTableColumns"; } AWS_HONEYCODE_API Aws::String SerializePayload() const override; AWS_HONEYCODE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline const Aws::String& GetWorkbookId() const{ return m_workbookId; } /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; } /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; } /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); } /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); } /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline ListTableColumnsRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;} /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline ListTableColumnsRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;} /** *

The ID of the workbook that contains the table whose columns are being * retrieved.

If a workbook with the specified id could not be found, this * API throws ResourceNotFoundException.

*/ inline ListTableColumnsRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;} /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline const Aws::String& GetTableId() const{ return m_tableId; } /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; } /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; } /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); } /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); } /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline ListTableColumnsRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;} /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline ListTableColumnsRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;} /** *

The ID of the table whose columns are being retrieved.

If a table * with the specified id could not be found, this API throws * ResourceNotFoundException.

*/ inline ListTableColumnsRequest& WithTableId(const char* value) { SetTableId(value); return *this;} /** *

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

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

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

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

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

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

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

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

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

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

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

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

This parameter is optional. If a nextToken is not specified, the API returns * the first page of data.

Pagination tokens expire after 1 hour. If you * use a token that was returned more than an hour back, the API will throw * ValidationException.

*/ inline ListTableColumnsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_workbookId; bool m_workbookIdHasBeenSet = false; Aws::String m_tableId; bool m_tableIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws