/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that defines a Amazon Pinpoint destination for email events. You
* can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects.
* You can use these attributes to create segments for your
* campaigns.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; } /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline PinpointDestination& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline PinpointDestination& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want * to send email events to.
*/ inline PinpointDestination& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;} private: Aws::String m_applicationArn; bool m_applicationArnHasBeenSet = false; }; } // namespace Model } // namespace PinpointEmail } // namespace Aws