AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedNotificationChildEventSummary.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/model/SchemaVersion.h>
9#include <aws/notifications/model/ManagedSourceEventMetadataSummary.h>
10#include <aws/notifications/model/MessageComponentsSummary.h>
11#include <aws/notifications/model/AggregationDetail.h>
12#include <aws/notifications/model/EventStatus.h>
13#include <aws/notifications/model/NotificationType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Notifications
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_NOTIFICATIONS_API ManagedNotificationChildEventSummary() = default;
43 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline SchemaVersion GetSchemaVersion() const { return m_schemaVersion; }
51 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
52 inline void SetSchemaVersion(SchemaVersion value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
55
57
62 inline const ManagedSourceEventMetadataSummary& GetSourceEventMetadata() const { return m_sourceEventMetadata; }
63 inline bool SourceEventMetadataHasBeenSet() const { return m_sourceEventMetadataHasBeenSet; }
64 template<typename SourceEventMetadataT = ManagedSourceEventMetadataSummary>
65 void SetSourceEventMetadata(SourceEventMetadataT&& value) { m_sourceEventMetadataHasBeenSet = true; m_sourceEventMetadata = std::forward<SourceEventMetadataT>(value); }
66 template<typename SourceEventMetadataT = ManagedSourceEventMetadataSummary>
67 ManagedNotificationChildEventSummary& WithSourceEventMetadata(SourceEventMetadataT&& value) { SetSourceEventMetadata(std::forward<SourceEventMetadataT>(value)); return *this;}
69
71
72 inline const MessageComponentsSummary& GetMessageComponents() const { return m_messageComponents; }
73 inline bool MessageComponentsHasBeenSet() const { return m_messageComponentsHasBeenSet; }
74 template<typename MessageComponentsT = MessageComponentsSummary>
75 void SetMessageComponents(MessageComponentsT&& value) { m_messageComponentsHasBeenSet = true; m_messageComponents = std::forward<MessageComponentsT>(value); }
76 template<typename MessageComponentsT = MessageComponentsSummary>
77 ManagedNotificationChildEventSummary& WithMessageComponents(MessageComponentsT&& value) { SetMessageComponents(std::forward<MessageComponentsT>(value)); return *this;}
79
81
85 inline const AggregationDetail& GetAggregationDetail() const { return m_aggregationDetail; }
86 inline bool AggregationDetailHasBeenSet() const { return m_aggregationDetailHasBeenSet; }
87 template<typename AggregationDetailT = AggregationDetail>
88 void SetAggregationDetail(AggregationDetailT&& value) { m_aggregationDetailHasBeenSet = true; m_aggregationDetail = std::forward<AggregationDetailT>(value); }
89 template<typename AggregationDetailT = AggregationDetail>
90 ManagedNotificationChildEventSummary& WithAggregationDetail(AggregationDetailT&& value) { SetAggregationDetail(std::forward<AggregationDetailT>(value)); return *this;}
92
94
102 inline EventStatus GetEventStatus() const { return m_eventStatus; }
103 inline bool EventStatusHasBeenSet() const { return m_eventStatusHasBeenSet; }
104 inline void SetEventStatus(EventStatus value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; }
107
109
123 inline NotificationType GetNotificationType() const { return m_notificationType; }
124 inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
125 inline void SetNotificationType(NotificationType value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
128 private:
129
130 SchemaVersion m_schemaVersion{SchemaVersion::NOT_SET};
131 bool m_schemaVersionHasBeenSet = false;
132
133 ManagedSourceEventMetadataSummary m_sourceEventMetadata;
134 bool m_sourceEventMetadataHasBeenSet = false;
135
136 MessageComponentsSummary m_messageComponents;
137 bool m_messageComponentsHasBeenSet = false;
138
139 AggregationDetail m_aggregationDetail;
140 bool m_aggregationDetailHasBeenSet = false;
141
142 EventStatus m_eventStatus{EventStatus::NOT_SET};
143 bool m_eventStatusHasBeenSet = false;
144
146 bool m_notificationTypeHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Notifications
151} // namespace Aws
ManagedNotificationChildEventSummary & WithEventStatus(EventStatus value)
AWS_NOTIFICATIONS_API ManagedNotificationChildEventSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedNotificationChildEventSummary & WithSchemaVersion(SchemaVersion value)
ManagedNotificationChildEventSummary & WithSourceEventMetadata(SourceEventMetadataT &&value)
AWS_NOTIFICATIONS_API ManagedNotificationChildEventSummary()=default
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedNotificationChildEventSummary & WithMessageComponents(MessageComponentsT &&value)
ManagedNotificationChildEventSummary & WithNotificationType(NotificationType value)
AWS_NOTIFICATIONS_API ManagedNotificationChildEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedNotificationChildEventSummary & WithAggregationDetail(AggregationDetailT &&value)
Aws::Utils::Json::JsonValue JsonValue