7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/email/model/KinesisFirehoseDestination.h>
12#include <aws/email/model/CloudWatchDestination.h>
13#include <aws/email/model/SNSDestination.h>
14#include <aws/email/model/EventType.h>
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
153 bool m_nameHasBeenSet =
false;
156 bool m_enabledHasBeenSet =
false;
159 bool m_matchingEventTypesHasBeenSet =
false;
162 bool m_kinesisFirehoseDestinationHasBeenSet =
false;
165 bool m_cloudWatchDestinationHasBeenSet =
false;
168 bool m_sNSDestinationHasBeenSet =
false;
EventDestination & WithKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
void SetKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
void SetEnabled(bool value)
void SetName(const char *value)
bool CloudWatchDestinationHasBeenSet() const
AWS_SES_API EventDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EventDestination & WithCloudWatchDestination(CloudWatchDestination &&value)
bool KinesisFirehoseDestinationHasBeenSet() const
void SetCloudWatchDestination(CloudWatchDestination &&value)
void SetSNSDestination(SNSDestination &&value)
EventDestination & WithSNSDestination(const SNSDestination &value)
EventDestination & WithName(const Aws::String &value)
const CloudWatchDestination & GetCloudWatchDestination() const
AWS_SES_API EventDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
bool NameHasBeenSet() const
EventDestination & WithCloudWatchDestination(const CloudWatchDestination &value)
void SetSNSDestination(const SNSDestination &value)
EventDestination & WithName(const char *value)
EventDestination & AddMatchingEventTypes(const EventType &value)
const SNSDestination & GetSNSDestination() const
const Aws::String & GetName() const
EventDestination & WithSNSDestination(SNSDestination &&value)
EventDestination & WithName(Aws::String &&value)
bool SNSDestinationHasBeenSet() const
void SetMatchingEventTypes(Aws::Vector< EventType > &&value)
const Aws::Vector< EventType > & GetMatchingEventTypes() const
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
bool MatchingEventTypesHasBeenSet() const
EventDestination & WithMatchingEventTypes(Aws::Vector< EventType > &&value)
void SetKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EventDestination & WithMatchingEventTypes(const Aws::Vector< EventType > &value)
AWS_SES_API EventDestination()
EventDestination & AddMatchingEventTypes(EventType &&value)
void SetCloudWatchDestination(const CloudWatchDestination &value)
bool EnabledHasBeenSet() const
void SetMatchingEventTypes(const Aws::Vector< EventType > &value)
void SetName(const Aws::String &value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventDestination & WithKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
EventDestination & WithEnabled(bool value)
void SetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream