7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/NotificationDeliveryType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/NotificationContentType.h>
11#include <aws/connect/model/NotificationRecipientType.h>
62 template<
typename SubjectT = Aws::String>
63 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet =
true; m_subject = std::forward<SubjectT>(value); }
64 template<
typename SubjectT = Aws::String>
77 template<
typename ContentT = Aws::String>
78 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
79 template<
typename ContentT = Aws::String>
99 template<
typename RecipientT = NotificationRecipientType>
100 void SetRecipient(RecipientT&& value) { m_recipientHasBeenSet =
true; m_recipient = std::forward<RecipientT>(value); }
101 template<
typename RecipientT = NotificationRecipientType>
107 bool m_deliveryMethodHasBeenSet =
false;
110 bool m_subjectHasBeenSet =
false;
113 bool m_contentHasBeenSet =
false;
116 bool m_contentTypeHasBeenSet =
false;
118 NotificationRecipientType m_recipient;
119 bool m_recipientHasBeenSet =
false;
const NotificationRecipientType & GetRecipient() const
NotificationContentType GetContentType() const
AWS_CONNECT_API SendNotificationActionDefinition()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationDeliveryType GetDeliveryMethod() const
SendNotificationActionDefinition & WithContent(ContentT &&value)
bool RecipientHasBeenSet() const
void SetContentType(NotificationContentType value)
void SetDeliveryMethod(NotificationDeliveryType value)
const Aws::String & GetContent() const
bool ContentHasBeenSet() const
bool SubjectHasBeenSet() const
bool ContentTypeHasBeenSet() const
bool DeliveryMethodHasBeenSet() const
AWS_CONNECT_API SendNotificationActionDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetRecipient(RecipientT &&value)
SendNotificationActionDefinition & WithDeliveryMethod(NotificationDeliveryType value)
void SetContent(ContentT &&value)
SendNotificationActionDefinition & WithSubject(SubjectT &&value)
SendNotificationActionDefinition & WithContentType(NotificationContentType value)
const Aws::String & GetSubject() const
AWS_CONNECT_API SendNotificationActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubject(SubjectT &&value)
SendNotificationActionDefinition & WithRecipient(RecipientT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue