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/AggregationDetail.h>
12#include <aws/notifications/model/EventStatus.h>
13#include <aws/notifications/model/MessageComponents.h>
14#include <aws/notifications/model/NotificationType.h>
15#include <aws/notifications/model/SchemaVersion.h>
16#include <aws/notifications/model/TextPartValue.h>
27namespace Notifications {
51 m_schemaVersionHasBeenSet =
true;
52 m_schemaVersion = value;
66 template <
typename IdT = Aws::String>
68 m_idHasBeenSet =
true;
69 m_id = std::forward<IdT>(value);
71 template <
typename IdT = Aws::String>
73 SetId(std::forward<IdT>(value));
82 template <
typename MessageComponentsT = MessageComponents>
84 m_messageComponentsHasBeenSet =
true;
85 m_messageComponents = std::forward<MessageComponentsT>(value);
87 template <
typename MessageComponentsT = MessageComponents>
100 template <
typename SourceEventDetailUrlT = Aws::String>
102 m_sourceEventDetailUrlHasBeenSet =
true;
103 m_sourceEventDetailUrl = std::forward<SourceEventDetailUrlT>(value);
105 template <
typename SourceEventDetailUrlT = Aws::String>
118 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
120 m_sourceEventDetailUrlDisplayTextHasBeenSet =
true;
121 m_sourceEventDetailUrlDisplayText = std::forward<SourceEventDetailUrlDisplayTextT>(value);
123 template <
typename SourceEventDetailUrlDisplayTextT = Aws::String>
148 m_notificationTypeHasBeenSet =
true;
149 m_notificationType = value;
168 m_eventStatusHasBeenSet =
true;
169 m_eventStatus = value;
184 template <
typename AggregateManagedNotificationEventArnT = Aws::String>
186 m_aggregateManagedNotificationEventArnHasBeenSet =
true;
187 m_aggregateManagedNotificationEventArn = std::forward<AggregateManagedNotificationEventArnT>(value);
189 template <
typename AggregateManagedNotificationEventArnT = Aws::String>
202 template <
typename StartTimeT = Aws::Utils::DateTime>
204 m_startTimeHasBeenSet =
true;
205 m_startTime = std::forward<StartTimeT>(value);
207 template <
typename StartTimeT = Aws::Utils::DateTime>
220 template <
typename EndTimeT = Aws::Utils::DateTime>
222 m_endTimeHasBeenSet =
true;
223 m_endTime = std::forward<EndTimeT>(value);
225 template <
typename EndTimeT = Aws::Utils::DateTime>
238 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
240 m_textPartsHasBeenSet =
true;
241 m_textParts = std::forward<TextPartsT>(value);
243 template <
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
248 template <
typename TextPartsKeyT = Aws::String,
typename TextPartsValueT = TextPartValue>
250 m_textPartsHasBeenSet =
true;
251 m_textParts.emplace(std::forward<TextPartsKeyT>(key), std::forward<TextPartsValueT>(value));
263 template <
typename OrganizationalUnitIdT = Aws::String>
265 m_organizationalUnitIdHasBeenSet =
true;
266 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
268 template <
typename OrganizationalUnitIdT = Aws::String>
282 template <
typename AggregationDetailT = AggregationDetail>
284 m_aggregationDetailHasBeenSet =
true;
285 m_aggregationDetail = std::forward<AggregationDetailT>(value);
287 template <
typename AggregationDetailT = AggregationDetail>
298 MessageComponents m_messageComponents;
308 Aws::String m_aggregateManagedNotificationEventArn;
318 AggregationDetail m_aggregationDetail;
319 bool m_schemaVersionHasBeenSet =
false;
320 bool m_idHasBeenSet =
false;
321 bool m_messageComponentsHasBeenSet =
false;
322 bool m_sourceEventDetailUrlHasBeenSet =
false;
323 bool m_sourceEventDetailUrlDisplayTextHasBeenSet =
false;
324 bool m_notificationTypeHasBeenSet =
false;
325 bool m_eventStatusHasBeenSet =
false;
326 bool m_aggregateManagedNotificationEventArnHasBeenSet =
false;
327 bool m_startTimeHasBeenSet =
false;
328 bool m_endTimeHasBeenSet =
false;
329 bool m_textPartsHasBeenSet =
false;
330 bool m_organizationalUnitIdHasBeenSet =
false;
331 bool m_aggregationDetailHasBeenSet =
false;
const AggregationDetail & GetAggregationDetail() const
const MessageComponents & GetMessageComponents() const
bool EndTimeHasBeenSet() const
const Aws::String & GetSourceEventDetailUrlDisplayText() const
ManagedNotificationChildEvent & WithTextParts(TextPartsT &&value)
bool AggregateManagedNotificationEventArnHasBeenSet() const
ManagedNotificationChildEvent & WithMessageComponents(MessageComponentsT &&value)
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
ManagedNotificationChildEvent & WithSourceEventDetailUrl(SourceEventDetailUrlT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetId() const
bool TextPartsHasBeenSet() const
AWS_NOTIFICATIONS_API ManagedNotificationChildEvent()=default
void SetNotificationType(NotificationType value)
ManagedNotificationChildEvent & WithId(IdT &&value)
bool IdHasBeenSet() const
void SetEndTime(EndTimeT &&value)
ManagedNotificationChildEvent & WithSchemaVersion(SchemaVersion value)
void SetMessageComponents(MessageComponentsT &&value)
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAggregateManagedNotificationEventArn() const
bool EventStatusHasBeenSet() const
bool MessageComponentsHasBeenSet() const
void SetSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT &&value)
void SetSchemaVersion(SchemaVersion value)
const Aws::String & GetSourceEventDetailUrl() const
ManagedNotificationChildEvent & WithNotificationType(NotificationType value)
bool SourceEventDetailUrlDisplayTextHasBeenSet() const
void SetSourceEventDetailUrl(SourceEventDetailUrlT &&value)
bool OrganizationalUnitIdHasBeenSet() const
void SetAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT &&value)
ManagedNotificationChildEvent & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
bool SchemaVersionHasBeenSet() const
ManagedNotificationChildEvent & WithAggregationDetail(AggregationDetailT &&value)
const Aws::String & GetOrganizationalUnitId() const
const Aws::Map< Aws::String, TextPartValue > & GetTextParts() const
bool SourceEventDetailUrlHasBeenSet() const
void SetStartTime(StartTimeT &&value)
bool NotificationTypeHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
void SetEventStatus(EventStatus value)
EventStatus GetEventStatus() const
void SetTextParts(TextPartsT &&value)
ManagedNotificationChildEvent & WithSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT &&value)
bool AggregationDetailHasBeenSet() const
AWS_NOTIFICATIONS_API ManagedNotificationChildEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
ManagedNotificationChildEvent & AddTextParts(TextPartsKeyT &&key, TextPartsValueT &&value)
NotificationType GetNotificationType() const
ManagedNotificationChildEvent & WithStartTime(StartTimeT &&value)
SchemaVersion GetSchemaVersion() const
void SetAggregationDetail(AggregationDetailT &&value)
ManagedNotificationChildEvent & WithAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT &&value)
ManagedNotificationChildEvent & WithEventStatus(EventStatus value)
ManagedNotificationChildEvent & WithEndTime(EndTimeT &&value)
AWS_NOTIFICATIONS_API ManagedNotificationChildEvent(Aws::Utils::Json::JsonView jsonValue)
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