/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace AugmentedAIRuntime { namespace Model { /** */ class ListHumanLoopsRequest : public AugmentedAIRuntimeRequest { public: AWS_AUGMENTEDAIRUNTIME_API ListHumanLoopsRequest(); // 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 "ListHumanLoops"; } AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override; AWS_AUGMENTEDAIRUNTIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

(Optional) The timestamp of the date when you want the human loops to begin * in ISO 8601 format. For example, 2020-02-24.

*/ inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; } /** *

(Optional) The timestamp of the date when you want the human loops to begin * in ISO 8601 format. For example, 2020-02-24.

*/ inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; } /** *

(Optional) The timestamp of the date when you want the human loops to begin * in ISO 8601 format. For example, 2020-02-24.

*/ inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; } /** *

(Optional) The timestamp of the date when you want the human loops to begin * in ISO 8601 format. For example, 2020-02-24.

*/ inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); } /** *

(Optional) The timestamp of the date when you want the human loops to begin * in ISO 8601 format. For example, 2020-02-24.

*/ inline ListHumanLoopsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;} /** *

(Optional) The timestamp of the date when you want the human loops to begin * in ISO 8601 format. For example, 2020-02-24.

*/ inline ListHumanLoopsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;} /** *

(Optional) The timestamp of the date before which you want the human loops to * begin in ISO 8601 format. For example, 2020-02-24.

*/ inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; } /** *

(Optional) The timestamp of the date before which you want the human loops to * begin in ISO 8601 format. For example, 2020-02-24.

*/ inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; } /** *

(Optional) The timestamp of the date before which you want the human loops to * begin in ISO 8601 format. For example, 2020-02-24.

*/ inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; } /** *

(Optional) The timestamp of the date before which you want the human loops to * begin in ISO 8601 format. For example, 2020-02-24.

*/ inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); } /** *

(Optional) The timestamp of the date before which you want the human loops to * begin in ISO 8601 format. For example, 2020-02-24.

*/ inline ListHumanLoopsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;} /** *

(Optional) The timestamp of the date before which you want the human loops to * begin in ISO 8601 format. For example, 2020-02-24.

*/ inline ListHumanLoopsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; } /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; } /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline ListHumanLoopsRequest& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline ListHumanLoopsRequest& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a flow definition.

*/ inline ListHumanLoopsRequest& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;} /** *

Optional. The order for displaying results. Valid values: * Ascending and Descending.

*/ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } /** *

Optional. The order for displaying results. Valid values: * Ascending and Descending.

*/ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } /** *

Optional. The order for displaying results. Valid values: * Ascending and Descending.

*/ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } /** *

Optional. The order for displaying results. Valid values: * Ascending and Descending.

*/ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } /** *

Optional. The order for displaying results. Valid values: * Ascending and Descending.

*/ inline ListHumanLoopsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} /** *

Optional. The order for displaying results. Valid values: * Ascending and Descending.

*/ inline ListHumanLoopsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} /** *

A token to display the next page of results.

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

A token to display the next page of results.

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

A token to display the next page of results.

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

A token to display the next page of results.

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

A token to display the next page of results.

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

A token to display the next page of results.

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

A token to display the next page of results.

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

A token to display the next page of results.

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

The total number of items to return. If the total number of available items * is more than the value specified in MaxResults, then a * NextToken is returned in the output. You can use this token to * display the next page of results.

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

The total number of items to return. If the total number of available items * is more than the value specified in MaxResults, then a * NextToken is returned in the output. You can use this token to * display the next page of results.

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

The total number of items to return. If the total number of available items * is more than the value specified in MaxResults, then a * NextToken is returned in the output. You can use this token to * display the next page of results.

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

The total number of items to return. If the total number of available items * is more than the value specified in MaxResults, then a * NextToken is returned in the output. You can use this token to * display the next page of results.

*/ inline ListHumanLoopsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::Utils::DateTime m_creationTimeAfter; bool m_creationTimeAfterHasBeenSet = false; Aws::Utils::DateTime m_creationTimeBefore; bool m_creationTimeBeforeHasBeenSet = false; Aws::String m_flowDefinitionArn; bool m_flowDefinitionArnHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace AugmentedAIRuntime } // namespace Aws