/** * 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 SageMakerGeospatial { namespace Model { /** */ class ListVectorEnrichmentJobsRequest : public SageMakerGeospatialRequest { public: AWS_SAGEMAKERGEOSPATIAL_API ListVectorEnrichmentJobsRequest(); // 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 "ListVectorEnrichmentJobs"; } AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override; /** *

The maximum number of items to return.

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

The maximum number of items to return.

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

The maximum number of items to return.

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

The maximum number of items to return.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

If the previous response was truncated, you receive this token. Use it in * your next request to receive the next set of results.

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

The parameter by which to sort the results.

*/ inline const Aws::String& GetSortBy() const{ return m_sortBy; } /** *

The parameter by which to sort the results.

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

The parameter by which to sort the results.

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

The parameter by which to sort the results.

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

The parameter by which to sort the results.

*/ inline void SetSortBy(const char* value) { m_sortByHasBeenSet = true; m_sortBy.assign(value); } /** *

The parameter by which to sort the results.

*/ inline ListVectorEnrichmentJobsRequest& WithSortBy(const Aws::String& value) { SetSortBy(value); return *this;} /** *

The parameter by which to sort the results.

*/ inline ListVectorEnrichmentJobsRequest& WithSortBy(Aws::String&& value) { SetSortBy(std::move(value)); return *this;} /** *

The parameter by which to sort the results.

*/ inline ListVectorEnrichmentJobsRequest& WithSortBy(const char* value) { SetSortBy(value); return *this;} /** *

An optional value that specifies whether you want the results sorted in * Ascending or Descending order.

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

An optional value that specifies whether you want the results sorted in * Ascending or Descending order.

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

An optional value that specifies whether you want the results sorted in * Ascending or Descending order.

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

An optional value that specifies whether you want the results sorted in * Ascending or Descending order.

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

An optional value that specifies whether you want the results sorted in * Ascending or Descending order.

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

An optional value that specifies whether you want the results sorted in * Ascending or Descending order.

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

A filter that retrieves only jobs with a specific status.

*/ inline const Aws::String& GetStatusEquals() const{ return m_statusEquals; } /** *

A filter that retrieves only jobs with a specific status.

*/ inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; } /** *

A filter that retrieves only jobs with a specific status.

*/ inline void SetStatusEquals(const Aws::String& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; } /** *

A filter that retrieves only jobs with a specific status.

*/ inline void SetStatusEquals(Aws::String&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); } /** *

A filter that retrieves only jobs with a specific status.

*/ inline void SetStatusEquals(const char* value) { m_statusEqualsHasBeenSet = true; m_statusEquals.assign(value); } /** *

A filter that retrieves only jobs with a specific status.

*/ inline ListVectorEnrichmentJobsRequest& WithStatusEquals(const Aws::String& value) { SetStatusEquals(value); return *this;} /** *

A filter that retrieves only jobs with a specific status.

*/ inline ListVectorEnrichmentJobsRequest& WithStatusEquals(Aws::String&& value) { SetStatusEquals(std::move(value)); return *this;} /** *

A filter that retrieves only jobs with a specific status.

*/ inline ListVectorEnrichmentJobsRequest& WithStatusEquals(const char* value) { SetStatusEquals(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_sortBy; bool m_sortByHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; Aws::String m_statusEquals; bool m_statusEqualsHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws