/** * 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 ListFlywheelIterationHistoryRequest : public ComprehendRequest { public: AWS_COMPREHEND_API ListFlywheelIterationHistoryRequest(); // 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 "ListFlywheelIterationHistory"; } AWS_COMPREHEND_API Aws::String SerializePayload() const override; AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the flywheel.

*/ inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; } /** *

The ARN of the flywheel.

*/ inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; } /** *

The ARN of the flywheel.

*/ inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; } /** *

The ARN of the flywheel.

*/ inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); } /** *

The ARN of the flywheel.

*/ inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); } /** *

The ARN of the flywheel.

*/ inline ListFlywheelIterationHistoryRequest& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;} /** *

The ARN of the flywheel.

*/ inline ListFlywheelIterationHistoryRequest& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;} /** *

The ARN of the flywheel.

*/ inline ListFlywheelIterationHistoryRequest& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;} /** *

Filter the flywheel iteration history based on creation time.

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

Filter the flywheel iteration history based on creation time.

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

Filter the flywheel iteration history based on creation time.

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

Filter the flywheel iteration history based on creation time.

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

Filter the flywheel iteration history based on creation time.

*/ inline ListFlywheelIterationHistoryRequest& WithFilter(const FlywheelIterationFilter& value) { SetFilter(value); return *this;} /** *

Filter the flywheel iteration history based on creation time.

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

Next token

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

Next token

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

Next token

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

Next token

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

Next token

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

Next token

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

Next token

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

Next token

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

Maximum number of iteration history results to return

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

Maximum number of iteration history results to return

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

Maximum number of iteration history results to return

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

Maximum number of iteration history results to return

*/ inline ListFlywheelIterationHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_flywheelArn; bool m_flywheelArnHasBeenSet = false; FlywheelIterationFilter 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