7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/model/SchemaVersion.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/notifications/model/MessageComponents.h>
11#include <aws/notifications/model/NotificationType.h>
12#include <aws/notifications/model/EventStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/notifications/model/AggregationDetail.h>
16#include <aws/notifications/model/TextPartValue.h>
29namespace Notifications
66 template<
typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
68 template<
typename IdT = Aws::String>
76 template<
typename MessageComponentsT = MessageComponents>
77 void SetMessageComponents(MessageComponentsT&& value) { m_messageComponentsHasBeenSet =
true; m_messageComponents = std::forward<MessageComponentsT>(value); }
78 template<
typename MessageComponentsT = MessageComponents>
88 template<
typename SourceEventDetailUrlT = Aws::String>
89 void SetSourceEventDetailUrl(SourceEventDetailUrlT&& value) { m_sourceEventDetailUrlHasBeenSet =
true; m_sourceEventDetailUrl = std::forward<SourceEventDetailUrlT>(value); }
90 template<
typename SourceEventDetailUrlT = Aws::String>
100 template<
typename SourceEventDetailUrlDisplayTextT = Aws::String>
101 void SetSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT&& value) { m_sourceEventDetailUrlDisplayTextHasBeenSet =
true; m_sourceEventDetailUrlDisplayText = std::forward<SourceEventDetailUrlDisplayTextT>(value); }
102 template<
typename SourceEventDetailUrlDisplayTextT = Aws::String>
148 template<
typename AggregateManagedNotificationEventArnT = Aws::String>
149 void SetAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT&& value) { m_aggregateManagedNotificationEventArnHasBeenSet =
true; m_aggregateManagedNotificationEventArn = std::forward<AggregateManagedNotificationEventArnT>(value); }
150 template<
typename AggregateManagedNotificationEventArnT = Aws::String>
160 template<
typename StartTimeT = Aws::Utils::DateTime>
161 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
162 template<
typename StartTimeT = Aws::Utils::DateTime>
172 template<
typename EndTimeT = Aws::Utils::DateTime>
173 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
174 template<
typename EndTimeT = Aws::Utils::DateTime>
184 template<
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
185 void SetTextParts(TextPartsT&& value) { m_textPartsHasBeenSet =
true; m_textParts = std::forward<TextPartsT>(value); }
186 template<
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
188 template<
typename TextPartsKeyT = Aws::String,
typename TextPartsValueT = TextPartValue>
190 m_textPartsHasBeenSet =
true; m_textParts.emplace(std::forward<TextPartsKeyT>(key), std::forward<TextPartsValueT>(value));
return *
this;
201 template<
typename OrganizationalUnitIdT = Aws::String>
202 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet =
true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
203 template<
typename OrganizationalUnitIdT = Aws::String>
214 template<
typename AggregationDetailT = AggregationDetail>
215 void SetAggregationDetail(AggregationDetailT&& value) { m_aggregationDetailHasBeenSet =
true; m_aggregationDetail = std::forward<AggregationDetailT>(value); }
216 template<
typename AggregationDetailT = AggregationDetail>
222 bool m_schemaVersionHasBeenSet =
false;
225 bool m_idHasBeenSet =
false;
227 MessageComponents m_messageComponents;
228 bool m_messageComponentsHasBeenSet =
false;
231 bool m_sourceEventDetailUrlHasBeenSet =
false;
234 bool m_sourceEventDetailUrlDisplayTextHasBeenSet =
false;
237 bool m_notificationTypeHasBeenSet =
false;
240 bool m_eventStatusHasBeenSet =
false;
242 Aws::String m_aggregateManagedNotificationEventArn;
243 bool m_aggregateManagedNotificationEventArnHasBeenSet =
false;
246 bool m_startTimeHasBeenSet =
false;
249 bool m_endTimeHasBeenSet =
false;
252 bool m_textPartsHasBeenSet =
false;
255 bool m_organizationalUnitIdHasBeenSet =
false;
257 AggregationDetail m_aggregationDetail;
258 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