/** * 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 DatabaseMigrationService { namespace Model { /** */ class DescribeRecommendationLimitationsRequest : public DatabaseMigrationServiceRequest { public: AWS_DATABASEMIGRATIONSERVICE_API DescribeRecommendationLimitationsRequest(); // 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 "DescribeRecommendationLimitations"; } AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override; AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline DescribeRecommendationLimitationsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline DescribeRecommendationLimitationsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline DescribeRecommendationLimitationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

Filters applied to the limitations described in the form of key-value * pairs.

*/ inline DescribeRecommendationLimitationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, Fleet Advisor includes a * pagination token in the response so that you can retrieve the remaining * results.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, Fleet Advisor includes a * pagination token in the response so that you can retrieve the remaining * results.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, Fleet Advisor includes a * pagination token in the response so that you can retrieve the remaining * results.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, Fleet Advisor includes a * pagination token in the response so that you can retrieve the remaining * results.

*/ inline DescribeRecommendationLimitationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

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

Specifies the unique pagination token that makes it possible to display the * next page of results. If this parameter is specified, the response includes only * records beyond the marker, up to the value specified by * MaxRecords.

If NextToken is returned by a * previous response, there are more results available. The value of * NextToken is a unique pagination token for each page. Make the call * again using the returned token to retrieve the next page. Keep all other * arguments unchanged.

*/ inline DescribeRecommendationLimitationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_filters; bool m_filtersHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws