7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/KinesisFirehoseDestination.h>
11#include <aws/sesv2/model/CloudWatchDestination.h>
12#include <aws/sesv2/model/SnsDestination.h>
13#include <aws/sesv2/model/EventBridgeDestination.h>
14#include <aws/sesv2/model/PinpointDestination.h>
15#include <aws/sesv2/model/EventType.h>
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
200 bool m_nameHasBeenSet =
false;
203 bool m_enabledHasBeenSet =
false;
206 bool m_matchingEventTypesHasBeenSet =
false;
209 bool m_kinesisFirehoseDestinationHasBeenSet =
false;
212 bool m_cloudWatchDestinationHasBeenSet =
false;
215 bool m_snsDestinationHasBeenSet =
false;
218 bool m_eventBridgeDestinationHasBeenSet =
false;
221 bool m_pinpointDestinationHasBeenSet =
false;
void SetName(Aws::String &&value)
AWS_SESV2_API EventDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
EventDestination & WithPinpointDestination(const PinpointDestination &value)
bool SnsDestinationHasBeenSet() const
const CloudWatchDestination & GetCloudWatchDestination() const
void SetSnsDestination(SnsDestination &&value)
EventDestination & AddMatchingEventTypes(EventType &&value)
EventDestination & WithMatchingEventTypes(const Aws::Vector< EventType > &value)
const EventBridgeDestination & GetEventBridgeDestination() const
void SetCloudWatchDestination(const CloudWatchDestination &value)
EventDestination & WithName(const Aws::String &value)
bool EnabledHasBeenSet() const
bool EventBridgeDestinationHasBeenSet() const
bool CloudWatchDestinationHasBeenSet() const
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
EventDestination & WithMatchingEventTypes(Aws::Vector< EventType > &&value)
const Aws::String & GetName() const
EventDestination & WithKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
void SetKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
bool NameHasBeenSet() const
void SetEventBridgeDestination(const EventBridgeDestination &value)
void SetName(const Aws::String &value)
EventDestination & WithSnsDestination(const SnsDestination &value)
EventDestination & WithPinpointDestination(PinpointDestination &&value)
void SetPinpointDestination(const PinpointDestination &value)
EventDestination & WithEnabled(bool value)
EventDestination & WithSnsDestination(SnsDestination &&value)
bool PinpointDestinationHasBeenSet() const
EventDestination & WithEventBridgeDestination(const EventBridgeDestination &value)
const SnsDestination & GetSnsDestination() const
EventDestination & WithCloudWatchDestination(CloudWatchDestination &&value)
EventDestination & WithName(const char *value)
EventDestination & WithName(Aws::String &&value)
EventDestination & AddMatchingEventTypes(const EventType &value)
bool KinesisFirehoseDestinationHasBeenSet() const
bool MatchingEventTypesHasBeenSet() const
EventDestination & WithKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
void SetMatchingEventTypes(Aws::Vector< EventType > &&value)
const Aws::Vector< EventType > & GetMatchingEventTypes() const
const PinpointDestination & GetPinpointDestination() const
void SetCloudWatchDestination(CloudWatchDestination &&value)
void SetEnabled(bool value)
EventDestination & WithEventBridgeDestination(EventBridgeDestination &&value)
AWS_SESV2_API EventDestination()
void SetPinpointDestination(PinpointDestination &&value)
void SetSnsDestination(const SnsDestination &value)
void SetName(const char *value)
AWS_SESV2_API EventDestination(Aws::Utils::Json::JsonView jsonValue)
EventDestination & WithCloudWatchDestination(const CloudWatchDestination &value)
void SetMatchingEventTypes(const Aws::Vector< EventType > &value)
void SetKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
void SetEventBridgeDestination(EventBridgeDestination &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue