/** * 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 SESV2 { namespace Model { /** *

An object that defines an Amazon Pinpoint project destination for email * events. You can send email event data to a Amazon Pinpoint project to view * metrics using the Transactional Messaging dashboards that are built in to Amazon * Pinpoint. For more information, see Transactional * Messaging Charts in the Amazon Pinpoint User Guide.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Amazon Pinpoint project to send email * events to.

*/ inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; } /** *

The Amazon Resource Name (ARN) of the Amazon Pinpoint project to send email * events to.

*/ inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Amazon Pinpoint project 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 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 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 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 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 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 SESV2 } // namespace Aws