/** * 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 #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class ListFeatureGroupsRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API ListFeatureGroupsRequest(); // 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 "ListFeatureGroups"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A string that partially matches one or more FeatureGroups names. * Filters FeatureGroups by name.

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

A FeatureGroup status. Filters by FeatureGroup * status.

*/ inline const FeatureGroupStatus& GetFeatureGroupStatusEquals() const{ return m_featureGroupStatusEquals; } /** *

A FeatureGroup status. Filters by FeatureGroup * status.

*/ inline bool FeatureGroupStatusEqualsHasBeenSet() const { return m_featureGroupStatusEqualsHasBeenSet; } /** *

A FeatureGroup status. Filters by FeatureGroup * status.

*/ inline void SetFeatureGroupStatusEquals(const FeatureGroupStatus& value) { m_featureGroupStatusEqualsHasBeenSet = true; m_featureGroupStatusEquals = value; } /** *

A FeatureGroup status. Filters by FeatureGroup * status.

*/ inline void SetFeatureGroupStatusEquals(FeatureGroupStatus&& value) { m_featureGroupStatusEqualsHasBeenSet = true; m_featureGroupStatusEquals = std::move(value); } /** *

A FeatureGroup status. Filters by FeatureGroup * status.

*/ inline ListFeatureGroupsRequest& WithFeatureGroupStatusEquals(const FeatureGroupStatus& value) { SetFeatureGroupStatusEquals(value); return *this;} /** *

A FeatureGroup status. Filters by FeatureGroup * status.

*/ inline ListFeatureGroupsRequest& WithFeatureGroupStatusEquals(FeatureGroupStatus&& value) { SetFeatureGroupStatusEquals(std::move(value)); return *this;} /** *

An OfflineStore status. Filters by OfflineStore * status.

*/ inline const OfflineStoreStatusValue& GetOfflineStoreStatusEquals() const{ return m_offlineStoreStatusEquals; } /** *

An OfflineStore status. Filters by OfflineStore * status.

*/ inline bool OfflineStoreStatusEqualsHasBeenSet() const { return m_offlineStoreStatusEqualsHasBeenSet; } /** *

An OfflineStore status. Filters by OfflineStore * status.

*/ inline void SetOfflineStoreStatusEquals(const OfflineStoreStatusValue& value) { m_offlineStoreStatusEqualsHasBeenSet = true; m_offlineStoreStatusEquals = value; } /** *

An OfflineStore status. Filters by OfflineStore * status.

*/ inline void SetOfflineStoreStatusEquals(OfflineStoreStatusValue&& value) { m_offlineStoreStatusEqualsHasBeenSet = true; m_offlineStoreStatusEquals = std::move(value); } /** *

An OfflineStore status. Filters by OfflineStore * status.

*/ inline ListFeatureGroupsRequest& WithOfflineStoreStatusEquals(const OfflineStoreStatusValue& value) { SetOfflineStoreStatusEquals(value); return *this;} /** *

An OfflineStore status. Filters by OfflineStore * status.

*/ inline ListFeatureGroupsRequest& WithOfflineStoreStatusEquals(OfflineStoreStatusValue&& value) { SetOfflineStoreStatusEquals(std::move(value)); return *this;} /** *

Use this parameter to search for FeatureGroupss created after a * specific date and time.

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

Use this parameter to search for FeatureGroupss created after a * specific date and time.

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

Use this parameter to search for FeatureGroupss created after a * specific date and time.

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

Use this parameter to search for FeatureGroupss created after a * specific date and time.

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

Use this parameter to search for FeatureGroupss created after a * specific date and time.

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

Use this parameter to search for FeatureGroupss created after a * specific date and time.

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

Use this parameter to search for FeatureGroupss created before a * specific date and time.

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

Use this parameter to search for FeatureGroupss created before a * specific date and time.

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

Use this parameter to search for FeatureGroupss created before a * specific date and time.

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

Use this parameter to search for FeatureGroupss created before a * specific date and time.

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

Use this parameter to search for FeatureGroupss created before a * specific date and time.

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

Use this parameter to search for FeatureGroupss created before a * specific date and time.

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

The order in which feature groups are listed.

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

The order in which feature groups are listed.

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

The order in which feature groups are listed.

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

The order in which feature groups are listed.

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

The order in which feature groups are listed.

*/ inline ListFeatureGroupsRequest& WithSortOrder(const FeatureGroupSortOrder& value) { SetSortOrder(value); return *this;} /** *

The order in which feature groups are listed.

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

The value on which the feature group list is sorted.

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

The value on which the feature group list is sorted.

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

The value on which the feature group list is sorted.

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

The value on which the feature group list is sorted.

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

The value on which the feature group list is sorted.

*/ inline ListFeatureGroupsRequest& WithSortBy(const FeatureGroupSortBy& value) { SetSortBy(value); return *this;} /** *

The value on which the feature group list is sorted.

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

The maximum number of results returned by ListFeatureGroups.

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

The maximum number of results returned by ListFeatureGroups.

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

The maximum number of results returned by ListFeatureGroups.

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

The maximum number of results returned by ListFeatureGroups.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

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

A token to resume pagination of ListFeatureGroups results.

*/ inline ListFeatureGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_nameContains; bool m_nameContainsHasBeenSet = false; FeatureGroupStatus m_featureGroupStatusEquals; bool m_featureGroupStatusEqualsHasBeenSet = false; OfflineStoreStatusValue m_offlineStoreStatusEquals; bool m_offlineStoreStatusEqualsHasBeenSet = false; Aws::Utils::DateTime m_creationTimeAfter; bool m_creationTimeAfterHasBeenSet = false; Aws::Utils::DateTime m_creationTimeBefore; bool m_creationTimeBeforeHasBeenSet = false; FeatureGroupSortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; FeatureGroupSortBy m_sortBy; bool m_sortByHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws