7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15namespace Notifications
43 template<
typename NotificationConfigurationArnT = Aws::String>
44 void SetNotificationConfigurationArn(NotificationConfigurationArnT&& value) { m_notificationConfigurationArnHasBeenSet =
true; m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value); }
45 template<
typename NotificationConfigurationArnT = Aws::String>
61 template<
typename SourceT = Aws::String>
62 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
63 template<
typename SourceT = Aws::String>
78 template<
typename EventTypeT = Aws::String>
79 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
80 template<
typename EventTypeT = Aws::String>
93 template<
typename EventPatternT = Aws::String>
94 void SetEventPattern(EventPatternT&& value) { m_eventPatternHasBeenSet =
true; m_eventPattern = std::forward<EventPatternT>(value); }
95 template<
typename EventPatternT = Aws::String>
106 template<
typename RegionsT = Aws::Vector<Aws::String>>
107 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
108 template<
typename RegionsT = Aws::Vector<Aws::String>>
110 template<
typename RegionsT = Aws::String>
116 bool m_notificationConfigurationArnHasBeenSet =
false;
119 bool m_sourceHasBeenSet =
false;
122 bool m_eventTypeHasBeenSet =
false;
125 bool m_eventPatternHasBeenSet =
false;
128 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