/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A unique message ID that you receive when an email is accepted for
* sending.See Also:
AWS
* API Reference
A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline void SetMessageId(const Aws::String& value) { m_messageId = value; } /** *A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); } /** *A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline void SetMessageId(const char* value) { m_messageId.assign(value); } /** *A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline SendEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline SendEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *A unique identifier for the message that is generated when the message is * accepted.
It's possible for Amazon SES to accept a message without * sending it. This can happen when the message that you're trying to send has an * attachment contains a virus, or when you send a templated email that contains * invalid personalization content, for example.
*/ inline SendEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline SendEmailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline SendEmailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline SendEmailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_messageId; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws