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/notifications/model/AggregationEventType.h>
14#include <aws/notifications/model/AggregationSummary.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/notifications/model/TextPartValue.h>
30namespace Notifications
67 template<
typename IdT = Aws::String>
68 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
69 template<
typename IdT = Aws::String>
77 template<
typename MessageComponentsT = MessageComponents>
78 void SetMessageComponents(MessageComponentsT&& value) { m_messageComponentsHasBeenSet =
true; m_messageComponents = std::forward<MessageComponentsT>(value); }
79 template<
typename MessageComponentsT = MessageComponents>
90 template<
typename SourceEventDetailUrlT = Aws::String>
91 void SetSourceEventDetailUrl(SourceEventDetailUrlT&& value) { m_sourceEventDetailUrlHasBeenSet =
true; m_sourceEventDetailUrl = std::forward<SourceEventDetailUrlT>(value); }
92 template<
typename SourceEventDetailUrlT = Aws::String>
103 template<
typename SourceEventDetailUrlDisplayTextT = Aws::String>
104 void SetSourceEventDetailUrlDisplayText(SourceEventDetailUrlDisplayTextT&& value) { m_sourceEventDetailUrlDisplayTextHasBeenSet =
true; m_sourceEventDetailUrlDisplayText = std::forward<SourceEventDetailUrlDisplayTextT>(value); }
105 template<
typename SourceEventDetailUrlDisplayTextT = Aws::String>
159 template<
typename AggregationSummaryT = AggregationSummary>
160 void SetAggregationSummary(AggregationSummaryT&& value) { m_aggregationSummaryHasBeenSet =
true; m_aggregationSummary = std::forward<AggregationSummaryT>(value); }
161 template<
typename AggregationSummaryT = AggregationSummary>
171 template<
typename StartTimeT = Aws::Utils::DateTime>
172 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
173 template<
typename StartTimeT = Aws::Utils::DateTime>
183 template<
typename EndTimeT = Aws::Utils::DateTime>
184 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
185 template<
typename EndTimeT = Aws::Utils::DateTime>
195 template<
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
196 void SetTextParts(TextPartsT&& value) { m_textPartsHasBeenSet =
true; m_textParts = std::forward<TextPartsT>(value); }
197 template<
typename TextPartsT = Aws::Map<Aws::String, TextPartValue>>
199 template<
typename TextPartsKeyT = Aws::String,
typename TextPartsValueT = TextPartValue>
201 m_textPartsHasBeenSet =
true; m_textParts.emplace(std::forward<TextPartsKeyT>(key), std::forward<TextPartsValueT>(value));
return *
this;
212 template<
typename OrganizationalUnitIdT = Aws::String>
213 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet =
true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
214 template<
typename OrganizationalUnitIdT = Aws::String>
220 bool m_schemaVersionHasBeenSet =
false;
223 bool m_idHasBeenSet =
false;
225 MessageComponents m_messageComponents;
226 bool m_messageComponentsHasBeenSet =
false;
229 bool m_sourceEventDetailUrlHasBeenSet =
false;
232 bool m_sourceEventDetailUrlDisplayTextHasBeenSet =
false;
235 bool m_notificationTypeHasBeenSet =
false;
238 bool m_eventStatusHasBeenSet =
false;
241 bool m_aggregationEventTypeHasBeenSet =
false;
243 AggregationSummary m_aggregationSummary;
244 bool m_aggregationSummaryHasBeenSet =
false;
247 bool m_startTimeHasBeenSet =
false;
250 bool m_endTimeHasBeenSet =
false;
253 bool m_textPartsHasBeenSet =
false;
256 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