7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint-email/model/KinesisFirehoseDestination.h>
11#include <aws/pinpoint-email/model/CloudWatchDestination.h>
12#include <aws/pinpoint-email/model/SnsDestination.h>
13#include <aws/pinpoint-email/model/PinpointDestination.h>
14#include <aws/pinpoint-email/model/EventType.h>
27namespace PinpointEmail
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
75 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
151 bool m_nameHasBeenSet =
false;
154 bool m_enabledHasBeenSet =
false;
157 bool m_matchingEventTypesHasBeenSet =
false;
160 bool m_kinesisFirehoseDestinationHasBeenSet =
false;
163 bool m_cloudWatchDestinationHasBeenSet =
false;
166 bool m_snsDestinationHasBeenSet =
false;
169 bool m_pinpointDestinationHasBeenSet =
false;
EventDestination & WithMatchingEventTypes(const Aws::Vector< EventType > &value)
bool MatchingEventTypesHasBeenSet() const
EventDestination & WithKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
void SetName(const char *value)
void SetSnsDestination(SnsDestination &&value)
AWS_PINPOINTEMAIL_API EventDestination()
EventDestination & WithPinpointDestination(PinpointDestination &&value)
bool CloudWatchDestinationHasBeenSet() const
const SnsDestination & GetSnsDestination() const
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
EventDestination & WithCloudWatchDestination(CloudWatchDestination &&value)
EventDestination & WithCloudWatchDestination(const CloudWatchDestination &value)
EventDestination & WithName(const char *value)
const Aws::Vector< EventType > & GetMatchingEventTypes() const
EventDestination & WithMatchingEventTypes(Aws::Vector< EventType > &&value)
bool NameHasBeenSet() const
EventDestination & AddMatchingEventTypes(const EventType &value)
EventDestination & WithKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
AWS_PINPOINTEMAIL_API EventDestination(Aws::Utils::Json::JsonView jsonValue)
void SetPinpointDestination(const PinpointDestination &value)
AWS_PINPOINTEMAIL_API EventDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnabled(bool value)
void SetSnsDestination(const SnsDestination &value)
bool KinesisFirehoseDestinationHasBeenSet() const
EventDestination & WithName(Aws::String &&value)
const PinpointDestination & GetPinpointDestination() const
EventDestination & WithEnabled(bool value)
bool PinpointDestinationHasBeenSet() const
const CloudWatchDestination & GetCloudWatchDestination() const
EventDestination & WithName(const Aws::String &value)
void SetMatchingEventTypes(const Aws::Vector< EventType > &value)
EventDestination & WithSnsDestination(const SnsDestination &value)
void SetMatchingEventTypes(Aws::Vector< EventType > &&value)
void SetCloudWatchDestination(CloudWatchDestination &&value)
void SetName(Aws::String &&value)
EventDestination & AddMatchingEventTypes(EventType &&value)
void SetKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
bool EnabledHasBeenSet() const
void SetCloudWatchDestination(const CloudWatchDestination &value)
EventDestination & WithSnsDestination(SnsDestination &&value)
void SetKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
bool SnsDestinationHasBeenSet() const
const Aws::String & GetName() const
void SetName(const Aws::String &value)
EventDestination & WithPinpointDestination(const PinpointDestination &value)
void SetPinpointDestination(PinpointDestination &&value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue