/** * 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 { namespace Athena { namespace Model { /** */ class ListNotebookMetadataRequest : public AthenaRequest { public: AWS_ATHENA_API ListNotebookMetadataRequest(); // 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 "ListNotebookMetadata"; } AWS_ATHENA_API Aws::String SerializePayload() const override; AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Search filter string.

*/ inline const FilterDefinition& GetFilters() const{ return m_filters; } /** *

Search filter string.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

Search filter string.

*/ inline void SetFilters(const FilterDefinition& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

Search filter string.

*/ inline void SetFilters(FilterDefinition&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

Search filter string.

*/ inline ListNotebookMetadataRequest& WithFilters(const FilterDefinition& value) { SetFilters(value); return *this;} /** *

Search filter string.

*/ inline ListNotebookMetadataRequest& WithFilters(FilterDefinition&& value) { SetFilters(std::move(value)); return *this;} /** *

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

A token generated by the Athena service that specifies where to continue * pagination if a previous request was truncated.

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

Specifies the maximum number of results to return.

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

Specifies the maximum number of results to return.

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

Specifies the maximum number of results to return.

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

Specifies the maximum number of results to return.

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

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline const Aws::String& GetWorkGroup() const{ return m_workGroup; } /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; } /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; } /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); } /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); } /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline ListNotebookMetadataRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;} /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline ListNotebookMetadataRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;} /** *

The name of the Spark enabled workgroup to retrieve notebook metadata * for.

*/ inline ListNotebookMetadataRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;} private: FilterDefinition m_filters; bool m_filtersHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_workGroup; bool m_workGroupHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws