/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the delivery configuration settings for sending a campaign or
* campaign treatment through a custom channel. This object is required if you use
* the CampaignCustomMessage object to define the message to send for the campaign
* or campaign treatment.See Also:
AWS
* API Reference
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The destination to send the campaign or treatment to. This value can be one * of the following:
The name or Amazon Resource Name (ARN) of an * AWS Lambda function to invoke to handle delivery of the campaign or * treatment.
The URL for a web application or service that * supports HTTPS and can receive the message. The URL has to be a full URL, * including the HTTPS protocol.
The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline const Aws::Vector<__EndpointTypesElement>& GetEndpointTypes() const{ return m_endpointTypes; } /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline bool EndpointTypesHasBeenSet() const { return m_endpointTypesHasBeenSet; } /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline void SetEndpointTypes(const Aws::Vector<__EndpointTypesElement>& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes = value; } /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline void SetEndpointTypes(Aws::Vector<__EndpointTypesElement>&& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes = std::move(value); } /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline CustomDeliveryConfiguration& WithEndpointTypes(const Aws::Vector<__EndpointTypesElement>& value) { SetEndpointTypes(value); return *this;} /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline CustomDeliveryConfiguration& WithEndpointTypes(Aws::Vector<__EndpointTypesElement>&& value) { SetEndpointTypes(std::move(value)); return *this;} /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline CustomDeliveryConfiguration& AddEndpointTypes(const __EndpointTypesElement& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes.push_back(value); return *this; } /** *The types of endpoints to send the campaign or treatment to. Each valid value * maps to a type of channel that you can associate with an endpoint by using the * ChannelType property of an endpoint.
*/ inline CustomDeliveryConfiguration& AddEndpointTypes(__EndpointTypesElement&& value) { m_endpointTypesHasBeenSet = true; m_endpointTypes.push_back(std::move(value)); return *this; } private: Aws::String m_deliveryUri; bool m_deliveryUriHasBeenSet = false; Aws::Vector<__EndpointTypesElement> m_endpointTypes; bool m_endpointTypesHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws