/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class ListModelBiasJobDefinitionsRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API ListModelBiasJobDefinitionsRequest(); // 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 "ListModelBiasJobDefinitions"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Name of the endpoint to monitor for model bias.

*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *

Name of the endpoint to monitor for model bias.

*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *

Name of the endpoint to monitor for model bias.

*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *

Name of the endpoint to monitor for model bias.

*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *

Name of the endpoint to monitor for model bias.

*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *

Name of the endpoint to monitor for model bias.

*/ inline ListModelBiasJobDefinitionsRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *

Name of the endpoint to monitor for model bias.

*/ inline ListModelBiasJobDefinitionsRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *

Name of the endpoint to monitor for model bias.

*/ inline ListModelBiasJobDefinitionsRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *

Whether to sort results by the Name or CreationTime * field. The default is CreationTime.

*/ inline const MonitoringJobDefinitionSortKey& GetSortBy() const{ return m_sortBy; } /** *

Whether to sort results by the Name or CreationTime * field. The default is CreationTime.

*/ inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } /** *

Whether to sort results by the Name or CreationTime * field. The default is CreationTime.

*/ inline void SetSortBy(const MonitoringJobDefinitionSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; } /** *

Whether to sort results by the Name or CreationTime * field. The default is CreationTime.

*/ inline void SetSortBy(MonitoringJobDefinitionSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } /** *

Whether to sort results by the Name or CreationTime * field. The default is CreationTime.

*/ inline ListModelBiasJobDefinitionsRequest& WithSortBy(const MonitoringJobDefinitionSortKey& value) { SetSortBy(value); return *this;} /** *

Whether to sort results by the Name or CreationTime * field. The default is CreationTime.

*/ inline ListModelBiasJobDefinitionsRequest& WithSortBy(MonitoringJobDefinitionSortKey&& value) { SetSortBy(std::move(value)); return *this;} /** *

Whether to sort the results in Ascending or * Descending order. The default is Descending.

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

Whether to sort the results in Ascending or * Descending order. The default is Descending.

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

Whether to sort the results in Ascending or * Descending order. The default is Descending.

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

Whether to sort the results in Ascending or * Descending order. The default is Descending.

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

Whether to sort the results in Ascending or * Descending order. The default is Descending.

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

Whether to sort the results in Ascending or * Descending order. The default is Descending.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The token returned if the response is truncated. To retrieve the next set of * job executions, use it in the next request.

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

The maximum number of model bias jobs to return in the response. The default * value is 10.

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

The maximum number of model bias jobs to return in the response. The default * value is 10.

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

The maximum number of model bias jobs to return in the response. The default * value is 10.

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

The maximum number of model bias jobs to return in the response. The default * value is 10.

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

Filter for model bias jobs whose name contains a specified string.

*/ inline const Aws::String& GetNameContains() const{ return m_nameContains; } /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; } /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; } /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); } /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); } /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline ListModelBiasJobDefinitionsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;} /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline ListModelBiasJobDefinitionsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;} /** *

Filter for model bias jobs whose name contains a specified string.

*/ inline ListModelBiasJobDefinitionsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;} /** *

A filter that returns only model bias jobs created before a specified * time.

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

A filter that returns only model bias jobs created before a specified * time.

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

A filter that returns only model bias jobs created before a specified * time.

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

A filter that returns only model bias jobs created before a specified * time.

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

A filter that returns only model bias jobs created before a specified * time.

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

A filter that returns only model bias jobs created before a specified * time.

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

A filter that returns only model bias jobs created after a specified * time.

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

A filter that returns only model bias jobs created after a specified * time.

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

A filter that returns only model bias jobs created after a specified * time.

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

A filter that returns only model bias jobs created after a specified * time.

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

A filter that returns only model bias jobs created after a specified * time.

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

A filter that returns only model bias jobs created after a specified * time.

*/ inline ListModelBiasJobDefinitionsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;} private: Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; MonitoringJobDefinitionSortKey m_sortBy; bool m_sortByHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nameContains; bool m_nameContainsHasBeenSet = false; Aws::Utils::DateTime m_creationTimeBefore; bool m_creationTimeBeforeHasBeenSet = false; Aws::Utils::DateTime m_creationTimeAfter; bool m_creationTimeAfterHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws