AWS SDK for C++  1.8.129
AWS SDK for C++
ReceiptAction.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlNode;
25 } // namespace Xml
26 } // namespace Utils
27 namespace SES
28 {
29 namespace Model
30 {
31 
43  {
44  public:
48 
49  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50  void OutputToStream(Aws::OStream& oStream, const char* location) const;
51 
52 
57  inline const S3Action& GetS3Action() const{ return m_s3Action; }
58 
63  inline bool S3ActionHasBeenSet() const { return m_s3ActionHasBeenSet; }
64 
69  inline void SetS3Action(const S3Action& value) { m_s3ActionHasBeenSet = true; m_s3Action = value; }
70 
75  inline void SetS3Action(S3Action&& value) { m_s3ActionHasBeenSet = true; m_s3Action = std::move(value); }
76 
81  inline ReceiptAction& WithS3Action(const S3Action& value) { SetS3Action(value); return *this;}
82 
87  inline ReceiptAction& WithS3Action(S3Action&& value) { SetS3Action(std::move(value)); return *this;}
88 
89 
95  inline const BounceAction& GetBounceAction() const{ return m_bounceAction; }
96 
102  inline bool BounceActionHasBeenSet() const { return m_bounceActionHasBeenSet; }
103 
109  inline void SetBounceAction(const BounceAction& value) { m_bounceActionHasBeenSet = true; m_bounceAction = value; }
110 
116  inline void SetBounceAction(BounceAction&& value) { m_bounceActionHasBeenSet = true; m_bounceAction = std::move(value); }
117 
123  inline ReceiptAction& WithBounceAction(const BounceAction& value) { SetBounceAction(value); return *this;}
124 
130  inline ReceiptAction& WithBounceAction(BounceAction&& value) { SetBounceAction(std::move(value)); return *this;}
131 
132 
137  inline const WorkmailAction& GetWorkmailAction() const{ return m_workmailAction; }
138 
143  inline bool WorkmailActionHasBeenSet() const { return m_workmailActionHasBeenSet; }
144 
149  inline void SetWorkmailAction(const WorkmailAction& value) { m_workmailActionHasBeenSet = true; m_workmailAction = value; }
150 
155  inline void SetWorkmailAction(WorkmailAction&& value) { m_workmailActionHasBeenSet = true; m_workmailAction = std::move(value); }
156 
161  inline ReceiptAction& WithWorkmailAction(const WorkmailAction& value) { SetWorkmailAction(value); return *this;}
162 
167  inline ReceiptAction& WithWorkmailAction(WorkmailAction&& value) { SetWorkmailAction(std::move(value)); return *this;}
168 
169 
174  inline const LambdaAction& GetLambdaAction() const{ return m_lambdaAction; }
175 
180  inline bool LambdaActionHasBeenSet() const { return m_lambdaActionHasBeenSet; }
181 
186  inline void SetLambdaAction(const LambdaAction& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = value; }
187 
192  inline void SetLambdaAction(LambdaAction&& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = std::move(value); }
193 
198  inline ReceiptAction& WithLambdaAction(const LambdaAction& value) { SetLambdaAction(value); return *this;}
199 
204  inline ReceiptAction& WithLambdaAction(LambdaAction&& value) { SetLambdaAction(std::move(value)); return *this;}
205 
206 
211  inline const StopAction& GetStopAction() const{ return m_stopAction; }
212 
217  inline bool StopActionHasBeenSet() const { return m_stopActionHasBeenSet; }
218 
223  inline void SetStopAction(const StopAction& value) { m_stopActionHasBeenSet = true; m_stopAction = value; }
224 
229  inline void SetStopAction(StopAction&& value) { m_stopActionHasBeenSet = true; m_stopAction = std::move(value); }
230 
235  inline ReceiptAction& WithStopAction(const StopAction& value) { SetStopAction(value); return *this;}
236 
241  inline ReceiptAction& WithStopAction(StopAction&& value) { SetStopAction(std::move(value)); return *this;}
242 
243 
247  inline const AddHeaderAction& GetAddHeaderAction() const{ return m_addHeaderAction; }
248 
252  inline bool AddHeaderActionHasBeenSet() const { return m_addHeaderActionHasBeenSet; }
253 
257  inline void SetAddHeaderAction(const AddHeaderAction& value) { m_addHeaderActionHasBeenSet = true; m_addHeaderAction = value; }
258 
262  inline void SetAddHeaderAction(AddHeaderAction&& value) { m_addHeaderActionHasBeenSet = true; m_addHeaderAction = std::move(value); }
263 
267  inline ReceiptAction& WithAddHeaderAction(const AddHeaderAction& value) { SetAddHeaderAction(value); return *this;}
268 
272  inline ReceiptAction& WithAddHeaderAction(AddHeaderAction&& value) { SetAddHeaderAction(std::move(value)); return *this;}
273 
274 
278  inline const SNSAction& GetSNSAction() const{ return m_sNSAction; }
279 
283  inline bool SNSActionHasBeenSet() const { return m_sNSActionHasBeenSet; }
284 
288  inline void SetSNSAction(const SNSAction& value) { m_sNSActionHasBeenSet = true; m_sNSAction = value; }
289 
293  inline void SetSNSAction(SNSAction&& value) { m_sNSActionHasBeenSet = true; m_sNSAction = std::move(value); }
294 
298  inline ReceiptAction& WithSNSAction(const SNSAction& value) { SetSNSAction(value); return *this;}
299 
303  inline ReceiptAction& WithSNSAction(SNSAction&& value) { SetSNSAction(std::move(value)); return *this;}
304 
305  private:
306 
307  S3Action m_s3Action;
308  bool m_s3ActionHasBeenSet;
309 
310  BounceAction m_bounceAction;
311  bool m_bounceActionHasBeenSet;
312 
313  WorkmailAction m_workmailAction;
314  bool m_workmailActionHasBeenSet;
315 
316  LambdaAction m_lambdaAction;
317  bool m_lambdaActionHasBeenSet;
318 
319  StopAction m_stopAction;
320  bool m_stopActionHasBeenSet;
321 
322  AddHeaderAction m_addHeaderAction;
323  bool m_addHeaderActionHasBeenSet;
324 
325  SNSAction m_sNSAction;
326  bool m_sNSActionHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace SES
331 } // namespace Aws
Aws::SES::Model::ReceiptAction::WithBounceAction
ReceiptAction & WithBounceAction(const BounceAction &value)
Definition: ReceiptAction.h:123
Aws::SES::Model::ReceiptAction::GetS3Action
const S3Action & GetS3Action() const
Definition: ReceiptAction.h:57
Aws::SES::Model::ReceiptAction::SetS3Action
void SetS3Action(S3Action &&value)
Definition: ReceiptAction.h:75
Aws::SES::Model::ReceiptAction::SetSNSAction
void SetSNSAction(const SNSAction &value)
Definition: ReceiptAction.h:288
Aws::SES::Model::ReceiptAction::SetWorkmailAction
void SetWorkmailAction(const WorkmailAction &value)
Definition: ReceiptAction.h:149
Aws::SES::Model::ReceiptAction
Definition: ReceiptAction.h:43
Aws::SES::Model::StopAction
Definition: StopAction.h:38
Aws::SES::Model::ReceiptAction::BounceActionHasBeenSet
bool BounceActionHasBeenSet() const
Definition: ReceiptAction.h:102
Aws::SES::Model::ReceiptAction::ReceiptAction
ReceiptAction()
Aws::SES::Model::SNSAction
Definition: SNSAction.h:49
Aws::SES::Model::ReceiptAction::StopActionHasBeenSet
bool StopActionHasBeenSet() const
Definition: ReceiptAction.h:217
Aws::SES::Model::ReceiptAction::SetLambdaAction
void SetLambdaAction(const LambdaAction &value)
Definition: ReceiptAction.h:186
Aws::SES::Model::WorkmailAction
Definition: WorkmailAction.h:38
Aws::SES::Model::ReceiptAction::GetWorkmailAction
const WorkmailAction & GetWorkmailAction() const
Definition: ReceiptAction.h:137
Aws::SES::Model::ReceiptAction::WithWorkmailAction
ReceiptAction & WithWorkmailAction(const WorkmailAction &value)
Definition: ReceiptAction.h:161
Aws::SES::Model::ReceiptAction::WithWorkmailAction
ReceiptAction & WithWorkmailAction(WorkmailAction &&value)
Definition: ReceiptAction.h:167
Aws::SES::Model::ReceiptAction::WithLambdaAction
ReceiptAction & WithLambdaAction(const LambdaAction &value)
Definition: ReceiptAction.h:198
AWSStreamFwd.h
Aws::SES::Model::ReceiptAction::AddHeaderActionHasBeenSet
bool AddHeaderActionHasBeenSet() const
Definition: ReceiptAction.h:252
Aws::SES::Model::ReceiptAction::WithSNSAction
ReceiptAction & WithSNSAction(SNSAction &&value)
Definition: ReceiptAction.h:303
AddHeaderAction.h
Aws::SES::Model::ReceiptAction::GetSNSAction
const SNSAction & GetSNSAction() const
Definition: ReceiptAction.h:278
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::ReceiptAction::SetBounceAction
void SetBounceAction(BounceAction &&value)
Definition: ReceiptAction.h:116
Aws::SES::Model::ReceiptAction::SetS3Action
void SetS3Action(const S3Action &value)
Definition: ReceiptAction.h:69
Aws::SES::Model::ReceiptAction::WithSNSAction
ReceiptAction & WithSNSAction(const SNSAction &value)
Definition: ReceiptAction.h:298
Aws::SES::Model::ReceiptAction::SetStopAction
void SetStopAction(const StopAction &value)
Definition: ReceiptAction.h:223
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::AddHeaderAction
Definition: AddHeaderAction.h:36
Aws::SES::Model::ReceiptAction::WithLambdaAction
ReceiptAction & WithLambdaAction(LambdaAction &&value)
Definition: ReceiptAction.h:204
Aws::SES::Model::ReceiptAction::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::ReceiptAction::LambdaActionHasBeenSet
bool LambdaActionHasBeenSet() const
Definition: ReceiptAction.h:180
Aws::SES::Model::ReceiptAction::ReceiptAction
ReceiptAction(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ReceiptAction::GetStopAction
const StopAction & GetStopAction() const
Definition: ReceiptAction.h:211
Aws::SES::Model::ReceiptAction::SetAddHeaderAction
void SetAddHeaderAction(AddHeaderAction &&value)
Definition: ReceiptAction.h:262
Aws::SES::Model::ReceiptAction::SNSActionHasBeenSet
bool SNSActionHasBeenSet() const
Definition: ReceiptAction.h:283
Aws::SES::Model::ReceiptAction::SetAddHeaderAction
void SetAddHeaderAction(const AddHeaderAction &value)
Definition: ReceiptAction.h:257
Aws::SES::Model::ReceiptAction::WithStopAction
ReceiptAction & WithStopAction(StopAction &&value)
Definition: ReceiptAction.h:241
LambdaAction.h
Aws::SES::Model::ReceiptAction::WithAddHeaderAction
ReceiptAction & WithAddHeaderAction(AddHeaderAction &&value)
Definition: ReceiptAction.h:272
Aws::SES::Model::ReceiptAction::WithAddHeaderAction
ReceiptAction & WithAddHeaderAction(const AddHeaderAction &value)
Definition: ReceiptAction.h:267
Aws::SES::Model::ReceiptAction::operator=
ReceiptAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ReceiptAction::SetWorkmailAction
void SetWorkmailAction(WorkmailAction &&value)
Definition: ReceiptAction.h:155
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ReceiptAction::WorkmailActionHasBeenSet
bool WorkmailActionHasBeenSet() const
Definition: ReceiptAction.h:143
Aws::SES::Model::ReceiptAction::SetStopAction
void SetStopAction(StopAction &&value)
Definition: ReceiptAction.h:229
Aws::SES::Model::ReceiptAction::GetAddHeaderAction
const AddHeaderAction & GetAddHeaderAction() const
Definition: ReceiptAction.h:247
Aws::SES::Model::ReceiptAction::GetLambdaAction
const LambdaAction & GetLambdaAction() const
Definition: ReceiptAction.h:174
Aws::SES::Model::S3Action
Definition: S3Action.h:45
StopAction.h
SNSAction.h
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ReceiptAction::WithS3Action
ReceiptAction & WithS3Action(S3Action &&value)
Definition: ReceiptAction.h:87
Aws::SES::Model::BounceAction
Definition: BounceAction.h:38
Aws::SES::Model::LambdaAction
Definition: LambdaAction.h:43
Aws::SES::Model::ReceiptAction::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::ReceiptAction::WithS3Action
ReceiptAction & WithS3Action(const S3Action &value)
Definition: ReceiptAction.h:81
WorkmailAction.h
BounceAction.h
index
int index
Definition: cJSON.h:171
Aws::SES::Model::ReceiptAction::WithStopAction
ReceiptAction & WithStopAction(const StopAction &value)
Definition: ReceiptAction.h:235
Aws::SES::Model::ReceiptAction::SetLambdaAction
void SetLambdaAction(LambdaAction &&value)
Definition: ReceiptAction.h:192
Aws::SES::Model::ReceiptAction::S3ActionHasBeenSet
bool S3ActionHasBeenSet() const
Definition: ReceiptAction.h:63
Aws::SES::Model::ReceiptAction::SetBounceAction
void SetBounceAction(const BounceAction &value)
Definition: ReceiptAction.h:109
S3Action.h
Aws::SES::Model::ReceiptAction::SetSNSAction
void SetSNSAction(SNSAction &&value)
Definition: ReceiptAction.h:293
Aws::SES::Model::ReceiptAction::WithBounceAction
ReceiptAction & WithBounceAction(BounceAction &&value)
Definition: ReceiptAction.h:130
Aws::SES::Model::ReceiptAction::GetBounceAction
const BounceAction & GetBounceAction() const
Definition: ReceiptAction.h:95