7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/NotificationContentType.h>
9#include <aws/connect/model/NotificationDeliveryType.h>
10#include <aws/connect/model/NotificationRecipientType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
44 m_deliveryMethodHasBeenSet =
true;
45 m_deliveryMethod = value;
62 template <
typename SubjectT = Aws::String>
64 m_subjectHasBeenSet =
true;
65 m_subject = std::forward<SubjectT>(value);
67 template <
typename SubjectT = Aws::String>
83 template <
typename ContentT = Aws::String>
85 m_contentHasBeenSet =
true;
86 m_content = std::forward<ContentT>(value);
88 template <
typename ContentT = Aws::String>
102 m_contentTypeHasBeenSet =
true;
103 m_contentType = value;
117 template <
typename RecipientT = NotificationRecipientType>
119 m_recipientHasBeenSet =
true;
120 m_recipient = std::forward<RecipientT>(value);
122 template <
typename RecipientT = NotificationRecipientType>
135 template <
typename ExclusionT = NotificationRecipientType>
137 m_exclusionHasBeenSet =
true;
138 m_exclusion = std::forward<ExclusionT>(value);
140 template <
typename ExclusionT = NotificationRecipientType>
155 NotificationRecipientType m_recipient;
157 NotificationRecipientType m_exclusion;
158 bool m_deliveryMethodHasBeenSet =
false;
159 bool m_subjectHasBeenSet =
false;
160 bool m_contentHasBeenSet =
false;
161 bool m_contentTypeHasBeenSet =
false;
162 bool m_recipientHasBeenSet =
false;
163 bool m_exclusionHasBeenSet =
false;
const NotificationRecipientType & GetExclusion() const
const NotificationRecipientType & GetRecipient() const
SendNotificationActionDefinition & WithExclusion(ExclusionT &&value)
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)
bool ExclusionHasBeenSet() const
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 SetExclusion(ExclusionT &&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