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/notifications/Notifications_EXPORTS.h>
11#include <aws/notifications/model/AggregationEventType.h>
12#include <aws/notifications/model/AggregationSummary.h>
13#include <aws/notifications/model/EventStatus.h>
14#include <aws/notifications/model/MessageComponents.h>
15#include <aws/notifications/model/NotificationType.h>
16#include <aws/notifications/model/SchemaVersion.h>
17#include <aws/notifications/model/TextPartValue.h>
28namespace Notifications {
52 m_schemaVersionHasBeenSet =
true;
53 m_schemaVersion = value;
67 template <
typename IdT = Aws::String>
69 m_idHasBeenSet =
true;
70 m_id = std::forward<IdT>(value);
72 template <
typename IdT = Aws::String>
74 SetId(std::forward<IdT>(value));
83 template <
typename MessageComponentsT = MessageComponents>
85 m_messageComponentsHasBeenSet =
true;
86 m_messageComponents = std::forward<MessageComponentsT>(value);
88 template <
typename MessageComponentsT = MessageComponents>
102 template <
typename SourceEventDetailUrlT = Aws::String>
104 m_sourceEventDetailUrlHasBeenSet =
true;
105 m_sourceEventDetailUrl = std::forward<SourceEventDetailUrlT>(value);
107 template <
typename SourceEventDetailUrlT = Aws::String>
121 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
123 m_sourceEventDetailUrlDisplayTextHasBeenSet =
true;
124 m_sourceEventDetailUrlDisplayText = std::forward<SourceEventDetailUrlDisplayTextT>(value);
126 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
151 m_notificationTypeHasBeenSet =
true;
152 m_notificationType = value;
172 m_eventStatusHasBeenSet =
true;
173 m_eventStatus = value;
188 m_aggregationEventTypeHasBeenSet =
true;
189 m_aggregationEventType = value;
201 template <
typename AggregationSummaryT = AggregationSummary>
203 m_aggregationSummaryHasBeenSet =
true;
204 m_aggregationSummary = std::forward<AggregationSummaryT>(value);
206 template <
typename AggregationSummaryT = AggregationSummary>
219 template <
typename StartTimeT = Aws::Utils::DateTime>
221 m_startTimeHasBeenSet =
true;
222 m_startTime = std::forward<StartTimeT>(value);
224 template <
typename StartTimeT = Aws::Utils::DateTime>
237 template <
typename EndTimeT = Aws::Utils::DateTime>
239 m_endTimeHasBeenSet =
true;
240 m_endTime = std::forward<EndTimeT>(value);
242 template <
typename EndTimeT = Aws::Utils::DateTime>
255 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
257 m_textPartsHasBeenSet =
true;
258 m_textParts = std::forward<TextPartsT>(value);
260 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
265 template <
typename TextPartsKeyT = Aws::String,
typename TextPartsValueT = TextPartValue>
267 m_textPartsHasBeenSet =
true;
268 m_textParts.emplace(std::forward<TextPartsKeyT>(key), std::forward<TextPartsValueT>(value));
280 template <
typename OrganizationalUnitIdT = Aws::String>
282 m_organizationalUnitIdHasBeenSet =
true;
283 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
285 template <
typename OrganizationalUnitIdT = Aws::String>
296 MessageComponents m_messageComponents;
308 AggregationSummary m_aggregationSummary;
317 bool m_schemaVersionHasBeenSet =
false;
318 bool m_idHasBeenSet =
false;
319 bool m_messageComponentsHasBeenSet =
false;
320 bool m_sourceEventDetailUrlHasBeenSet =
false;
321 bool m_sourceEventDetailUrlDisplayTextHasBeenSet =
false;
322 bool m_notificationTypeHasBeenSet =
false;
323 bool m_eventStatusHasBeenSet =
false;
324 bool m_aggregationEventTypeHasBeenSet =
false;
325 bool m_aggregationSummaryHasBeenSet =
false;
326 bool m_startTimeHasBeenSet =
false;
327 bool m_endTimeHasBeenSet =
false;
328 bool m_textPartsHasBeenSet =
false;
329 bool m_organizationalUnitIdHasBeenSet =
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)
void SetNotificationType(NotificationType value)
const Aws::String & GetSourceEventDetailUrlDisplayText() const
bool EndTimeHasBeenSet() const
ManagedNotificationEvent & WithEndTime(EndTimeT &&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)
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
Aws::Utils::Json::JsonValue JsonValue