/** * 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 RedshiftServerless { namespace Model { /** */ class ListTableRestoreStatusRequest : public RedshiftServerlessRequest { public: AWS_REDSHIFTSERVERLESS_API ListTableRestoreStatusRequest(); // 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 "ListTableRestoreStatus"; } AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override; AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

An optional parameter that specifies the maximum number of results to return. * You can use nextToken to display the next page of results.

*/ inline ListTableRestoreStatusRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; } /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; } /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; } /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); } /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); } /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline ListTableRestoreStatusRequest& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;} /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline ListTableRestoreStatusRequest& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;} /** *

The namespace from which to list all of the statuses of * RestoreTableFromSnapshot operations .

*/ inline ListTableRestoreStatusRequest& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;} /** *

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

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

If your initial ListTableRestoreStatus operation returns a * nextToken, you can include the returned nextToken in following * ListTableRestoreStatus operations. This will return results on the * next page.

*/ inline ListTableRestoreStatusRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline ListTableRestoreStatusRequest& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline ListTableRestoreStatusRequest& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} /** *

The workgroup from which to list all of the statuses of * RestoreTableFromSnapshot operations.

*/ inline ListTableRestoreStatusRequest& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_namespaceName; bool m_namespaceNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_workgroupName; bool m_workgroupNameHasBeenSet = false; }; } // namespace Model } // namespace RedshiftServerless } // namespace Aws