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
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
73 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
84 template<
typename MatchingEventTypesT = Aws::Vector<EventType>>
85 void SetMatchingEventTypes(MatchingEventTypesT&& value) { m_matchingEventTypesHasBeenSet =
true; m_matchingEventTypes = std::forward<MatchingEventTypesT>(value); }
86 template<
typename MatchingEventTypesT = Aws::Vector<EventType>>
99 template<
typename KinesisFirehoseDestinationT = KinesisFirehoseDestination>
100 void SetKinesisFirehoseDestination(KinesisFirehoseDestinationT&& value) { m_kinesisFirehoseDestinationHasBeenSet =
true; m_kinesisFirehoseDestination = std::forward<KinesisFirehoseDestinationT>(value); }
101 template<
typename KinesisFirehoseDestinationT = KinesisFirehoseDestination>
113 template<
typename CloudWatchDestinationT = CloudWatchDestination>
114 void SetCloudWatchDestination(CloudWatchDestinationT&& value) { m_cloudWatchDestinationHasBeenSet =
true; m_cloudWatchDestination = std::forward<CloudWatchDestinationT>(value); }
115 template<
typename CloudWatchDestinationT = CloudWatchDestination>
126 template<
typename SnsDestinationT = SnsDestination>
127 void SetSnsDestination(SnsDestinationT&& value) { m_snsDestinationHasBeenSet =
true; m_snsDestination = std::forward<SnsDestinationT>(value); }
128 template<
typename SnsDestinationT = SnsDestination>
140 template<
typename Pinpo
intDestinationT = Pinpo
intDestination>
141 void SetPinpointDestination(PinpointDestinationT&& value) { m_pinpointDestinationHasBeenSet =
true; m_pinpointDestination = std::forward<PinpointDestinationT>(value); }
142 template<
typename Pinpo
intDestinationT = Pinpo
intDestination>
148 bool m_nameHasBeenSet =
false;
150 bool m_enabled{
false};
151 bool m_enabledHasBeenSet =
false;
154 bool m_matchingEventTypesHasBeenSet =
false;
156 KinesisFirehoseDestination m_kinesisFirehoseDestination;
157 bool m_kinesisFirehoseDestinationHasBeenSet =
false;
159 CloudWatchDestination m_cloudWatchDestination;
160 bool m_cloudWatchDestinationHasBeenSet =
false;
162 SnsDestination m_snsDestination;
163 bool m_snsDestinationHasBeenSet =
false;
165 PinpointDestination m_pinpointDestination;
166 bool m_pinpointDestinationHasBeenSet =
false;
void SetPinpointDestination(PinpointDestinationT &&value)
bool MatchingEventTypesHasBeenSet() const
EventDestination & WithCloudWatchDestination(CloudWatchDestinationT &&value)
EventDestination & WithName(NameT &&value)
bool CloudWatchDestinationHasBeenSet() const
const SnsDestination & GetSnsDestination() const
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
const Aws::Vector< EventType > & GetMatchingEventTypes() const
void SetSnsDestination(SnsDestinationT &&value)
bool NameHasBeenSet() const
AWS_PINPOINTEMAIL_API EventDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API EventDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnabled(bool value)
AWS_PINPOINTEMAIL_API EventDestination()=default
bool KinesisFirehoseDestinationHasBeenSet() const
void SetKinesisFirehoseDestination(KinesisFirehoseDestinationT &&value)
EventDestination & WithMatchingEventTypes(MatchingEventTypesT &&value)
EventDestination & WithKinesisFirehoseDestination(KinesisFirehoseDestinationT &&value)
const PinpointDestination & GetPinpointDestination() const
EventDestination & WithEnabled(bool value)
void SetName(NameT &&value)
bool PinpointDestinationHasBeenSet() const
const CloudWatchDestination & GetCloudWatchDestination() const
void SetMatchingEventTypes(MatchingEventTypesT &&value)
void SetCloudWatchDestination(CloudWatchDestinationT &&value)
EventDestination & WithPinpointDestination(PinpointDestinationT &&value)
bool EnabledHasBeenSet() const
EventDestination & WithSnsDestination(SnsDestinationT &&value)
bool SnsDestinationHasBeenSet() const
const Aws::String & GetName() const
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
EventDestination & AddMatchingEventTypes(EventType 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