7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint-email/model/KinesisFirehoseDestination.h>
10#include <aws/pinpoint-email/model/CloudWatchDestination.h>
11#include <aws/pinpoint-email/model/SnsDestination.h>
12#include <aws/pinpoint-email/model/PinpointDestination.h>
13#include <aws/pinpoint-email/model/EventType.h>
26namespace PinpointEmail
58 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
134 bool m_enabledHasBeenSet =
false;
137 bool m_matchingEventTypesHasBeenSet =
false;
140 bool m_kinesisFirehoseDestinationHasBeenSet =
false;
143 bool m_cloudWatchDestinationHasBeenSet =
false;
146 bool m_snsDestinationHasBeenSet =
false;
149 bool m_pinpointDestinationHasBeenSet =
false;
EventDestinationDefinition & WithMatchingEventTypes(const Aws::Vector< EventType > &value)
bool KinesisFirehoseDestinationHasBeenSet() const
void SetPinpointDestination(const PinpointDestination &value)
void SetMatchingEventTypes(const Aws::Vector< EventType > &value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool SnsDestinationHasBeenSet() const
void SetKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
EventDestinationDefinition & WithPinpointDestination(const PinpointDestination &value)
EventDestinationDefinition & WithKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
AWS_PINPOINTEMAIL_API EventDestinationDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
const CloudWatchDestination & GetCloudWatchDestination() const
EventDestinationDefinition & WithPinpointDestination(PinpointDestination &&value)
AWS_PINPOINTEMAIL_API EventDestinationDefinition(Aws::Utils::Json::JsonView jsonValue)
EventDestinationDefinition & AddMatchingEventTypes(EventType &&value)
void SetCloudWatchDestination(const CloudWatchDestination &value)
const PinpointDestination & GetPinpointDestination() const
void SetCloudWatchDestination(CloudWatchDestination &&value)
EventDestinationDefinition & AddMatchingEventTypes(const EventType &value)
void SetSnsDestination(const SnsDestination &value)
void SetMatchingEventTypes(Aws::Vector< EventType > &&value)
EventDestinationDefinition & WithCloudWatchDestination(const CloudWatchDestination &value)
bool MatchingEventTypesHasBeenSet() const
EventDestinationDefinition & WithEnabled(bool value)
const Aws::Vector< EventType > & GetMatchingEventTypes() const
EventDestinationDefinition & WithKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
void SetPinpointDestination(PinpointDestination &&value)
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
bool CloudWatchDestinationHasBeenSet() const
void SetSnsDestination(SnsDestination &&value)
bool PinpointDestinationHasBeenSet() const
AWS_PINPOINTEMAIL_API EventDestinationDefinition()
EventDestinationDefinition & WithSnsDestination(SnsDestination &&value)
EventDestinationDefinition & WithSnsDestination(const SnsDestination &value)
EventDestinationDefinition & WithMatchingEventTypes(Aws::Vector< EventType > &&value)
EventDestinationDefinition & WithCloudWatchDestination(CloudWatchDestination &&value)
const SnsDestination & GetSnsDestination() const
bool EnabledHasBeenSet() const
void SetEnabled(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue