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>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
80 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
102 template<
typename MatchingEventTypesT = Aws::Vector<EventType>>
103 void SetMatchingEventTypes(MatchingEventTypesT&& value) { m_matchingEventTypesHasBeenSet =
true; m_matchingEventTypes = std::forward<MatchingEventTypesT>(value); }
104 template<
typename MatchingEventTypesT = Aws::Vector<EventType>>
116 template<
typename KinesisFirehoseDestinationT = KinesisFirehoseDestination>
117 void SetKinesisFirehoseDestination(KinesisFirehoseDestinationT&& value) { m_kinesisFirehoseDestinationHasBeenSet =
true; m_kinesisFirehoseDestination = std::forward<KinesisFirehoseDestinationT>(value); }
118 template<
typename KinesisFirehoseDestinationT = KinesisFirehoseDestination>
129 template<
typename CloudWatchDestinationT = CloudWatchDestination>
130 void SetCloudWatchDestination(CloudWatchDestinationT&& value) { m_cloudWatchDestinationHasBeenSet =
true; m_cloudWatchDestination = std::forward<CloudWatchDestinationT>(value); }
131 template<
typename CloudWatchDestinationT = CloudWatchDestination>
142 template<
typename SNSDestinationT = SNSDestination>
143 void SetSNSDestination(SNSDestinationT&& value) { m_sNSDestinationHasBeenSet =
true; m_sNSDestination = std::forward<SNSDestinationT>(value); }
144 template<
typename SNSDestinationT = SNSDestination>
150 bool m_nameHasBeenSet =
false;
152 bool m_enabled{
false};
153 bool m_enabledHasBeenSet =
false;
156 bool m_matchingEventTypesHasBeenSet =
false;
158 KinesisFirehoseDestination m_kinesisFirehoseDestination;
159 bool m_kinesisFirehoseDestinationHasBeenSet =
false;
161 CloudWatchDestination m_cloudWatchDestination;
162 bool m_cloudWatchDestinationHasBeenSet =
false;
164 SNSDestination m_sNSDestination;
165 bool m_sNSDestinationHasBeenSet =
false;
void SetEnabled(bool value)
void SetCloudWatchDestination(CloudWatchDestinationT &&value)
bool CloudWatchDestinationHasBeenSet() const
AWS_SES_API EventDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool KinesisFirehoseDestinationHasBeenSet() const
EventDestination & AddMatchingEventTypes(EventType value)
EventDestination & WithSNSDestination(SNSDestinationT &&value)
const CloudWatchDestination & GetCloudWatchDestination() const
AWS_SES_API EventDestination()=default
AWS_SES_API EventDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSNSDestination(SNSDestinationT &&value)
bool NameHasBeenSet() const
EventDestination & WithMatchingEventTypes(MatchingEventTypesT &&value)
void SetMatchingEventTypes(MatchingEventTypesT &&value)
const SNSDestination & GetSNSDestination() const
const Aws::String & GetName() const
bool SNSDestinationHasBeenSet() const
EventDestination & WithCloudWatchDestination(CloudWatchDestinationT &&value)
const Aws::Vector< EventType > & GetMatchingEventTypes() const
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
void SetName(NameT &&value)
bool MatchingEventTypesHasBeenSet() const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EventDestination & WithName(NameT &&value)
void SetKinesisFirehoseDestination(KinesisFirehoseDestinationT &&value)
bool EnabledHasBeenSet() const
EventDestination & WithKinesisFirehoseDestination(KinesisFirehoseDestinationT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventDestination & WithEnabled(bool 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