/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the message to be sent, composed of a subject and a
* body.See Also:
AWS API
* Reference
The subject of the message: A short summary of the content, which will appear * in the recipient's inbox.
*/ inline const Content& GetSubject() const{ return m_subject; } /** *The subject of the message: A short summary of the content, which will appear * in the recipient's inbox.
*/ inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; } /** *The subject of the message: A short summary of the content, which will appear * in the recipient's inbox.
*/ inline void SetSubject(const Content& value) { m_subjectHasBeenSet = true; m_subject = value; } /** *The subject of the message: A short summary of the content, which will appear * in the recipient's inbox.
*/ inline void SetSubject(Content&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); } /** *The subject of the message: A short summary of the content, which will appear * in the recipient's inbox.
*/ inline Message& WithSubject(const Content& value) { SetSubject(value); return *this;} /** *The subject of the message: A short summary of the content, which will appear * in the recipient's inbox.
*/ inline Message& WithSubject(Content&& value) { SetSubject(std::move(value)); return *this;} /** *The message body.
*/ inline const Body& GetBody() const{ return m_body; } /** *The message body.
*/ inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } /** *The message body.
*/ inline void SetBody(const Body& value) { m_bodyHasBeenSet = true; m_body = value; } /** *The message body.
*/ inline void SetBody(Body&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); } /** *The message body.
*/ inline Message& WithBody(const Body& value) { SetBody(value); return *this;} /** *The message body.
*/ inline Message& WithBody(Body&& value) { SetBody(std::move(value)); return *this;} private: Content m_subject; bool m_subjectHasBeenSet = false; Body m_body; bool m_bodyHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws