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/MessageComponents.h>
16#include <aws/notifications/model/NotificationEventAttachment.h>
17#include <aws/notifications/model/NotificationType.h>
18#include <aws/notifications/model/SchemaVersion.h>
19#include <aws/notifications/model/TextPartValue.h>
30namespace Notifications {
54 m_schemaVersionHasBeenSet =
true;
55 m_schemaVersion = value;
69 template <
typename IdT = Aws::String>
71 m_idHasBeenSet =
true;
72 m_id = std::forward<IdT>(value);
74 template <
typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
85 template <
typename MessageComponentsT = MessageComponents>
87 m_messageComponentsHasBeenSet =
true;
88 m_messageComponents = std::forward<MessageComponentsT>(value);
90 template <
typename MessageComponentsT = MessageComponents>
104 template <
typename SourceEventDetailUrlT = Aws::String>
106 m_sourceEventDetailUrlHasBeenSet =
true;
107 m_sourceEventDetailUrl = std::forward<SourceEventDetailUrlT>(value);
109 template <
typename SourceEventDetailUrlT = Aws::String>
123 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
125 m_sourceEventDetailUrlDisplayTextHasBeenSet =
true;
126 m_sourceEventDetailUrlDisplayText = std::forward<SourceEventDetailUrlDisplayTextT>(value);
128 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
153 m_notificationTypeHasBeenSet =
true;
154 m_notificationType = value;
174 m_eventStatusHasBeenSet =
true;
175 m_eventStatus = value;
190 m_aggregationEventTypeHasBeenSet =
true;
191 m_aggregationEventType = value;
203 template <
typename AggregationSummaryT = AggregationSummary>
205 m_aggregationSummaryHasBeenSet =
true;
206 m_aggregationSummary = std::forward<AggregationSummaryT>(value);
208 template <
typename AggregationSummaryT = AggregationSummary>
221 template <
typename StartTimeT = Aws::Utils::DateTime>
223 m_startTimeHasBeenSet =
true;
224 m_startTime = std::forward<StartTimeT>(value);
226 template <
typename StartTimeT = Aws::Utils::DateTime>
239 template <
typename EndTimeT = Aws::Utils::DateTime>
241 m_endTimeHasBeenSet =
true;
242 m_endTime = std::forward<EndTimeT>(value);
244 template <
typename EndTimeT = Aws::Utils::DateTime>
257 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
259 m_textPartsHasBeenSet =
true;
260 m_textParts = std::forward<TextPartsT>(value);
262 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
267 template <
typename TextPartsKeyT = Aws::String,
typename TextPartsValueT = TextPartValue>
269 m_textPartsHasBeenSet =
true;
270 m_textParts.emplace(std::forward<TextPartsKeyT>(key), std::forward<TextPartsValueT>(value));
282 template <
typename OrganizationalUnitIdT = Aws::String>
284 m_organizationalUnitIdHasBeenSet =
true;
285 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
287 template <
typename OrganizationalUnitIdT = Aws::String>
300 template <
typename AttachmentsT = Aws::Vector<NotificationEventAttachment>>
302 m_attachmentsHasBeenSet =
true;
303 m_attachments = std::forward<AttachmentsT>(value);
305 template <
typename AttachmentsT = Aws::Vector<NotificationEventAttachment>>
310 template <
typename AttachmentsT = NotificationEventAttachment>
312 m_attachmentsHasBeenSet =
true;
313 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
322 MessageComponents m_messageComponents;
334 AggregationSummary m_aggregationSummary;
345 bool m_schemaVersionHasBeenSet =
false;
346 bool m_idHasBeenSet =
false;
347 bool m_messageComponentsHasBeenSet =
false;
348 bool m_sourceEventDetailUrlHasBeenSet =
false;
349 bool m_sourceEventDetailUrlDisplayTextHasBeenSet =
false;
350 bool m_notificationTypeHasBeenSet =
false;
351 bool m_eventStatusHasBeenSet =
false;
352 bool m_aggregationEventTypeHasBeenSet =
false;
353 bool m_aggregationSummaryHasBeenSet =
false;
354 bool m_startTimeHasBeenSet =
false;
355 bool m_endTimeHasBeenSet =
false;
356 bool m_textPartsHasBeenSet =
false;
357 bool m_organizationalUnitIdHasBeenSet =
false;
358 bool m_attachmentsHasBeenSet =
false;
const MessageComponents & GetMessageComponents() const
void SetStartTime(StartTimeT &&value)
void SetTextParts(TextPartsT &&value)
void SetEventStatus(EventStatus value)
ManagedNotificationEvent & WithNotificationType(NotificationType value)
const Aws::String & GetSourceEventDetailUrl() const
bool TextPartsHasBeenSet() const
void SetAggregationSummary(AggregationSummaryT &&value)
SchemaVersion GetSchemaVersion() const
NotificationType GetNotificationType() const
void SetSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT &&value)
AggregationEventType GetAggregationEventType() const
EventStatus GetEventStatus() const
AWS_NOTIFICATIONS_API ManagedNotificationEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAggregationEventType(AggregationEventType value)
void SetSchemaVersion(SchemaVersion value)
ManagedNotificationEvent & AddAttachments(AttachmentsT &&value)
void SetNotificationType(NotificationType value)
const Aws::String & GetSourceEventDetailUrlDisplayText() const
ManagedNotificationEvent & WithAttachments(AttachmentsT &&value)
bool AttachmentsHasBeenSet() const
bool EndTimeHasBeenSet() const
ManagedNotificationEvent & WithEndTime(EndTimeT &&value)
void SetAttachments(AttachmentsT &&value)
const Aws::Map< Aws::String, TextPartValue > & GetTextParts() const
const Aws::Utils::DateTime & GetEndTime() const
bool StartTimeHasBeenSet() const
bool OrganizationalUnitIdHasBeenSet() const
ManagedNotificationEvent & WithStartTime(StartTimeT &&value)
ManagedNotificationEvent & WithTextParts(TextPartsT &&value)
ManagedNotificationEvent & WithSchemaVersion(SchemaVersion value)
AWS_NOTIFICATIONS_API ManagedNotificationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
ManagedNotificationEvent & AddTextParts(TextPartsKeyT &&key, TextPartsValueT &&value)
ManagedNotificationEvent & WithAggregationSummary(AggregationSummaryT &&value)
bool NotificationTypeHasBeenSet() const
ManagedNotificationEvent & WithMessageComponents(MessageComponentsT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool EventStatusHasBeenSet() const
void SetSourceEventDetailUrl(SourceEventDetailUrlT &&value)
bool AggregationEventTypeHasBeenSet() const
void SetMessageComponents(MessageComponentsT &&value)
const Aws::String & GetId() const
ManagedNotificationEvent & WithEventStatus(EventStatus value)
ManagedNotificationEvent & WithSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT &&value)
const Aws::Vector< NotificationEventAttachment > & GetAttachments() const
ManagedNotificationEvent & WithSourceEventDetailUrl(SourceEventDetailUrlT &&value)
bool SchemaVersionHasBeenSet() const
ManagedNotificationEvent & WithAggregationEventType(AggregationEventType value)
bool IdHasBeenSet() const
bool SourceEventDetailUrlDisplayTextHasBeenSet() const
bool AggregationSummaryHasBeenSet() const
bool SourceEventDetailUrlHasBeenSet() const
bool MessageComponentsHasBeenSet() const
ManagedNotificationEvent & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
AWS_NOTIFICATIONS_API ManagedNotificationEvent()=default
const AggregationSummary & GetAggregationSummary() const
ManagedNotificationEvent & WithId(IdT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetOrganizationalUnitId() 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