7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/notifications/Notifications_EXPORTS.h>
12#include <aws/notifications/model/EventRuleStatusSummary.h>
23namespace Notifications {
47 template <
typename ArnT = Aws::String>
49 m_arnHasBeenSet =
true;
50 m_arn = std::forward<ArnT>(value);
52 template <
typename ArnT = Aws::String>
54 SetArn(std::forward<ArnT>(value));
66 template <
typename NotificationConfigurationArnT = Aws::String>
68 m_notificationConfigurationArnHasBeenSet =
true;
69 m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value);
71 template <
typename NotificationConfigurationArnT = Aws::String>
84 template <
typename CreationTimeT = Aws::Utils::DateTime>
86 m_creationTimeHasBeenSet =
true;
87 m_creationTime = std::forward<CreationTimeT>(value);
89 template <
typename CreationTimeT = Aws::Utils::DateTime>
109 template <
typename SourceT = Aws::String>
111 m_sourceHasBeenSet =
true;
112 m_source = std::forward<SourceT>(value);
114 template <
typename SourceT = Aws::String>
133 template <
typename EventTypeT = Aws::String>
135 m_eventTypeHasBeenSet =
true;
136 m_eventType = std::forward<EventTypeT>(value);
138 template <
typename EventTypeT = Aws::String>
154 template <
typename EventPatternT = Aws::String>
156 m_eventPatternHasBeenSet =
true;
157 m_eventPattern = std::forward<EventPatternT>(value);
159 template <
typename EventPatternT = Aws::String>
173 template <
typename RegionsT = Aws::Vector<Aws::String>>
175 m_regionsHasBeenSet =
true;
176 m_regions = std::forward<RegionsT>(value);
178 template <
typename RegionsT = Aws::Vector<Aws::String>>
183 template <
typename RegionsT = Aws::String>
185 m_regionsHasBeenSet =
true;
186 m_regions.emplace_back(std::forward<RegionsT>(value));
199 template <
typename ManagedRulesT = Aws::Vector<Aws::String>>
201 m_managedRulesHasBeenSet =
true;
202 m_managedRules = std::forward<ManagedRulesT>(value);
204 template <
typename ManagedRulesT = Aws::Vector<Aws::String>>
209 template <
typename ManagedRulesT = Aws::String>
211 m_managedRulesHasBeenSet =
true;
212 m_managedRules.emplace_back(std::forward<ManagedRulesT>(value));
224 template <
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
226 m_statusSummaryByRegionHasBeenSet =
true;
227 m_statusSummaryByRegion = std::forward<StatusSummaryByRegionT>(value);
229 template <
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
234 template <
typename StatusSummaryByRegionKeyT = Aws::String,
typename StatusSummaryByRegionValueT = EventRuleStatusSummary>
236 m_statusSummaryByRegionHasBeenSet =
true;
237 m_statusSummaryByRegion.emplace(std::forward<StatusSummaryByRegionKeyT>(key), std::forward<StatusSummaryByRegionValueT>(value));
259 bool m_arnHasBeenSet =
false;
260 bool m_notificationConfigurationArnHasBeenSet =
false;
261 bool m_creationTimeHasBeenSet =
false;
262 bool m_sourceHasBeenSet =
false;
263 bool m_eventTypeHasBeenSet =
false;
264 bool m_eventPatternHasBeenSet =
false;
265 bool m_regionsHasBeenSet =
false;
266 bool m_managedRulesHasBeenSet =
false;
267 bool m_statusSummaryByRegionHasBeenSet =
false;
EventRuleStructure & WithNotificationConfigurationArn(NotificationConfigurationArnT &&value)
EventRuleStructure & WithRegions(RegionsT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetNotificationConfigurationArn() const
void SetEventType(EventTypeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
EventRuleStructure & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetSource() const
const Aws::String & GetEventType() const
const Aws::Vector< Aws::String > & GetRegions() const
EventRuleStructure & AddStatusSummaryByRegion(StatusSummaryByRegionKeyT &&key, StatusSummaryByRegionValueT &&value)
const Aws::String & GetArn() const
EventRuleStructure & WithEventPattern(EventPatternT &&value)
const Aws::String & GetEventPattern() const
AWS_NOTIFICATIONS_API EventRuleStructure(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
bool NotificationConfigurationArnHasBeenSet() const
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, EventRuleStatusSummary > & GetStatusSummaryByRegion() const
bool RegionsHasBeenSet() const
EventRuleStructure & AddRegions(RegionsT &&value)
bool CreationTimeHasBeenSet() const
AWS_NOTIFICATIONS_API EventRuleStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
EventRuleStructure & AddManagedRules(ManagedRulesT &&value)
void SetSource(SourceT &&value)
bool StatusSummaryByRegionHasBeenSet() const
EventRuleStructure & WithEventType(EventTypeT &&value)
AWS_NOTIFICATIONS_API EventRuleStructure()=default
EventRuleStructure & WithArn(ArnT &&value)
void SetStatusSummaryByRegion(StatusSummaryByRegionT &&value)
EventRuleStructure & WithManagedRules(ManagedRulesT &&value)
bool SourceHasBeenSet() const
void SetArn(ArnT &&value)
void SetNotificationConfigurationArn(NotificationConfigurationArnT &&value)
void SetRegions(RegionsT &&value)
const Aws::Vector< Aws::String > & GetManagedRules() const
bool EventTypeHasBeenSet() const
bool ManagedRulesHasBeenSet() const
void SetManagedRules(ManagedRulesT &&value)
EventRuleStructure & WithSource(SourceT &&value)
bool EventPatternHasBeenSet() const
EventRuleStructure & WithStatusSummaryByRegion(StatusSummaryByRegionT &&value)
void SetEventPattern(EventPatternT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue