7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/ConfigurableNotificationPriority.h>
10#include <aws/connect/model/LocaleCode.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename InstanceIdT = Aws::String>
47 m_instanceIdHasBeenSet =
true;
48 m_instanceId = std::forward<InstanceIdT>(value);
50 template <
typename InstanceIdT = Aws::String>
64 template <
typename ExpiresAtT = Aws::Utils::DateTime>
66 m_expiresAtHasBeenSet =
true;
67 m_expiresAt = std::forward<ExpiresAtT>(value);
69 template <
typename ExpiresAtT = Aws::Utils::DateTime>
84 template <
typename RecipientsT = Aws::Vector<Aws::String>>
86 m_recipientsHasBeenSet =
true;
87 m_recipients = std::forward<RecipientsT>(value);
89 template <
typename RecipientsT = Aws::Vector<Aws::String>>
94 template <
typename RecipientsT = Aws::String>
96 m_recipientsHasBeenSet =
true;
97 m_recipients.emplace_back(std::forward<RecipientsT>(value));
110 m_priorityHasBeenSet =
true;
127 template <
typename ContentT = Aws::Map<LocaleCode, Aws::String>>
129 m_contentHasBeenSet =
true;
130 m_content = std::forward<ContentT>(value);
132 template <
typename ContentT = Aws::Map<LocaleCode, Aws::String>>
138 m_contentHasBeenSet =
true;
139 m_content.emplace(key, value);
151 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 m_tagsHasBeenSet =
true;
154 m_tags = std::forward<TagsT>(value);
156 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 SetTags(std::forward<TagsT>(value));
161 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
163 m_tagsHasBeenSet =
true;
164 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
173 template <
typename PredefinedNotificationIdT = Aws::String>
175 m_predefinedNotificationIdHasBeenSet =
true;
176 m_predefinedNotificationId = std::forward<PredefinedNotificationIdT>(value);
178 template <
typename PredefinedNotificationIdT = Aws::String>
195 template <
typename ClientTokenT = Aws::String>
197 m_clientTokenHasBeenSet =
true;
198 m_clientToken = std::forward<ClientTokenT>(value);
200 template <
typename ClientTokenT = Aws::String>
222 bool m_instanceIdHasBeenSet =
false;
223 bool m_expiresAtHasBeenSet =
false;
224 bool m_recipientsHasBeenSet =
false;
225 bool m_priorityHasBeenSet =
false;
226 bool m_contentHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
228 bool m_predefinedNotificationIdHasBeenSet =
false;
229 bool m_clientTokenHasBeenSet =
true;
CreateNotificationRequest & AddRecipients(RecipientsT &&value)
CreateNotificationRequest & WithPredefinedNotificationId(PredefinedNotificationIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetPredefinedNotificationId() const
const Aws::Map< LocaleCode, Aws::String > & GetContent() const
CreateNotificationRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetInstanceId() const
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
CreateNotificationRequest & AddContent(LocaleCode key, Aws::String value)
CreateNotificationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
CreateNotificationRequest & WithRecipients(RecipientsT &&value)
const Aws::String & GetClientToken() const
void SetExpiresAt(ExpiresAtT &&value)
CreateNotificationRequest & WithExpiresAt(ExpiresAtT &&value)
void SetRecipients(RecipientsT &&value)
void SetContent(ContentT &&value)
bool RecipientsHasBeenSet() const
bool ContentHasBeenSet() const
bool PriorityHasBeenSet() const
CreateNotificationRequest & WithInstanceId(InstanceIdT &&value)
CreateNotificationRequest & WithPriority(ConfigurableNotificationPriority value)
ConfigurableNotificationPriority GetPriority() const
bool TagsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRecipients() const
CreateNotificationRequest & WithTags(TagsT &&value)
void SetInstanceId(InstanceIdT &&value)
bool InstanceIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetPredefinedNotificationId(PredefinedNotificationIdT &&value)
bool ExpiresAtHasBeenSet() const
AWS_CONNECT_API CreateNotificationRequest()=default
CreateNotificationRequest & WithContent(ContentT &&value)
bool PredefinedNotificationIdHasBeenSet() const
void SetPriority(ConfigurableNotificationPriority value)
static Aws::Utils::UUID PseudoRandomUUID()
ConfigurableNotificationPriority
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector