/** * 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 ElasticBeanstalk { namespace Model { /** */ class ListPlatformBranchesRequest : public ElasticBeanstalkRequest { public: AWS_ELASTICBEANSTALK_API ListPlatformBranchesRequest(); // 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 "ListPlatformBranches"; } AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override; protected: AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

Criteria for restricting the resulting list of platform branches. The filter * is evaluated as a logical conjunction (AND) of the separate * SearchFilter terms.

The following list shows valid attribute * values for each of the SearchFilter terms. Most operators take a * single value. The in and not_in operators can take * multiple values.

  • Attribute = BranchName:

      *
    • Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = LifecycleState:

    • * Operator: = | != | in | * not_in

    • Values: beta | * supported | deprecated | retired

      *
  • Attribute = PlatformName:

    • *

      Operator: = | != | * begins_with | ends_with | contains | * in | not_in

  • * Attribute = TierType:

    • Operator: * = | !=

    • Values: * WebServer/Standard | Worker/SQS/HTTP

    *

Array size: limited to 10 SearchFilter objects.

*

Within each SearchFilter item, the Values array is * limited to 10 items.

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

The maximum number of platform branch values returned in one call.

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

The maximum number of platform branch values returned in one call.

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

The maximum number of platform branch values returned in one call.

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

The maximum number of platform branch values returned in one call.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

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

For a paginated request. Specify a token from a previous response page to * retrieve the next response page. All other parameter values must be identical to * the ones specified in the initial request.

If no NextToken * is specified, the first page is retrieved.

*/ inline ListPlatformBranchesRequest& 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 ElasticBeanstalk } // namespace Aws