/** * 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 Comprehend { namespace Model { /** */ class ListFlywheelsRequest : public ComprehendRequest { public: AWS_COMPREHEND_API ListFlywheelsRequest(); // 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 "ListFlywheels"; } AWS_COMPREHEND_API Aws::String SerializePayload() const override; AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Filters the flywheels that are returned. You can filter flywheels on their * status, or the date and time that they were submitted. You can only set one * filter at a time.

*/ inline const FlywheelFilter& GetFilter() const{ return m_filter; } /** *

Filters the flywheels that are returned. You can filter flywheels on their * status, or the date and time that they were submitted. You can only set one * filter at a time.

*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *

Filters the flywheels that are returned. You can filter flywheels on their * status, or the date and time that they were submitted. You can only set one * filter at a time.

*/ inline void SetFilter(const FlywheelFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** *

Filters the flywheels that are returned. You can filter flywheels on their * status, or the date and time that they were submitted. You can only set one * filter at a time.

*/ inline void SetFilter(FlywheelFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** *

Filters the flywheels that are returned. You can filter flywheels on their * status, or the date and time that they were submitted. You can only set one * filter at a time.

*/ inline ListFlywheelsRequest& WithFilter(const FlywheelFilter& value) { SetFilter(value); return *this;} /** *

Filters the flywheels that are returned. You can filter flywheels on their * status, or the date and time that they were submitted. You can only set one * filter at a time.

*/ inline ListFlywheelsRequest& WithFilter(FlywheelFilter&& value) { SetFilter(std::move(value)); return *this;} /** *

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Identifies the next page of results to return.

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

Maximum number of results to return in a response. The default is 100.

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

Maximum number of results to return in a response. The default is 100.

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

Maximum number of results to return in a response. The default is 100.

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

Maximum number of results to return in a response. The default is 100.

*/ inline ListFlywheelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: FlywheelFilter m_filter; bool m_filterHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws