7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/EmailContent.h>
10#include <aws/iotevents/model/EmailRecipients.h>
52 template<
typename FromT = Aws::String>
53 void SetFrom(FromT&& value) { m_fromHasBeenSet =
true; m_from = std::forward<FromT>(value); }
54 template<
typename FromT = Aws::String>
64 template<
typename ContentT = EmailContent>
65 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
66 template<
typename ContentT = EmailContent>
79 template<
typename RecipientsT = EmailRecipients>
80 void SetRecipients(RecipientsT&& value) { m_recipientsHasBeenSet =
true; m_recipients = std::forward<RecipientsT>(value); }
81 template<
typename RecipientsT = EmailRecipients>
87 bool m_fromHasBeenSet =
false;
90 bool m_contentHasBeenSet =
false;
93 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