7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/notifications/Notifications_EXPORTS.h>
12#include <aws/notifications/model/AggregationEventType.h>
13#include <aws/notifications/model/AggregationSummary.h>
14#include <aws/notifications/model/EventStatus.h>
15#include <aws/notifications/model/MediaElement.h>
16#include <aws/notifications/model/MessageComponents.h>
17#include <aws/notifications/model/NotificationType.h>
18#include <aws/notifications/model/SchemaVersion.h>
19#include <aws/notifications/model/SourceEventMetadata.h>
20#include <aws/notifications/model/TextPartValue.h>
31namespace Notifications {
55 m_schemaVersionHasBeenSet =
true;
56 m_schemaVersion = 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 SourceEventMetadataT = SourceEventMetadata>
90 m_sourceEventMetadataHasBeenSet =
true;
91 m_sourceEventMetadata = std::forward<SourceEventMetadataT>(value);
93 template <
typename SourceEventMetadataT = SourceEventMetadata>
104 template <
typename MessageComponentsT = MessageComponents>
106 m_messageComponentsHasBeenSet =
true;
107 m_messageComponents = std::forward<MessageComponentsT>(value);
109 template <
typename MessageComponentsT = MessageComponents>
122 template <
typename SourceEventDetailUrlT = Aws::String>
124 m_sourceEventDetailUrlHasBeenSet =
true;
125 m_sourceEventDetailUrl = std::forward<SourceEventDetailUrlT>(value);
127 template <
typename SourceEventDetailUrlT = Aws::String>
140 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
142 m_sourceEventDetailUrlDisplayTextHasBeenSet =
true;
143 m_sourceEventDetailUrlDisplayText = std::forward<SourceEventDetailUrlDisplayTextT>(value);
145 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
170 m_notificationTypeHasBeenSet =
true;
171 m_notificationType = value;
191 m_eventStatusHasBeenSet =
true;
192 m_eventStatus = value;
214 m_aggregationEventTypeHasBeenSet =
true;
215 m_aggregationEventType = value;
231 template <
typename AggregateNotificationEventArnT = Aws::String>
233 m_aggregateNotificationEventArnHasBeenSet =
true;
234 m_aggregateNotificationEventArn = std::forward<AggregateNotificationEventArnT>(value);
236 template <
typename AggregateNotificationEventArnT = Aws::String>
250 template <
typename AggregationSummaryT = AggregationSummary>
252 m_aggregationSummaryHasBeenSet =
true;
253 m_aggregationSummary = std::forward<AggregationSummaryT>(value);
255 template <
typename AggregationSummaryT = AggregationSummary>
268 template <
typename StartTimeT = Aws::Utils::DateTime>
270 m_startTimeHasBeenSet =
true;
271 m_startTime = std::forward<StartTimeT>(value);
273 template <
typename StartTimeT = Aws::Utils::DateTime>
286 template <
typename EndTimeT = Aws::Utils::DateTime>
288 m_endTimeHasBeenSet =
true;
289 m_endTime = std::forward<EndTimeT>(value);
291 template <
typename EndTimeT = Aws::Utils::DateTime>
304 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
306 m_textPartsHasBeenSet =
true;
307 m_textParts = std::forward<TextPartsT>(value);
309 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
314 template <
typename TextPartsKeyT = Aws::String,
typename TextPartsValueT = TextPartValue>
316 m_textPartsHasBeenSet =
true;
317 m_textParts.emplace(std::forward<TextPartsKeyT>(key), std::forward<TextPartsValueT>(value));
328 template <
typename MediaT = Aws::Vector<MediaElement>>
330 m_mediaHasBeenSet =
true;
331 m_media = std::forward<MediaT>(value);
333 template <
typename MediaT = Aws::Vector<MediaElement>>
335 SetMedia(std::forward<MediaT>(value));
338 template <
typename MediaT = MediaElement>
340 m_mediaHasBeenSet =
true;
341 m_media.emplace_back(std::forward<MediaT>(value));
353 template <
typename OrganizationalUnitIdT = Aws::String>
355 m_organizationalUnitIdHasBeenSet =
true;
356 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
358 template <
typename OrganizationalUnitIdT = Aws::String>
369 SourceEventMetadata m_sourceEventMetadata;
371 MessageComponents m_messageComponents;
385 AggregationSummary m_aggregationSummary;
396 bool m_schemaVersionHasBeenSet =
false;
397 bool m_idHasBeenSet =
false;
398 bool m_sourceEventMetadataHasBeenSet =
false;
399 bool m_messageComponentsHasBeenSet =
false;
400 bool m_sourceEventDetailUrlHasBeenSet =
false;
401 bool m_sourceEventDetailUrlDisplayTextHasBeenSet =
false;
402 bool m_notificationTypeHasBeenSet =
false;
403 bool m_eventStatusHasBeenSet =
false;
404 bool m_aggregationEventTypeHasBeenSet =
false;
405 bool m_aggregateNotificationEventArnHasBeenSet =
false;
406 bool m_aggregationSummaryHasBeenSet =
false;
407 bool m_startTimeHasBeenSet =
false;
408 bool m_endTimeHasBeenSet =
false;
409 bool m_textPartsHasBeenSet =
false;
410 bool m_mediaHasBeenSet =
false;
411 bool m_organizationalUnitIdHasBeenSet =
false;
AWS_NOTIFICATIONS_API NotificationEvent(Aws::Utils::Json::JsonView jsonValue)
bool MessageComponentsHasBeenSet() const
bool MediaHasBeenSet() const
void SetSchemaVersion(SchemaVersion value)
bool IdHasBeenSet() const
bool SourceEventDetailUrlDisplayTextHasBeenSet() const
bool NotificationTypeHasBeenSet() const
bool EventStatusHasBeenSet() const
bool SourceEventDetailUrlHasBeenSet() const
NotificationEvent & WithId(IdT &&value)
const MessageComponents & GetMessageComponents() const
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationEvent & WithEventStatus(EventStatus value)
bool AggregationEventTypeHasBeenSet() const
bool TextPartsHasBeenSet() const
NotificationEvent & WithSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT &&value)
NotificationEvent & WithMedia(MediaT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool StartTimeHasBeenSet() const
NotificationEvent & WithTextParts(TextPartsT &&value)
const AggregationSummary & GetAggregationSummary() const
NotificationEvent & WithStartTime(StartTimeT &&value)
const Aws::String & GetSourceEventDetailUrlDisplayText() const
void SetAggregationSummary(AggregationSummaryT &&value)
const Aws::String & GetOrganizationalUnitId() const
EventStatus GetEventStatus() const
NotificationEvent & WithSchemaVersion(SchemaVersion value)
NotificationEvent & WithAggregationEventType(AggregationEventType value)
void SetAggregateNotificationEventArn(AggregateNotificationEventArnT &&value)
bool SchemaVersionHasBeenSet() const
NotificationEvent & WithAggregateNotificationEventArn(AggregateNotificationEventArnT &&value)
void SetMessageComponents(MessageComponentsT &&value)
void SetMedia(MediaT &&value)
NotificationEvent & WithNotificationType(NotificationType value)
const Aws::String & GetSourceEventDetailUrl() const
void SetSourceEventMetadata(SourceEventMetadataT &&value)
bool SourceEventMetadataHasBeenSet() const
NotificationEvent & WithEndTime(EndTimeT &&value)
bool AggregateNotificationEventArnHasBeenSet() const
NotificationEvent & WithSourceEventMetadata(SourceEventMetadataT &&value)
void SetNotificationType(NotificationType value)
void SetEventStatus(EventStatus value)
NotificationType GetNotificationType() const
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
const Aws::Utils::DateTime & GetEndTime() const
NotificationEvent & WithMessageComponents(MessageComponentsT &&value)
const Aws::String & GetAggregateNotificationEventArn() const
bool AggregationSummaryHasBeenSet() const
const Aws::String & GetId() const
void SetSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT &&value)
AWS_NOTIFICATIONS_API NotificationEvent()=default
AggregationEventType GetAggregationEventType() const
bool EndTimeHasBeenSet() const
SchemaVersion GetSchemaVersion() const
NotificationEvent & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
const Aws::Map< Aws::String, TextPartValue > & GetTextParts() const
NotificationEvent & WithAggregationSummary(AggregationSummaryT &&value)
void SetStartTime(StartTimeT &&value)
AWS_NOTIFICATIONS_API NotificationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAggregationEventType(AggregationEventType value)
NotificationEvent & AddTextParts(TextPartsKeyT &&key, TextPartsValueT &&value)
NotificationEvent & AddMedia(MediaT &&value)
NotificationEvent & WithSourceEventDetailUrl(SourceEventDetailUrlT &&value)
void SetTextParts(TextPartsT &&value)
void SetEndTime(EndTimeT &&value)
void SetSourceEventDetailUrl(SourceEventDetailUrlT &&value)
const SourceEventMetadata & GetSourceEventMetadata() const
const Aws::Vector< MediaElement > & GetMedia() const
bool OrganizationalUnitIdHasBeenSet() 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