/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Lambda { namespace Model { /** */ class ListProvisionedConcurrencyConfigsRequest : public LambdaRequest { public: AWS_LAMBDA_API ListProvisionedConcurrencyConfigsRequest(); // 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 "ListProvisionedConcurrencyConfigs"; } AWS_LAMBDA_API Aws::String SerializePayload() const override; AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline const Aws::String& GetFunctionName() const{ return m_functionName; } /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; } /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; } /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); } /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); } /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} /** *

The name of the Lambda function.

Name formats *

  • Function namemy-function.

  • *
  • Function ARN – * arn:aws:lambda:us-west-2:123456789012:function:my-function.

    *
  • Partial ARN – * 123456789012:function:my-function.

The length * constraint applies only to the full ARN. If you specify only the function name, * it is limited to 64 characters in length.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

Specify the pagination token that's returned by a previous request to * retrieve the next page of results.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Specify a number to limit the number of configurations returned.

*/ inline int GetMaxItems() const{ return m_maxItems; } /** *

Specify a number to limit the number of configurations returned.

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

Specify a number to limit the number of configurations returned.

*/ inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } /** *

Specify a number to limit the number of configurations returned.

*/ inline ListProvisionedConcurrencyConfigsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;} private: Aws::String m_functionName; bool m_functionNameHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; int m_maxItems; bool m_maxItemsHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws