/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the contents of an email message, represented as a raw MIME
* message.See Also:
AWS
* API Reference
The email message, represented as a raw MIME message. The entire message must * be base64 encoded.
*/ inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; } /** *The email message, represented as a raw MIME message. The entire message must * be base64 encoded.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The email message, represented as a raw MIME message. The entire message must * be base64 encoded.
*/ inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; } /** *The email message, represented as a raw MIME message. The entire message must * be base64 encoded.
*/ inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *The email message, represented as a raw MIME message. The entire message must * be base64 encoded.
*/ inline RawEmail& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;} /** *The email message, represented as a raw MIME message. The entire message must * be base64 encoded.
*/ inline RawEmail& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;} private: Aws::Utils::ByteBuffer m_data; bool m_dataHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws