/** * 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 DescribeFleetAdvisorCollectorsRequest : public DatabaseMigrationServiceRequest { public: AWS_DATABASEMIGRATIONSERVICE_API DescribeFleetAdvisorCollectorsRequest(); // 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 "DescribeFleetAdvisorCollectors"; } AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override; AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

If you specify any of the following filters, the output includes information * for only those collectors that meet the filter criteria:

  • * collector-referenced-id – The ID of the collector agent, for * example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

  • * collector-name – The name of the collector agent.

*

An example is: describe-fleet-advisor-collectors --filter * Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d" *

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

Sets the maximum number of records returned in the response.

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

Sets the maximum number of records returned in the response.

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

Sets the maximum number of records returned in the response.

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

Sets the maximum number of records returned in the response.

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

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; } /** *

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; } /** *

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; } /** *

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); } /** *

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); } /** *

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 DescribeFleetAdvisorCollectorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

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 DescribeFleetAdvisorCollectorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

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 DescribeFleetAdvisorCollectorsRequest& 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