/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the "From" address for an email message that's sent to participants
* in a journey.See Also:
AWS
* API Reference
The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline const Aws::String& GetFromAddress() const{ return m_fromAddress; } /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; } /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline void SetFromAddress(const Aws::String& value) { m_fromAddressHasBeenSet = true; m_fromAddress = value; } /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline void SetFromAddress(Aws::String&& value) { m_fromAddressHasBeenSet = true; m_fromAddress = std::move(value); } /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline void SetFromAddress(const char* value) { m_fromAddressHasBeenSet = true; m_fromAddress.assign(value); } /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline JourneyEmailMessage& WithFromAddress(const Aws::String& value) { SetFromAddress(value); return *this;} /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline JourneyEmailMessage& WithFromAddress(Aws::String&& value) { SetFromAddress(std::move(value)); return *this;} /** *The verified email address to send the email message from. The default * address is the FromAddress specified for the email channel for the * application.
*/ inline JourneyEmailMessage& WithFromAddress(const char* value) { SetFromAddress(value); return *this;} private: Aws::String m_fromAddress; bool m_fromAddressHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws