7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEvents_EXPORTS.h>
9#include <aws/iotevents/model/EmailContent.h>
10#include <aws/iotevents/model/EmailRecipients.h>
46 template <
typename FromT = Aws::String>
48 m_fromHasBeenSet =
true;
49 m_from = std::forward<FromT>(value);
51 template <
typename FromT = Aws::String>
53 SetFrom(std::forward<FromT>(value));
64 template <
typename ContentT = EmailContent>
66 m_contentHasBeenSet =
true;
67 m_content = std::forward<ContentT>(value);
69 template <
typename ContentT = EmailContent>
85 template <
typename RecipientsT = EmailRecipients>
87 m_recipientsHasBeenSet =
true;
88 m_recipients = std::forward<RecipientsT>(value);
90 template <
typename RecipientsT = EmailRecipients>
102 bool m_fromHasBeenSet =
false;
103 bool m_contentHasBeenSet =
false;
104 bool m_recipientsHasBeenSet =
false;
EmailConfiguration & WithContent(ContentT &&value)
bool RecipientsHasBeenSet() const
const Aws::String & GetFrom() const
AWS_IOTEVENTS_API EmailConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API EmailConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const EmailRecipients & GetRecipients() const
void SetRecipients(RecipientsT &&value)
void SetContent(ContentT &&value)
const EmailContent & GetContent() const
bool FromHasBeenSet() const
AWS_IOTEVENTS_API EmailConfiguration()=default
EmailConfiguration & WithRecipients(RecipientsT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
EmailConfiguration & WithFrom(FromT &&value)
void SetFrom(FromT &&value)
bool ContentHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue