7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/notifications/model/ManagedNotificationEventSummary.h>
11#include <aws/notifications/model/AggregationEventType.h>
12#include <aws/notifications/model/AggregationSummary.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace Notifications
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
65 template<
typename ManagedNotificationConfigurationArnT = Aws::String>
66 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { m_managedNotificationConfigurationArnHasBeenSet =
true; m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value); }
67 template<
typename ManagedNotificationConfigurationArnT = Aws::String>
77 template<
typename RelatedAccountT = Aws::String>
78 void SetRelatedAccount(RelatedAccountT&& value) { m_relatedAccountHasBeenSet =
true; m_relatedAccount = std::forward<RelatedAccountT>(value); }
79 template<
typename RelatedAccountT = Aws::String>
89 template<
typename CreationTimeT = Aws::Utils::DateTime>
90 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
91 template<
typename CreationTimeT = Aws::Utils::DateTime>
99 template<
typename NotificationEventT = ManagedNotificationEventSummary>
100 void SetNotificationEvent(NotificationEventT&& value) { m_notificationEventHasBeenSet =
true; m_notificationEvent = std::forward<NotificationEventT>(value); }
101 template<
typename NotificationEventT = ManagedNotificationEventSummary>
129 template<
typename OrganizationalUnitIdT = Aws::String>
130 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet =
true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
131 template<
typename OrganizationalUnitIdT = Aws::String>
139 template<
typename AggregationSummaryT = AggregationSummary>
140 void SetAggregationSummary(AggregationSummaryT&& value) { m_aggregationSummaryHasBeenSet =
true; m_aggregationSummary = std::forward<AggregationSummaryT>(value); }
141 template<
typename AggregationSummaryT = AggregationSummary>
152 template<
typename AggregatedNotificationRegionsT = Aws::Vector<Aws::String>>
153 void SetAggregatedNotificationRegions(AggregatedNotificationRegionsT&& value) { m_aggregatedNotificationRegionsHasBeenSet =
true; m_aggregatedNotificationRegions = std::forward<AggregatedNotificationRegionsT>(value); }
154 template<
typename AggregatedNotificationRegionsT = Aws::Vector<Aws::String>>
156 template<
typename AggregatedNotificationRegionsT = Aws::String>
162 bool m_arnHasBeenSet =
false;
165 bool m_managedNotificationConfigurationArnHasBeenSet =
false;
168 bool m_relatedAccountHasBeenSet =
false;
171 bool m_creationTimeHasBeenSet =
false;
173 ManagedNotificationEventSummary m_notificationEvent;
174 bool m_notificationEventHasBeenSet =
false;
177 bool m_aggregationEventTypeHasBeenSet =
false;
180 bool m_organizationalUnitIdHasBeenSet =
false;
182 AggregationSummary m_aggregationSummary;
183 bool m_aggregationSummaryHasBeenSet =
false;
186 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