/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

The endpoint assigned to a SIP media application.

See Also:

* AWS * API Reference

*/ class SipMediaApplicationEndpoint { public: AWS_CHIMESDKVOICE_API SipMediaApplicationEndpoint(); AWS_CHIMESDKVOICE_API SipMediaApplicationEndpoint(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API SipMediaApplicationEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline const Aws::String& GetLambdaArn() const{ return m_lambdaArn; } /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline bool LambdaArnHasBeenSet() const { return m_lambdaArnHasBeenSet; } /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline void SetLambdaArn(const Aws::String& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = value; } /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline void SetLambdaArn(Aws::String&& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = std::move(value); } /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline void SetLambdaArn(const char* value) { m_lambdaArnHasBeenSet = true; m_lambdaArn.assign(value); } /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline SipMediaApplicationEndpoint& WithLambdaArn(const Aws::String& value) { SetLambdaArn(value); return *this;} /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline SipMediaApplicationEndpoint& WithLambdaArn(Aws::String&& value) { SetLambdaArn(std::move(value)); return *this;} /** *

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. * The function must be created in the same AWS Region as the SIP media * application.

*/ inline SipMediaApplicationEndpoint& WithLambdaArn(const char* value) { SetLambdaArn(value); return *this;} private: Aws::String m_lambdaArn; bool m_lambdaArnHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws