/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a Lambda function URL.See Also:
AWS
* API Reference
The HTTP URL endpoint for your function.
*/ inline const Aws::String& GetFunctionUrl() const{ return m_functionUrl; } /** *The HTTP URL endpoint for your function.
*/ inline bool FunctionUrlHasBeenSet() const { return m_functionUrlHasBeenSet; } /** *The HTTP URL endpoint for your function.
*/ inline void SetFunctionUrl(const Aws::String& value) { m_functionUrlHasBeenSet = true; m_functionUrl = value; } /** *The HTTP URL endpoint for your function.
*/ inline void SetFunctionUrl(Aws::String&& value) { m_functionUrlHasBeenSet = true; m_functionUrl = std::move(value); } /** *The HTTP URL endpoint for your function.
*/ inline void SetFunctionUrl(const char* value) { m_functionUrlHasBeenSet = true; m_functionUrl.assign(value); } /** *The HTTP URL endpoint for your function.
*/ inline FunctionUrlConfig& WithFunctionUrl(const Aws::String& value) { SetFunctionUrl(value); return *this;} /** *The HTTP URL endpoint for your function.
*/ inline FunctionUrlConfig& WithFunctionUrl(Aws::String&& value) { SetFunctionUrl(std::move(value)); return *this;} /** *The HTTP URL endpoint for your function.
*/ inline FunctionUrlConfig& WithFunctionUrl(const char* value) { SetFunctionUrl(value); return *this;} /** *The Amazon Resource Name (ARN) of your function.
*/ inline const Aws::String& GetFunctionArn() const{ return m_functionArn; } /** *The Amazon Resource Name (ARN) of your function.
*/ inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of your function.
*/ inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; } /** *The Amazon Resource Name (ARN) of your function.
*/ inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of your function.
*/ inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); } /** *The Amazon Resource Name (ARN) of your function.
*/ inline FunctionUrlConfig& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of your function.
*/ inline FunctionUrlConfig& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of your function.
*/ inline FunctionUrlConfig& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;} /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline const Aws::String& GetCreationTime() const{ return m_creationTime; } /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); } /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline FunctionUrlConfig& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline FunctionUrlConfig& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *When the function URL was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline FunctionUrlConfig& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline const Aws::String& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetLastModifiedTime(const Aws::String& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetLastModifiedTime(Aws::String&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline void SetLastModifiedTime(const char* value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime.assign(value); } /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline FunctionUrlConfig& WithLastModifiedTime(const Aws::String& value) { SetLastModifiedTime(value); return *this;} /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline FunctionUrlConfig& WithLastModifiedTime(Aws::String&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *When the function URL configuration was last updated, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).
*/ inline FunctionUrlConfig& WithLastModifiedTime(const char* value) { SetLastModifiedTime(value); return *this;} /** *The cross-origin * resource sharing (CORS) settings for your function URL.
*/ inline const Cors& GetCors() const{ return m_cors; } /** *The cross-origin * resource sharing (CORS) settings for your function URL.
*/ inline bool CorsHasBeenSet() const { return m_corsHasBeenSet; } /** *The cross-origin * resource sharing (CORS) settings for your function URL.
*/ inline void SetCors(const Cors& value) { m_corsHasBeenSet = true; m_cors = value; } /** *The cross-origin * resource sharing (CORS) settings for your function URL.
*/ inline void SetCors(Cors&& value) { m_corsHasBeenSet = true; m_cors = std::move(value); } /** *The cross-origin * resource sharing (CORS) settings for your function URL.
*/ inline FunctionUrlConfig& WithCors(const Cors& value) { SetCors(value); return *this;} /** *The cross-origin * resource sharing (CORS) settings for your function URL.
*/ inline FunctionUrlConfig& WithCors(Cors&& value) { SetCors(std::move(value)); return *this;} /** *The type of authentication that your function URL uses. Set to
* AWS_IAM
if you want to restrict access to authenticated users only.
* Set to NONE
if you want to bypass IAM authentication to create a
* public endpoint. For more information, see Security and
* auth model for Lambda function URLs.
The type of authentication that your function URL uses. Set to
* AWS_IAM
if you want to restrict access to authenticated users only.
* Set to NONE
if you want to bypass IAM authentication to create a
* public endpoint. For more information, see Security and
* auth model for Lambda function URLs.
The type of authentication that your function URL uses. Set to
* AWS_IAM
if you want to restrict access to authenticated users only.
* Set to NONE
if you want to bypass IAM authentication to create a
* public endpoint. For more information, see Security and
* auth model for Lambda function URLs.
The type of authentication that your function URL uses. Set to
* AWS_IAM
if you want to restrict access to authenticated users only.
* Set to NONE
if you want to bypass IAM authentication to create a
* public endpoint. For more information, see Security and
* auth model for Lambda function URLs.
The type of authentication that your function URL uses. Set to
* AWS_IAM
if you want to restrict access to authenticated users only.
* Set to NONE
if you want to bypass IAM authentication to create a
* public endpoint. For more information, see Security and
* auth model for Lambda function URLs.
The type of authentication that your function URL uses. Set to
* AWS_IAM
if you want to restrict access to authenticated users only.
* Set to NONE
if you want to bypass IAM authentication to create a
* public endpoint. For more information, see Security and
* auth model for Lambda function URLs.
Use one of the following options:
BUFFERED
–
* This is the default option. Lambda invokes your function using the
* Invoke
API operation. Invocation results are available when the
* payload is complete. The maximum payload size is 6 MB.
* RESPONSE_STREAM
– Your function streams payload results as they
* become available. Lambda invokes your function using the
* InvokeWithResponseStream
API operation. The maximum response
* payload size is 20 MB, however, you can request
* a quota increase.
Use one of the following options:
BUFFERED
–
* This is the default option. Lambda invokes your function using the
* Invoke
API operation. Invocation results are available when the
* payload is complete. The maximum payload size is 6 MB.
* RESPONSE_STREAM
– Your function streams payload results as they
* become available. Lambda invokes your function using the
* InvokeWithResponseStream
API operation. The maximum response
* payload size is 20 MB, however, you can request
* a quota increase.
Use one of the following options:
BUFFERED
–
* This is the default option. Lambda invokes your function using the
* Invoke
API operation. Invocation results are available when the
* payload is complete. The maximum payload size is 6 MB.
* RESPONSE_STREAM
– Your function streams payload results as they
* become available. Lambda invokes your function using the
* InvokeWithResponseStream
API operation. The maximum response
* payload size is 20 MB, however, you can request
* a quota increase.
Use one of the following options:
BUFFERED
–
* This is the default option. Lambda invokes your function using the
* Invoke
API operation. Invocation results are available when the
* payload is complete. The maximum payload size is 6 MB.
* RESPONSE_STREAM
– Your function streams payload results as they
* become available. Lambda invokes your function using the
* InvokeWithResponseStream
API operation. The maximum response
* payload size is 20 MB, however, you can request
* a quota increase.
Use one of the following options:
BUFFERED
–
* This is the default option. Lambda invokes your function using the
* Invoke
API operation. Invocation results are available when the
* payload is complete. The maximum payload size is 6 MB.
* RESPONSE_STREAM
– Your function streams payload results as they
* become available. Lambda invokes your function using the
* InvokeWithResponseStream
API operation. The maximum response
* payload size is 20 MB, however, you can request
* a quota increase.
Use one of the following options:
BUFFERED
–
* This is the default option. Lambda invokes your function using the
* Invoke
API operation. Invocation results are available when the
* payload is complete. The maximum payload size is 6 MB.
* RESPONSE_STREAM
– Your function streams payload results as they
* become available. Lambda invokes your function using the
* InvokeWithResponseStream
API operation. The maximum response
* payload size is 20 MB, however, you can request
* a quota increase.