AWS SDK for C++  1.9.153
AWS SDK for C++
EventDestinationDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace SESV2
27 {
28 namespace Model
29 {
30 
40  {
41  public:
46 
47 
55  inline bool GetEnabled() const{ return m_enabled; }
56 
64  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
65 
73  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
74 
82  inline EventDestinationDefinition& WithEnabled(bool value) { SetEnabled(value); return *this;}
83 
84 
89  inline const Aws::Vector<EventType>& GetMatchingEventTypes() const{ return m_matchingEventTypes; }
90 
95  inline bool MatchingEventTypesHasBeenSet() const { return m_matchingEventTypesHasBeenSet; }
96 
101  inline void SetMatchingEventTypes(const Aws::Vector<EventType>& value) { m_matchingEventTypesHasBeenSet = true; m_matchingEventTypes = value; }
102 
107  inline void SetMatchingEventTypes(Aws::Vector<EventType>&& value) { m_matchingEventTypesHasBeenSet = true; m_matchingEventTypes = std::move(value); }
108 
113  inline EventDestinationDefinition& WithMatchingEventTypes(const Aws::Vector<EventType>& value) { SetMatchingEventTypes(value); return *this;}
114 
119  inline EventDestinationDefinition& WithMatchingEventTypes(Aws::Vector<EventType>&& value) { SetMatchingEventTypes(std::move(value)); return *this;}
120 
125  inline EventDestinationDefinition& AddMatchingEventTypes(const EventType& value) { m_matchingEventTypesHasBeenSet = true; m_matchingEventTypes.push_back(value); return *this; }
126 
131  inline EventDestinationDefinition& AddMatchingEventTypes(EventType&& value) { m_matchingEventTypesHasBeenSet = true; m_matchingEventTypes.push_back(std::move(value)); return *this; }
132 
133 
139  inline const KinesisFirehoseDestination& GetKinesisFirehoseDestination() const{ return m_kinesisFirehoseDestination; }
140 
146  inline bool KinesisFirehoseDestinationHasBeenSet() const { return m_kinesisFirehoseDestinationHasBeenSet; }
147 
153  inline void SetKinesisFirehoseDestination(const KinesisFirehoseDestination& value) { m_kinesisFirehoseDestinationHasBeenSet = true; m_kinesisFirehoseDestination = value; }
154 
160  inline void SetKinesisFirehoseDestination(KinesisFirehoseDestination&& value) { m_kinesisFirehoseDestinationHasBeenSet = true; m_kinesisFirehoseDestination = std::move(value); }
161 
167  inline EventDestinationDefinition& WithKinesisFirehoseDestination(const KinesisFirehoseDestination& value) { SetKinesisFirehoseDestination(value); return *this;}
168 
174  inline EventDestinationDefinition& WithKinesisFirehoseDestination(KinesisFirehoseDestination&& value) { SetKinesisFirehoseDestination(std::move(value)); return *this;}
175 
176 
182  inline const CloudWatchDestination& GetCloudWatchDestination() const{ return m_cloudWatchDestination; }
183 
189  inline bool CloudWatchDestinationHasBeenSet() const { return m_cloudWatchDestinationHasBeenSet; }
190 
196  inline void SetCloudWatchDestination(const CloudWatchDestination& value) { m_cloudWatchDestinationHasBeenSet = true; m_cloudWatchDestination = value; }
197 
203  inline void SetCloudWatchDestination(CloudWatchDestination&& value) { m_cloudWatchDestinationHasBeenSet = true; m_cloudWatchDestination = std::move(value); }
204 
210  inline EventDestinationDefinition& WithCloudWatchDestination(const CloudWatchDestination& value) { SetCloudWatchDestination(value); return *this;}
211 
217  inline EventDestinationDefinition& WithCloudWatchDestination(CloudWatchDestination&& value) { SetCloudWatchDestination(std::move(value)); return *this;}
218 
219 
224  inline const SnsDestination& GetSnsDestination() const{ return m_snsDestination; }
225 
230  inline bool SnsDestinationHasBeenSet() const { return m_snsDestinationHasBeenSet; }
231 
236  inline void SetSnsDestination(const SnsDestination& value) { m_snsDestinationHasBeenSet = true; m_snsDestination = value; }
237 
242  inline void SetSnsDestination(SnsDestination&& value) { m_snsDestinationHasBeenSet = true; m_snsDestination = std::move(value); }
243 
248  inline EventDestinationDefinition& WithSnsDestination(const SnsDestination& value) { SetSnsDestination(value); return *this;}
249 
254  inline EventDestinationDefinition& WithSnsDestination(SnsDestination&& value) { SetSnsDestination(std::move(value)); return *this;}
255 
256 
265  inline const PinpointDestination& GetPinpointDestination() const{ return m_pinpointDestination; }
266 
275  inline bool PinpointDestinationHasBeenSet() const { return m_pinpointDestinationHasBeenSet; }
276 
285  inline void SetPinpointDestination(const PinpointDestination& value) { m_pinpointDestinationHasBeenSet = true; m_pinpointDestination = value; }
286 
295  inline void SetPinpointDestination(PinpointDestination&& value) { m_pinpointDestinationHasBeenSet = true; m_pinpointDestination = std::move(value); }
296 
305  inline EventDestinationDefinition& WithPinpointDestination(const PinpointDestination& value) { SetPinpointDestination(value); return *this;}
306 
315  inline EventDestinationDefinition& WithPinpointDestination(PinpointDestination&& value) { SetPinpointDestination(std::move(value)); return *this;}
316 
317  private:
318 
319  bool m_enabled;
320  bool m_enabledHasBeenSet;
321 
322  Aws::Vector<EventType> m_matchingEventTypes;
323  bool m_matchingEventTypesHasBeenSet;
324 
325  KinesisFirehoseDestination m_kinesisFirehoseDestination;
326  bool m_kinesisFirehoseDestinationHasBeenSet;
327 
328  CloudWatchDestination m_cloudWatchDestination;
329  bool m_cloudWatchDestinationHasBeenSet;
330 
331  SnsDestination m_snsDestination;
332  bool m_snsDestinationHasBeenSet;
333 
334  PinpointDestination m_pinpointDestination;
335  bool m_pinpointDestinationHasBeenSet;
336  };
337 
338 } // namespace Model
339 } // namespace SESV2
340 } // namespace Aws
Aws::SESV2::Model::EventDestinationDefinition::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: EventDestinationDefinition.h:64
Aws::SESV2::Model::EventDestinationDefinition
Definition: EventDestinationDefinition.h:40
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::EventType
EventType
Definition: EventType.h:17
Aws::SESV2::Model::EventDestinationDefinition::SetEnabled
void SetEnabled(bool value)
Definition: EventDestinationDefinition.h:73
Aws::SESV2::Model::EventDestinationDefinition::SetPinpointDestination
void SetPinpointDestination(const PinpointDestination &value)
Definition: EventDestinationDefinition.h:285
Aws::SESV2::Model::EventDestinationDefinition::AddMatchingEventTypes
EventDestinationDefinition & AddMatchingEventTypes(EventType &&value)
Definition: EventDestinationDefinition.h:131
SnsDestination.h
Aws::SESV2::Model::EventDestinationDefinition::SetMatchingEventTypes
void SetMatchingEventTypes(const Aws::Vector< EventType > &value)
Definition: EventDestinationDefinition.h:101
Aws::SESV2::Model::EventDestinationDefinition::WithPinpointDestination
EventDestinationDefinition & WithPinpointDestination(PinpointDestination &&value)
Definition: EventDestinationDefinition.h:315
Aws::SESV2::Model::EventDestinationDefinition::MatchingEventTypesHasBeenSet
bool MatchingEventTypesHasBeenSet() const
Definition: EventDestinationDefinition.h:95
Aws::SESV2::Model::EventDestinationDefinition::GetMatchingEventTypes
const Aws::Vector< EventType > & GetMatchingEventTypes() const
Definition: EventDestinationDefinition.h:89
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::EventDestinationDefinition::SetSnsDestination
void SetSnsDestination(SnsDestination &&value)
Definition: EventDestinationDefinition.h:242
AWSVector.h
Aws::SESV2::Model::KinesisFirehoseDestination
Definition: KinesisFirehoseDestination.h:34
Aws::SESV2::Model::EventDestinationDefinition::WithKinesisFirehoseDestination
EventDestinationDefinition & WithKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
Definition: EventDestinationDefinition.h:167
Aws::SESV2::Model::SnsDestination
Definition: SnsDestination.h:34
Aws::SESV2::Model::PinpointDestination
Definition: PinpointDestination.h:38
Aws::SESV2::Model::EventDestinationDefinition::WithEnabled
EventDestinationDefinition & WithEnabled(bool value)
Definition: EventDestinationDefinition.h:82
Aws::SESV2::Model::EventDestinationDefinition::WithMatchingEventTypes
EventDestinationDefinition & WithMatchingEventTypes(Aws::Vector< EventType > &&value)
Definition: EventDestinationDefinition.h:119
Aws::SESV2::Model::EventDestinationDefinition::GetSnsDestination
const SnsDestination & GetSnsDestination() const
Definition: EventDestinationDefinition.h:224
Aws::SESV2::Model::EventDestinationDefinition::WithMatchingEventTypes
EventDestinationDefinition & WithMatchingEventTypes(const Aws::Vector< EventType > &value)
Definition: EventDestinationDefinition.h:113
Aws::SESV2::Model::EventDestinationDefinition::EventDestinationDefinition
EventDestinationDefinition(Aws::Utils::Json::JsonView jsonValue)
EventType.h
Aws::SESV2::Model::EventDestinationDefinition::WithPinpointDestination
EventDestinationDefinition & WithPinpointDestination(const PinpointDestination &value)
Definition: EventDestinationDefinition.h:305
Aws::SESV2::Model::EventDestinationDefinition::SetKinesisFirehoseDestination
void SetKinesisFirehoseDestination(const KinesisFirehoseDestination &value)
Definition: EventDestinationDefinition.h:153
Aws::SESV2::Model::EventDestinationDefinition::SetCloudWatchDestination
void SetCloudWatchDestination(const CloudWatchDestination &value)
Definition: EventDestinationDefinition.h:196
Aws::SESV2::Model::EventDestinationDefinition::CloudWatchDestinationHasBeenSet
bool CloudWatchDestinationHasBeenSet() const
Definition: EventDestinationDefinition.h:189
Aws::SESV2::Model::EventDestinationDefinition::GetCloudWatchDestination
const CloudWatchDestination & GetCloudWatchDestination() const
Definition: EventDestinationDefinition.h:182
Aws::SESV2::Model::EventDestinationDefinition::EventDestinationDefinition
EventDestinationDefinition()
Aws::SESV2::Model::EventDestinationDefinition::PinpointDestinationHasBeenSet
bool PinpointDestinationHasBeenSet() const
Definition: EventDestinationDefinition.h:275
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::EventDestinationDefinition::KinesisFirehoseDestinationHasBeenSet
bool KinesisFirehoseDestinationHasBeenSet() const
Definition: EventDestinationDefinition.h:146
Aws::SESV2::Model::EventDestinationDefinition::WithCloudWatchDestination
EventDestinationDefinition & WithCloudWatchDestination(const CloudWatchDestination &value)
Definition: EventDestinationDefinition.h:210
SESV2_EXPORTS.h
Aws::SESV2::Model::EventDestinationDefinition::AddMatchingEventTypes
EventDestinationDefinition & AddMatchingEventTypes(const EventType &value)
Definition: EventDestinationDefinition.h:125
Aws::SESV2::Model::EventDestinationDefinition::WithSnsDestination
EventDestinationDefinition & WithSnsDestination(const SnsDestination &value)
Definition: EventDestinationDefinition.h:248
Aws::SESV2::Model::EventDestinationDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::EventDestinationDefinition::WithSnsDestination
EventDestinationDefinition & WithSnsDestination(SnsDestination &&value)
Definition: EventDestinationDefinition.h:254
CloudWatchDestination.h
Aws::SESV2::Model::EventDestinationDefinition::operator=
EventDestinationDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::EventDestinationDefinition::WithCloudWatchDestination
EventDestinationDefinition & WithCloudWatchDestination(CloudWatchDestination &&value)
Definition: EventDestinationDefinition.h:217
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
PinpointDestination.h
Aws::SESV2::Model::EventDestinationDefinition::SetCloudWatchDestination
void SetCloudWatchDestination(CloudWatchDestination &&value)
Definition: EventDestinationDefinition.h:203
Aws::SESV2::Model::EventDestinationDefinition::GetPinpointDestination
const PinpointDestination & GetPinpointDestination() const
Definition: EventDestinationDefinition.h:265
Aws::SESV2::Model::EventDestinationDefinition::SnsDestinationHasBeenSet
bool SnsDestinationHasBeenSet() const
Definition: EventDestinationDefinition.h:230
Aws::SESV2::Model::CloudWatchDestination
Definition: CloudWatchDestination.h:35
Aws::SESV2::Model::EventDestinationDefinition::GetEnabled
bool GetEnabled() const
Definition: EventDestinationDefinition.h:55
Aws::SESV2::Model::EventDestinationDefinition::SetKinesisFirehoseDestination
void SetKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
Definition: EventDestinationDefinition.h:160
Aws::SESV2::Model::EventDestinationDefinition::GetKinesisFirehoseDestination
const KinesisFirehoseDestination & GetKinesisFirehoseDestination() const
Definition: EventDestinationDefinition.h:139
Aws::SESV2::Model::EventDestinationDefinition::SetMatchingEventTypes
void SetMatchingEventTypes(Aws::Vector< EventType > &&value)
Definition: EventDestinationDefinition.h:107
KinesisFirehoseDestination.h
Aws::SESV2::Model::EventDestinationDefinition::SetPinpointDestination
void SetPinpointDestination(PinpointDestination &&value)
Definition: EventDestinationDefinition.h:295
Aws::SESV2::Model::EventDestinationDefinition::WithKinesisFirehoseDestination
EventDestinationDefinition & WithKinesisFirehoseDestination(KinesisFirehoseDestination &&value)
Definition: EventDestinationDefinition.h:174
Aws::SESV2::Model::EventDestinationDefinition::SetSnsDestination
void SetSnsDestination(const SnsDestination &value)
Definition: EventDestinationDefinition.h:236