/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for the email sent when an app user forgets their
* password.See Also:
AWS
* API Reference
The contents of the email message.
*/ inline const Aws::String& GetEmailMessage() const{ return m_emailMessage; } /** *The contents of the email message.
*/ inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; } /** *The contents of the email message.
*/ inline void SetEmailMessage(const Aws::String& value) { m_emailMessageHasBeenSet = true; m_emailMessage = value; } /** *The contents of the email message.
*/ inline void SetEmailMessage(Aws::String&& value) { m_emailMessageHasBeenSet = true; m_emailMessage = std::move(value); } /** *The contents of the email message.
*/ inline void SetEmailMessage(const char* value) { m_emailMessageHasBeenSet = true; m_emailMessage.assign(value); } /** *The contents of the email message.
*/ inline EmailSettings& WithEmailMessage(const Aws::String& value) { SetEmailMessage(value); return *this;} /** *The contents of the email message.
*/ inline EmailSettings& WithEmailMessage(Aws::String&& value) { SetEmailMessage(std::move(value)); return *this;} /** *The contents of the email message.
*/ inline EmailSettings& WithEmailMessage(const char* value) { SetEmailMessage(value); return *this;} /** *The contents of the subject line of the email message.
*/ inline const Aws::String& GetEmailSubject() const{ return m_emailSubject; } /** *The contents of the subject line of the email message.
*/ inline bool EmailSubjectHasBeenSet() const { return m_emailSubjectHasBeenSet; } /** *The contents of the subject line of the email message.
*/ inline void SetEmailSubject(const Aws::String& value) { m_emailSubjectHasBeenSet = true; m_emailSubject = value; } /** *The contents of the subject line of the email message.
*/ inline void SetEmailSubject(Aws::String&& value) { m_emailSubjectHasBeenSet = true; m_emailSubject = std::move(value); } /** *The contents of the subject line of the email message.
*/ inline void SetEmailSubject(const char* value) { m_emailSubjectHasBeenSet = true; m_emailSubject.assign(value); } /** *The contents of the subject line of the email message.
*/ inline EmailSettings& WithEmailSubject(const Aws::String& value) { SetEmailSubject(value); return *this;} /** *The contents of the subject line of the email message.
*/ inline EmailSettings& WithEmailSubject(Aws::String&& value) { SetEmailSubject(std::move(value)); return *this;} /** *The contents of the subject line of the email message.
*/ inline EmailSettings& WithEmailSubject(const char* value) { SetEmailSubject(value); return *this;} private: Aws::String m_emailMessage; bool m_emailMessageHasBeenSet = false; Aws::String m_emailSubject; bool m_emailSubjectHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws