7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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/ManagedNotificationEventSummary.h>
24namespace Notifications {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
65 template <
typename ManagedNotificationConfigurationArnT = Aws::String>
67 m_managedNotificationConfigurationArnHasBeenSet =
true;
68 m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value);
70 template <
typename ManagedNotificationConfigurationArnT = Aws::String>
83 template <
typename RelatedAccountT = Aws::String>
85 m_relatedAccountHasBeenSet =
true;
86 m_relatedAccount = std::forward<RelatedAccountT>(value);
88 template <
typename RelatedAccountT = Aws::String>
101 template <
typename CreationTimeT = Aws::Utils::DateTime>
103 m_creationTimeHasBeenSet =
true;
104 m_creationTime = std::forward<CreationTimeT>(value);
106 template <
typename CreationTimeT = Aws::Utils::DateTime>
119 template <
typename NotificationEventT = ManagedNotificationEventSummary>
121 m_notificationEventHasBeenSet =
true;
122 m_notificationEvent = std::forward<NotificationEventT>(value);
124 template <
typename NotificationEventT = ManagedNotificationEventSummary>
145 m_aggregationEventTypeHasBeenSet =
true;
146 m_aggregationEventType = value;
161 template <
typename OrganizationalUnitIdT = Aws::String>
163 m_organizationalUnitIdHasBeenSet =
true;
164 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
166 template <
typename OrganizationalUnitIdT = Aws::String>
177 template <
typename AggregationSummaryT = AggregationSummary>
179 m_aggregationSummaryHasBeenSet =
true;
180 m_aggregationSummary = std::forward<AggregationSummaryT>(value);
182 template <
typename AggregationSummaryT = AggregationSummary>
196 template <
typename AggregatedNotificationRegionsT = Aws::Vector<Aws::String>>
198 m_aggregatedNotificationRegionsHasBeenSet =
true;
199 m_aggregatedNotificationRegions = std::forward<AggregatedNotificationRegionsT>(value);
201 template <
typename AggregatedNotificationRegionsT = Aws::Vector<Aws::String>>
206 template <
typename AggregatedNotificationRegionsT = Aws::String>
208 m_aggregatedNotificationRegionsHasBeenSet =
true;
209 m_aggregatedNotificationRegions.emplace_back(std::forward<AggregatedNotificationRegionsT>(value));
222 ManagedNotificationEventSummary m_notificationEvent;
228 AggregationSummary m_aggregationSummary;
231 bool m_arnHasBeenSet =
false;
232 bool m_managedNotificationConfigurationArnHasBeenSet =
false;
233 bool m_relatedAccountHasBeenSet =
false;
234 bool m_creationTimeHasBeenSet =
false;
235 bool m_notificationEventHasBeenSet =
false;
236 bool m_aggregationEventTypeHasBeenSet =
false;
237 bool m_organizationalUnitIdHasBeenSet =
false;
238 bool m_aggregationSummaryHasBeenSet =
false;
239 bool m_aggregatedNotificationRegionsHasBeenSet =
false;
bool AggregatedNotificationRegionsHasBeenSet() const
bool AggregationSummaryHasBeenSet() const
bool RelatedAccountHasBeenSet() const
AWS_NOTIFICATIONS_API ManagedNotificationEventOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedNotificationEventOverview & WithAggregatedNotificationRegions(AggregatedNotificationRegionsT &&value)
ManagedNotificationEventOverview & WithArn(ArnT &&value)
const AggregationSummary & GetAggregationSummary() const
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
const Aws::Vector< Aws::String > & GetAggregatedNotificationRegions() const
const Aws::String & GetManagedNotificationConfigurationArn() const
ManagedNotificationEventOverview & WithAggregationEventType(AggregationEventType value)
const ManagedNotificationEventSummary & GetNotificationEvent() const
void SetNotificationEvent(NotificationEventT &&value)
const Aws::String & GetOrganizationalUnitId() const
const Aws::String & GetArn() const
void SetAggregatedNotificationRegions(AggregatedNotificationRegionsT &&value)
bool ManagedNotificationConfigurationArnHasBeenSet() const
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
ManagedNotificationEventOverview & WithAggregationSummary(AggregationSummaryT &&value)
ManagedNotificationEventOverview & WithCreationTime(CreationTimeT &&value)
AggregationEventType GetAggregationEventType() const
bool CreationTimeHasBeenSet() const
void SetAggregationEventType(AggregationEventType value)
const Aws::Utils::DateTime & GetCreationTime() const
bool ArnHasBeenSet() const
AWS_NOTIFICATIONS_API ManagedNotificationEventOverview()=default
bool OrganizationalUnitIdHasBeenSet() const
ManagedNotificationEventOverview & WithNotificationEvent(NotificationEventT &&value)
void SetCreationTime(CreationTimeT &&value)
bool AggregationEventTypeHasBeenSet() const
ManagedNotificationEventOverview & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
ManagedNotificationEventOverview & AddAggregatedNotificationRegions(AggregatedNotificationRegionsT &&value)
ManagedNotificationEventOverview & WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
void SetRelatedAccount(RelatedAccountT &&value)
ManagedNotificationEventOverview & WithRelatedAccount(RelatedAccountT &&value)
void SetAggregationSummary(AggregationSummaryT &&value)
const Aws::String & GetRelatedAccount() const
AWS_NOTIFICATIONS_API ManagedNotificationEventOverview(Aws::Utils::Json::JsonView jsonValue)
bool NotificationEventHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue