7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/LocaleCode.h>
9#include <aws/connect/model/NotificationPriority.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename ContentT = Aws::Map<LocaleCode, Aws::String>>
49 m_contentHasBeenSet =
true;
50 m_content = std::forward<ContentT>(value);
52 template <
typename ContentT = Aws::Map<LocaleCode, Aws::String>>
58 m_contentHasBeenSet =
true;
59 m_content.emplace(key, value);
70 template <
typename IdT = Aws::String>
72 m_idHasBeenSet =
true;
73 m_id = std::forward<IdT>(value);
75 template <
typename IdT = Aws::String>
77 SetId(std::forward<IdT>(value));
88 template <
typename ArnT = Aws::String>
90 m_arnHasBeenSet =
true;
91 m_arn = std::forward<ArnT>(value);
93 template <
typename ArnT = Aws::String>
95 SetArn(std::forward<ArnT>(value));
108 m_priorityHasBeenSet =
true;
124 template <
typename RecipientsT = Aws::Vector<Aws::String>>
126 m_recipientsHasBeenSet =
true;
127 m_recipients = std::forward<RecipientsT>(value);
129 template <
typename RecipientsT = Aws::Vector<Aws::String>>
134 template <
typename RecipientsT = Aws::String>
136 m_recipientsHasBeenSet =
true;
137 m_recipients.emplace_back(std::forward<RecipientsT>(value));
148 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
150 m_lastModifiedTimeHasBeenSet =
true;
151 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
153 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
166 template <
typename CreatedAtT = Aws::Utils::DateTime>
168 m_createdAtHasBeenSet =
true;
169 m_createdAt = std::forward<CreatedAtT>(value);
171 template <
typename CreatedAtT = Aws::Utils::DateTime>
185 template <
typename ExpiresAtT = Aws::Utils::DateTime>
187 m_expiresAtHasBeenSet =
true;
188 m_expiresAt = std::forward<ExpiresAtT>(value);
190 template <
typename ExpiresAtT = Aws::Utils::DateTime>
203 template <
typename LastModifiedRegionT = Aws::String>
205 m_lastModifiedRegionHasBeenSet =
true;
206 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
208 template <
typename LastModifiedRegionT = Aws::String>
222 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
224 m_tagsHasBeenSet =
true;
225 m_tags = std::forward<TagsT>(value);
227 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 SetTags(std::forward<TagsT>(value));
232 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
234 m_tagsHasBeenSet =
true;
235 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
259 bool m_contentHasBeenSet =
false;
260 bool m_idHasBeenSet =
false;
261 bool m_arnHasBeenSet =
false;
262 bool m_priorityHasBeenSet =
false;
263 bool m_recipientsHasBeenSet =
false;
264 bool m_lastModifiedTimeHasBeenSet =
false;
265 bool m_createdAtHasBeenSet =
false;
266 bool m_expiresAtHasBeenSet =
false;
267 bool m_lastModifiedRegionHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
AWS_CONNECT_API Notification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExpiresAt(ExpiresAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetArn(ArnT &&value)
NotificationPriority GetPriority() const
Notification & WithTags(TagsT &&value)
const Aws::Map< LocaleCode, Aws::String > & GetContent() const
Notification & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetRecipients(RecipientsT &&value)
bool ExpiresAtHasBeenSet() const
Notification & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
Notification & AddRecipients(RecipientsT &&value)
void SetCreatedAt(CreatedAtT &&value)
Notification & WithLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::Vector< Aws::String > & GetRecipients() const
const Aws::Utils::DateTime & GetExpiresAt() const
void SetPriority(NotificationPriority value)
Notification & WithPriority(NotificationPriority value)
const Aws::Utils::DateTime & GetCreatedAt() const
Notification & AddContent(LocaleCode key, Aws::String value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
Notification & WithId(IdT &&value)
bool ContentHasBeenSet() const
void SetContent(ContentT &&value)
const Aws::String & GetId() const
const Aws::String & GetLastModifiedRegion() const
Notification & WithArn(ArnT &&value)
Notification & WithExpiresAt(ExpiresAtT &&value)
Notification & WithContent(ContentT &&value)
bool LastModifiedRegionHasBeenSet() const
AWS_CONNECT_API Notification()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Notification & WithRecipients(RecipientsT &&value)
bool CreatedAtHasBeenSet() const
bool PriorityHasBeenSet() const
bool RecipientsHasBeenSet() const
const Aws::String & GetArn() const
Notification & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool LastModifiedTimeHasBeenSet() const
AWS_CONNECT_API Notification(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
bool IdHasBeenSet() const
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
Aws::Utils::Json::JsonValue JsonValue