7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/notifications/NotificationsRequest.h>
10#include <aws/notifications/Notifications_EXPORTS.h>
15namespace Notifications {
39 template <
typename NotificationConfigurationArnT = Aws::String>
41 m_notificationConfigurationArnHasBeenSet =
true;
42 m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value);
44 template <
typename NotificationConfigurationArnT = Aws::String>
63 template <
typename SourceT = Aws::String>
65 m_sourceHasBeenSet =
true;
66 m_source = std::forward<SourceT>(value);
68 template <
typename SourceT = Aws::String>
86 template <
typename EventTypeT = Aws::String>
88 m_eventTypeHasBeenSet =
true;
89 m_eventType = std::forward<EventTypeT>(value);
91 template <
typename EventTypeT = Aws::String>
107 template <
typename EventPatternT = Aws::String>
109 m_eventPatternHasBeenSet =
true;
110 m_eventPattern = std::forward<EventPatternT>(value);
112 template <
typename EventPatternT = Aws::String>
126 template <
typename RegionsT = Aws::Vector<Aws::String>>
128 m_regionsHasBeenSet =
true;
129 m_regions = std::forward<RegionsT>(value);
131 template <
typename RegionsT = Aws::Vector<Aws::String>>
136 template <
typename RegionsT = Aws::String>
138 m_regionsHasBeenSet =
true;
139 m_regions.emplace_back(std::forward<RegionsT>(value));
153 bool m_notificationConfigurationArnHasBeenSet =
false;
154 bool m_sourceHasBeenSet =
false;
155 bool m_eventTypeHasBeenSet =
false;
156 bool m_eventPatternHasBeenSet =
false;
157 bool m_regionsHasBeenSet =
false;
const Aws::String & GetEventType() const
CreateEventRuleRequest & WithEventPattern(EventPatternT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
void SetRegions(RegionsT &&value)
void SetSource(SourceT &&value)
const Aws::String & GetEventPattern() const
CreateEventRuleRequest & AddRegions(RegionsT &&value)
AWS_NOTIFICATIONS_API CreateEventRuleRequest()=default
bool NotificationConfigurationArnHasBeenSet() const
const Aws::String & GetNotificationConfigurationArn() const
virtual const char * GetServiceRequestName() const override
void SetEventPattern(EventPatternT &&value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
bool EventTypeHasBeenSet() const
CreateEventRuleRequest & WithRegions(RegionsT &&value)
CreateEventRuleRequest & WithNotificationConfigurationArn(NotificationConfigurationArnT &&value)
bool RegionsHasBeenSet() const
const Aws::String & GetSource() const
CreateEventRuleRequest & WithEventType(EventTypeT &&value)
bool SourceHasBeenSet() const
void SetEventType(EventTypeT &&value)
void SetNotificationConfigurationArn(NotificationConfigurationArnT &&value)
bool EventPatternHasBeenSet() const
CreateEventRuleRequest & WithSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector