/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Lambda { namespace Model { /** */ class AddPermissionRequest : public LambdaRequest { public: AWS_LAMBDA_API AddPermissionRequest(); // 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 "AddPermission"; } 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, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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 AddPermissionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} /** *

The name of the Lambda function, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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 AddPermissionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} /** *

The name of the Lambda function, version, or alias.

* Name formats

  • Function name – * my-function (name-only), my-function:v1 (with * alias).

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

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

You can * append a version number or alias to any of the formats. 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 AddPermissionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline const Aws::String& GetStatementId() const{ return m_statementId; } /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; } /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; } /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); } /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); } /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline AddPermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;} /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline AddPermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;} /** *

A statement identifier that differentiates the statement from others in the * same policy.

*/ inline AddPermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;} /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline const Aws::String& GetAction() const{ return m_action; } /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; } /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); } /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline AddPermissionRequest& WithAction(const Aws::String& value) { SetAction(value); return *this;} /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline AddPermissionRequest& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;} /** *

The action that the principal can use on the function. For example, * lambda:InvokeFunction or lambda:GetFunction.

*/ inline AddPermissionRequest& WithAction(const char* value) { SetAction(value); return *this;} /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline const Aws::String& GetPrincipal() const{ return m_principal; } /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline AddPermissionRequest& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline AddPermissionRequest& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} /** *

The Amazon Web Service or Amazon Web Services account that invokes the * function. If you specify a service, use SourceArn or * SourceAccount to limit who can invoke the function through that * service.

*/ inline AddPermissionRequest& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline AddPermissionRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline AddPermissionRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

For Amazon Web Services, the ARN of the Amazon Web Services resource that * invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

*

Note that Lambda configures the comparison using the StringLike * operator.

*/ inline AddPermissionRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline const Aws::String& GetSourceAccount() const{ return m_sourceAccount; } /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline bool SourceAccountHasBeenSet() const { return m_sourceAccountHasBeenSet; } /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline void SetSourceAccount(const Aws::String& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = value; } /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline void SetSourceAccount(Aws::String&& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = std::move(value); } /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline void SetSourceAccount(const char* value) { m_sourceAccountHasBeenSet = true; m_sourceAccount.assign(value); } /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline AddPermissionRequest& WithSourceAccount(const Aws::String& value) { SetSourceAccount(value); return *this;} /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline AddPermissionRequest& WithSourceAccount(Aws::String&& value) { SetSourceAccount(std::move(value)); return *this;} /** *

For Amazon Web Service, the ID of the Amazon Web Services account that owns * the resource. Use this together with SourceArn to ensure that the * specified account owns the resource. It is possible for an Amazon S3 bucket to * be deleted by its owner and recreated by another account.

*/ inline AddPermissionRequest& WithSourceAccount(const char* value) { SetSourceAccount(value); return *this;} /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline const Aws::String& GetEventSourceToken() const{ return m_eventSourceToken; } /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline bool EventSourceTokenHasBeenSet() const { return m_eventSourceTokenHasBeenSet; } /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline void SetEventSourceToken(const Aws::String& value) { m_eventSourceTokenHasBeenSet = true; m_eventSourceToken = value; } /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline void SetEventSourceToken(Aws::String&& value) { m_eventSourceTokenHasBeenSet = true; m_eventSourceToken = std::move(value); } /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline void SetEventSourceToken(const char* value) { m_eventSourceTokenHasBeenSet = true; m_eventSourceToken.assign(value); } /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline AddPermissionRequest& WithEventSourceToken(const Aws::String& value) { SetEventSourceToken(value); return *this;} /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline AddPermissionRequest& WithEventSourceToken(Aws::String&& value) { SetEventSourceToken(std::move(value)); return *this;} /** *

For Alexa Smart Home functions, a token that the invoker must supply.

*/ inline AddPermissionRequest& WithEventSourceToken(const char* value) { SetEventSourceToken(value); return *this;} /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline const Aws::String& GetQualifier() const{ return m_qualifier; } /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; } /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; } /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); } /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); } /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline AddPermissionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;} /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline AddPermissionRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;} /** *

Specify a version or alias to add permissions to a published version of the * function.

*/ inline AddPermissionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;} /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; } /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; } /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); } /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); } /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline AddPermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline AddPermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

Update the policy only if the revision ID matches the ID that's specified. * Use this option to avoid modifying a policy that has changed since you last read * it.

*/ inline AddPermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline const Aws::String& GetPrincipalOrgID() const{ return m_principalOrgID; } /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline bool PrincipalOrgIDHasBeenSet() const { return m_principalOrgIDHasBeenSet; } /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline void SetPrincipalOrgID(const Aws::String& value) { m_principalOrgIDHasBeenSet = true; m_principalOrgID = value; } /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline void SetPrincipalOrgID(Aws::String&& value) { m_principalOrgIDHasBeenSet = true; m_principalOrgID = std::move(value); } /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline void SetPrincipalOrgID(const char* value) { m_principalOrgIDHasBeenSet = true; m_principalOrgID.assign(value); } /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline AddPermissionRequest& WithPrincipalOrgID(const Aws::String& value) { SetPrincipalOrgID(value); return *this;} /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline AddPermissionRequest& WithPrincipalOrgID(Aws::String&& value) { SetPrincipalOrgID(std::move(value)); return *this;} /** *

The identifier for your organization in Organizations. Use this to grant * permissions to all the Amazon Web Services accounts under this organization.

*/ inline AddPermissionRequest& WithPrincipalOrgID(const char* value) { SetPrincipalOrgID(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.

*/ inline const FunctionUrlAuthType& GetFunctionUrlAuthType() const{ return m_functionUrlAuthType; } /** *

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.

*/ inline bool FunctionUrlAuthTypeHasBeenSet() const { return m_functionUrlAuthTypeHasBeenSet; } /** *

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.

*/ inline void SetFunctionUrlAuthType(const FunctionUrlAuthType& value) { m_functionUrlAuthTypeHasBeenSet = true; m_functionUrlAuthType = value; } /** *

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.

*/ inline void SetFunctionUrlAuthType(FunctionUrlAuthType&& value) { m_functionUrlAuthTypeHasBeenSet = true; m_functionUrlAuthType = std::move(value); } /** *

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.

*/ inline AddPermissionRequest& WithFunctionUrlAuthType(const FunctionUrlAuthType& value) { SetFunctionUrlAuthType(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.

*/ inline AddPermissionRequest& WithFunctionUrlAuthType(FunctionUrlAuthType&& value) { SetFunctionUrlAuthType(std::move(value)); return *this;} private: Aws::String m_functionName; bool m_functionNameHasBeenSet = false; Aws::String m_statementId; bool m_statementIdHasBeenSet = false; Aws::String m_action; bool m_actionHasBeenSet = false; Aws::String m_principal; bool m_principalHasBeenSet = false; Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; Aws::String m_sourceAccount; bool m_sourceAccountHasBeenSet = false; Aws::String m_eventSourceToken; bool m_eventSourceTokenHasBeenSet = false; Aws::String m_qualifier; bool m_qualifierHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; Aws::String m_principalOrgID; bool m_principalOrgIDHasBeenSet = false; FunctionUrlAuthType m_functionUrlAuthType; bool m_functionUrlAuthTypeHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws