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/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/notifications/model/EventRuleStatusSummary.h>
25namespace Notifications
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
66 template<
typename NotificationConfigurationArnT = Aws::String>
67 void SetNotificationConfigurationArn(NotificationConfigurationArnT&& value) { m_notificationConfigurationArnHasBeenSet =
true; m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value); }
68 template<
typename NotificationConfigurationArnT = Aws::String>
78 template<
typename CreationTimeT = Aws::Utils::DateTime>
79 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
80 template<
typename CreationTimeT = Aws::Utils::DateTime>
97 template<
typename SourceT = Aws::String>
98 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
99 template<
typename SourceT = Aws::String>
115 template<
typename EventTypeT = Aws::String>
116 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
117 template<
typename EventTypeT = Aws::String>
130 template<
typename EventPatternT = Aws::String>
131 void SetEventPattern(EventPatternT&& value) { m_eventPatternHasBeenSet =
true; m_eventPattern = std::forward<EventPatternT>(value); }
132 template<
typename EventPatternT = Aws::String>
143 template<
typename RegionsT = Aws::Vector<Aws::String>>
144 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
145 template<
typename RegionsT = Aws::Vector<Aws::String>>
147 template<
typename RegionsT = Aws::String>
159 template<
typename ManagedRulesT = Aws::Vector<Aws::String>>
160 void SetManagedRules(ManagedRulesT&& value) { m_managedRulesHasBeenSet =
true; m_managedRules = std::forward<ManagedRulesT>(value); }
161 template<
typename ManagedRulesT = Aws::Vector<Aws::String>>
163 template<
typename ManagedRulesT = Aws::String>
174 template<
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
175 void SetStatusSummaryByRegion(StatusSummaryByRegionT&& value) { m_statusSummaryByRegionHasBeenSet =
true; m_statusSummaryByRegion = std::forward<StatusSummaryByRegionT>(value); }
176 template<
typename StatusSummaryByRegionT = Aws::Map<Aws::String, EventRuleStatusSummary>>
178 template<
typename StatusSummaryByRegionKeyT = Aws::String,
typename StatusSummaryByRegionValueT = EventRuleStatusSummary>
180 m_statusSummaryByRegionHasBeenSet =
true; m_statusSummaryByRegion.emplace(std::forward<StatusSummaryByRegionKeyT>(key), std::forward<StatusSummaryByRegionValueT>(value));
return *
this;
186 bool m_arnHasBeenSet =
false;
189 bool m_notificationConfigurationArnHasBeenSet =
false;
192 bool m_creationTimeHasBeenSet =
false;
195 bool m_sourceHasBeenSet =
false;
198 bool m_eventTypeHasBeenSet =
false;
201 bool m_eventPatternHasBeenSet =
false;
204 bool m_regionsHasBeenSet =
false;
207 bool m_managedRulesHasBeenSet =
false;
210 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