/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies settings for invoking an AWS Lambda function that customizes a
* segment for a campaign.See Also:
AWS
* API Reference
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline const Aws::String& GetLambdaFunctionName() const{ return m_lambdaFunctionName; } /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline bool LambdaFunctionNameHasBeenSet() const { return m_lambdaFunctionNameHasBeenSet; } /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline void SetLambdaFunctionName(const Aws::String& value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName = value; } /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline void SetLambdaFunctionName(Aws::String&& value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName = std::move(value); } /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline void SetLambdaFunctionName(const char* value) { m_lambdaFunctionNameHasBeenSet = true; m_lambdaFunctionName.assign(value); } /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline CampaignHook& WithLambdaFunctionName(const Aws::String& value) { SetLambdaFunctionName(value); return *this;} /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline CampaignHook& WithLambdaFunctionName(Aws::String&& value) { SetLambdaFunctionName(std::move(value)); return *this;} /** *The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to customize a segment for a campaign.
*/ inline CampaignHook& WithLambdaFunctionName(const char* value) { SetLambdaFunctionName(value); return *this;} /** *The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. * Possible values are:
FILTER - Invoke the function to customize * the segment that's used by a campaign.
DELIVERY - (Deprecated) * Previously, invoked the function to send a campaign through a custom channel. * This functionality is not supported anymore. To send a campaign through a custom * channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects * of the campaign.
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. * Possible values are:
FILTER - Invoke the function to customize * the segment that's used by a campaign.
DELIVERY - (Deprecated) * Previously, invoked the function to send a campaign through a custom channel. * This functionality is not supported anymore. To send a campaign through a custom * channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects * of the campaign.
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. * Possible values are:
FILTER - Invoke the function to customize * the segment that's used by a campaign.
DELIVERY - (Deprecated) * Previously, invoked the function to send a campaign through a custom channel. * This functionality is not supported anymore. To send a campaign through a custom * channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects * of the campaign.
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. * Possible values are:
FILTER - Invoke the function to customize * the segment that's used by a campaign.
DELIVERY - (Deprecated) * Previously, invoked the function to send a campaign through a custom channel. * This functionality is not supported anymore. To send a campaign through a custom * channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects * of the campaign.
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. * Possible values are:
FILTER - Invoke the function to customize * the segment that's used by a campaign.
DELIVERY - (Deprecated) * Previously, invoked the function to send a campaign through a custom channel. * This functionality is not supported anymore. To send a campaign through a custom * channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects * of the campaign.
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. * Possible values are:
FILTER - Invoke the function to customize * the segment that's used by a campaign.
DELIVERY - (Deprecated) * Previously, invoked the function to send a campaign through a custom channel. * This functionality is not supported anymore. To send a campaign through a custom * channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects * of the campaign.
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline const Aws::String& GetWebUrl() const{ return m_webUrl; } /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline bool WebUrlHasBeenSet() const { return m_webUrlHasBeenSet; } /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline void SetWebUrl(const Aws::String& value) { m_webUrlHasBeenSet = true; m_webUrl = value; } /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline void SetWebUrl(Aws::String&& value) { m_webUrlHasBeenSet = true; m_webUrl = std::move(value); } /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline void SetWebUrl(const char* value) { m_webUrlHasBeenSet = true; m_webUrl.assign(value); } /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline CampaignHook& WithWebUrl(const Aws::String& value) { SetWebUrl(value); return *this;} /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline CampaignHook& WithWebUrl(Aws::String&& value) { SetWebUrl(std::move(value)); return *this;} /** *The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over * HTTPS.
*/ inline CampaignHook& WithWebUrl(const char* value) { SetWebUrl(value); return *this;} private: Aws::String m_lambdaFunctionName; bool m_lambdaFunctionNameHasBeenSet = false; Mode m_mode; bool m_modeHasBeenSet = false; Aws::String m_webUrl; bool m_webUrlHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws