/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains additional attributes that are related an email
* address that is on the suppression list for your account.See
* Also:
AWS
* API Reference
The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; } /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; } /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); } /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); } /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline SuppressedDestinationAttributes& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline SuppressedDestinationAttributes& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *The unique identifier of the email message that caused the email address to * be added to the suppression list for your account.
*/ inline SuppressedDestinationAttributes& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline const Aws::String& GetFeedbackId() const{ return m_feedbackId; } /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline bool FeedbackIdHasBeenSet() const { return m_feedbackIdHasBeenSet; } /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline void SetFeedbackId(const Aws::String& value) { m_feedbackIdHasBeenSet = true; m_feedbackId = value; } /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline void SetFeedbackId(Aws::String&& value) { m_feedbackIdHasBeenSet = true; m_feedbackId = std::move(value); } /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline void SetFeedbackId(const char* value) { m_feedbackIdHasBeenSet = true; m_feedbackId.assign(value); } /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline SuppressedDestinationAttributes& WithFeedbackId(const Aws::String& value) { SetFeedbackId(value); return *this;} /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline SuppressedDestinationAttributes& WithFeedbackId(Aws::String&& value) { SetFeedbackId(std::move(value)); return *this;} /** *A unique identifier that's generated when an email address is added to the * suppression list for your account.
*/ inline SuppressedDestinationAttributes& WithFeedbackId(const char* value) { SetFeedbackId(value); return *this;} private: Aws::String m_messageId; bool m_messageIdHasBeenSet = false; Aws::String m_feedbackId; bool m_feedbackIdHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws