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

The total number of items to return in the response. If the total number of * items available is more than the value specified, a NextToken is * provided in the response. To resume pagination, provide the * NextToken value in the as part of a subsequent call. The default * value is 10.

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

The total number of items to return in the response. If the total number of * items available is more than the value specified, a NextToken is * provided in the response. To resume pagination, provide the * NextToken value in the as part of a subsequent call. The default * value is 10.

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

The total number of items to return in the response. If the total number of * items available is more than the value specified, a NextToken is * provided in the response. To resume pagination, provide the * NextToken value in the as part of a subsequent call. The default * value is 10.

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

The total number of items to return in the response. If the total number of * items available is more than the value specified, a NextToken is * provided in the response. To resume pagination, provide the * NextToken value in the as part of a subsequent call. The default * value is 10.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

If the previous call to ListStudioLifecycleConfigs didn't return the full set * of Lifecycle Configurations, the call returns a token for getting the next set * of Lifecycle Configurations.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A string in the Lifecycle Configuration name. This filter returns only * Lifecycle Configurations whose name contains the specified string.

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

A parameter to search for the App Type to which the Lifecycle Configuration * is attached.

*/ inline const StudioLifecycleConfigAppType& GetAppTypeEquals() const{ return m_appTypeEquals; } /** *

A parameter to search for the App Type to which the Lifecycle Configuration * is attached.

*/ inline bool AppTypeEqualsHasBeenSet() const { return m_appTypeEqualsHasBeenSet; } /** *

A parameter to search for the App Type to which the Lifecycle Configuration * is attached.

*/ inline void SetAppTypeEquals(const StudioLifecycleConfigAppType& value) { m_appTypeEqualsHasBeenSet = true; m_appTypeEquals = value; } /** *

A parameter to search for the App Type to which the Lifecycle Configuration * is attached.

*/ inline void SetAppTypeEquals(StudioLifecycleConfigAppType&& value) { m_appTypeEqualsHasBeenSet = true; m_appTypeEquals = std::move(value); } /** *

A parameter to search for the App Type to which the Lifecycle Configuration * is attached.

*/ inline ListStudioLifecycleConfigsRequest& WithAppTypeEquals(const StudioLifecycleConfigAppType& value) { SetAppTypeEquals(value); return *this;} /** *

A parameter to search for the App Type to which the Lifecycle Configuration * is attached.

*/ inline ListStudioLifecycleConfigsRequest& WithAppTypeEquals(StudioLifecycleConfigAppType&& value) { SetAppTypeEquals(std::move(value)); return *this;} /** *

A filter that returns only Lifecycle Configurations created on or before the * specified time.

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

A filter that returns only Lifecycle Configurations created on or before the * specified time.

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

A filter that returns only Lifecycle Configurations created on or before the * specified time.

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

A filter that returns only Lifecycle Configurations created on or before the * specified time.

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

A filter that returns only Lifecycle Configurations created on or before the * specified time.

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

A filter that returns only Lifecycle Configurations created on or before the * specified time.

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

A filter that returns only Lifecycle Configurations created on or after the * specified time.

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

A filter that returns only Lifecycle Configurations created on or after the * specified time.

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

A filter that returns only Lifecycle Configurations created on or after the * specified time.

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

A filter that returns only Lifecycle Configurations created on or after the * specified time.

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

A filter that returns only Lifecycle Configurations created on or after the * specified time.

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

A filter that returns only Lifecycle Configurations created on or after the * specified time.

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

A filter that returns only Lifecycle Configurations modified before the * specified time.

*/ inline const Aws::Utils::DateTime& GetModifiedTimeBefore() const{ return m_modifiedTimeBefore; } /** *

A filter that returns only Lifecycle Configurations modified before the * specified time.

*/ inline bool ModifiedTimeBeforeHasBeenSet() const { return m_modifiedTimeBeforeHasBeenSet; } /** *

A filter that returns only Lifecycle Configurations modified before the * specified time.

*/ inline void SetModifiedTimeBefore(const Aws::Utils::DateTime& value) { m_modifiedTimeBeforeHasBeenSet = true; m_modifiedTimeBefore = value; } /** *

A filter that returns only Lifecycle Configurations modified before the * specified time.

*/ inline void SetModifiedTimeBefore(Aws::Utils::DateTime&& value) { m_modifiedTimeBeforeHasBeenSet = true; m_modifiedTimeBefore = std::move(value); } /** *

A filter that returns only Lifecycle Configurations modified before the * specified time.

*/ inline ListStudioLifecycleConfigsRequest& WithModifiedTimeBefore(const Aws::Utils::DateTime& value) { SetModifiedTimeBefore(value); return *this;} /** *

A filter that returns only Lifecycle Configurations modified before the * specified time.

*/ inline ListStudioLifecycleConfigsRequest& WithModifiedTimeBefore(Aws::Utils::DateTime&& value) { SetModifiedTimeBefore(std::move(value)); return *this;} /** *

A filter that returns only Lifecycle Configurations modified after the * specified time.

*/ inline const Aws::Utils::DateTime& GetModifiedTimeAfter() const{ return m_modifiedTimeAfter; } /** *

A filter that returns only Lifecycle Configurations modified after the * specified time.

*/ inline bool ModifiedTimeAfterHasBeenSet() const { return m_modifiedTimeAfterHasBeenSet; } /** *

A filter that returns only Lifecycle Configurations modified after the * specified time.

*/ inline void SetModifiedTimeAfter(const Aws::Utils::DateTime& value) { m_modifiedTimeAfterHasBeenSet = true; m_modifiedTimeAfter = value; } /** *

A filter that returns only Lifecycle Configurations modified after the * specified time.

*/ inline void SetModifiedTimeAfter(Aws::Utils::DateTime&& value) { m_modifiedTimeAfterHasBeenSet = true; m_modifiedTimeAfter = std::move(value); } /** *

A filter that returns only Lifecycle Configurations modified after the * specified time.

*/ inline ListStudioLifecycleConfigsRequest& WithModifiedTimeAfter(const Aws::Utils::DateTime& value) { SetModifiedTimeAfter(value); return *this;} /** *

A filter that returns only Lifecycle Configurations modified after the * specified time.

*/ inline ListStudioLifecycleConfigsRequest& WithModifiedTimeAfter(Aws::Utils::DateTime&& value) { SetModifiedTimeAfter(std::move(value)); return *this;} /** *

The property used to sort results. The default value is CreationTime.

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

The property used to sort results. The default value is CreationTime.

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

The property used to sort results. The default value is CreationTime.

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

The property used to sort results. The default value is CreationTime.

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

The property used to sort results. The default value is CreationTime.

*/ inline ListStudioLifecycleConfigsRequest& WithSortBy(const StudioLifecycleConfigSortKey& value) { SetSortBy(value); return *this;} /** *

The property used to sort results. The default value is CreationTime.

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

The sort order. The default value is Descending.

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

The sort order. The default value is Descending.

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

The sort order. The default value is Descending.

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

The sort order. The default value is Descending.

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

The sort order. The default value is Descending.

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

The sort order. The default value is Descending.

*/ inline ListStudioLifecycleConfigsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_nameContains; bool m_nameContainsHasBeenSet = false; StudioLifecycleConfigAppType m_appTypeEquals; bool m_appTypeEqualsHasBeenSet = false; Aws::Utils::DateTime m_creationTimeBefore; bool m_creationTimeBeforeHasBeenSet = false; Aws::Utils::DateTime m_creationTimeAfter; bool m_creationTimeAfterHasBeenSet = false; Aws::Utils::DateTime m_modifiedTimeBefore; bool m_modifiedTimeBeforeHasBeenSet = false; Aws::Utils::DateTime m_modifiedTimeAfter; bool m_modifiedTimeAfterHasBeenSet = false; StudioLifecycleConfigSortKey m_sortBy; bool m_sortByHasBeenSet = false; SortOrder m_sortOrder; bool m_sortOrderHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws