/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to set the attributes that control how bounce and complaint events
* are processed.See Also:
AWS
* API Reference
The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; } /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; } /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; } /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); } /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); } /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline PutEmailIdentityFeedbackAttributesRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;} /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline PutEmailIdentityFeedbackAttributesRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;} /** *The email identity that you want to configure bounce and complaint feedback * forwarding for.
*/ inline PutEmailIdentityFeedbackAttributesRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;} /** *Sets the feedback forwarding configuration for the identity.
If the
* value is true
, Amazon Pinpoint sends you email notifications when
* bounce or complaint events occur. Amazon Pinpoint sends this notification to the
* address that you specified in the Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends
* notifications through other mechanisms, such as by notifying an Amazon SNS topic
* or another event destination. You're required to have a method of tracking
* bounces and complaints. If you haven't set up another mechanism for receiving
* bounce or complaint notifications, Amazon Pinpoint sends an email notification
* when these events occur (even if this setting is disabled).
Sets the feedback forwarding configuration for the identity.
If the
* value is true
, Amazon Pinpoint sends you email notifications when
* bounce or complaint events occur. Amazon Pinpoint sends this notification to the
* address that you specified in the Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends
* notifications through other mechanisms, such as by notifying an Amazon SNS topic
* or another event destination. You're required to have a method of tracking
* bounces and complaints. If you haven't set up another mechanism for receiving
* bounce or complaint notifications, Amazon Pinpoint sends an email notification
* when these events occur (even if this setting is disabled).
Sets the feedback forwarding configuration for the identity.
If the
* value is true
, Amazon Pinpoint sends you email notifications when
* bounce or complaint events occur. Amazon Pinpoint sends this notification to the
* address that you specified in the Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends
* notifications through other mechanisms, such as by notifying an Amazon SNS topic
* or another event destination. You're required to have a method of tracking
* bounces and complaints. If you haven't set up another mechanism for receiving
* bounce or complaint notifications, Amazon Pinpoint sends an email notification
* when these events occur (even if this setting is disabled).
Sets the feedback forwarding configuration for the identity.
If the
* value is true
, Amazon Pinpoint sends you email notifications when
* bounce or complaint events occur. Amazon Pinpoint sends this notification to the
* address that you specified in the Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends
* notifications through other mechanisms, such as by notifying an Amazon SNS topic
* or another event destination. You're required to have a method of tracking
* bounces and complaints. If you haven't set up another mechanism for receiving
* bounce or complaint notifications, Amazon Pinpoint sends an email notification
* when these events occur (even if this setting is disabled).