/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options for managing connection authorization for new client
* connections.See Also:
AWS
* API Reference
Indicates whether client connect options are enabled. The default is
* false
(not enabled).
Indicates whether client connect options are enabled. The default is
* false
(not enabled).
Indicates whether client connect options are enabled. The default is
* false
(not enabled).
Indicates whether client connect options are enabled. The default is
* false
(not enabled).
The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; } /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; } /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline ClientConnectOptions& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline ClientConnectOptions& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Lambda function used for connection * authorization.
*/ inline ClientConnectOptions& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_lambdaFunctionArn; bool m_lambdaFunctionArnHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws