/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Represents a unique message ID.

See Also:

AWS * API Reference

*/ class SendBounceResult { public: AWS_SES_API SendBounceResult(); AWS_SES_API SendBounceResult(const Aws::AmazonWebServiceResult& result); AWS_SES_API SendBounceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The message ID of the bounce message.

*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *

The message ID of the bounce message.

*/ inline void SetMessageId(const Aws::String& value) { m_messageId = value; } /** *

The message ID of the bounce message.

*/ inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); } /** *

The message ID of the bounce message.

*/ inline void SetMessageId(const char* value) { m_messageId.assign(value); } /** *

The message ID of the bounce message.

*/ inline SendBounceResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *

The message ID of the bounce message.

*/ inline SendBounceResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *

The message ID of the bounce message.

*/ inline SendBounceResult& WithMessageId(const char* value) { SetMessageId(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline SendBounceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline SendBounceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_messageId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws