AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReceiptAction.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/email/model/S3Action.h>
10#include <aws/email/model/BounceAction.h>
11#include <aws/email/model/WorkmailAction.h>
12#include <aws/email/model/LambdaAction.h>
13#include <aws/email/model/StopAction.h>
14#include <aws/email/model/AddHeaderAction.h>
15#include <aws/email/model/SNSAction.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace SES
28{
29namespace Model
30{
31
43 {
44 public:
45 AWS_SES_API ReceiptAction();
46 AWS_SES_API ReceiptAction(const Aws::Utils::Xml::XmlNode& xmlNode);
47 AWS_SES_API ReceiptAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
48
49 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
51
52
54
58 inline const S3Action& GetS3Action() const{ return m_s3Action; }
59 inline bool S3ActionHasBeenSet() const { return m_s3ActionHasBeenSet; }
60 inline void SetS3Action(const S3Action& value) { m_s3ActionHasBeenSet = true; m_s3Action = value; }
61 inline void SetS3Action(S3Action&& value) { m_s3ActionHasBeenSet = true; m_s3Action = std::move(value); }
62 inline ReceiptAction& WithS3Action(const S3Action& value) { SetS3Action(value); return *this;}
63 inline ReceiptAction& WithS3Action(S3Action&& value) { SetS3Action(std::move(value)); return *this;}
65
67
72 inline const BounceAction& GetBounceAction() const{ return m_bounceAction; }
73 inline bool BounceActionHasBeenSet() const { return m_bounceActionHasBeenSet; }
74 inline void SetBounceAction(const BounceAction& value) { m_bounceActionHasBeenSet = true; m_bounceAction = value; }
75 inline void SetBounceAction(BounceAction&& value) { m_bounceActionHasBeenSet = true; m_bounceAction = std::move(value); }
76 inline ReceiptAction& WithBounceAction(const BounceAction& value) { SetBounceAction(value); return *this;}
77 inline ReceiptAction& WithBounceAction(BounceAction&& value) { SetBounceAction(std::move(value)); return *this;}
79
81
85 inline const WorkmailAction& GetWorkmailAction() const{ return m_workmailAction; }
86 inline bool WorkmailActionHasBeenSet() const { return m_workmailActionHasBeenSet; }
87 inline void SetWorkmailAction(const WorkmailAction& value) { m_workmailActionHasBeenSet = true; m_workmailAction = value; }
88 inline void SetWorkmailAction(WorkmailAction&& value) { m_workmailActionHasBeenSet = true; m_workmailAction = std::move(value); }
89 inline ReceiptAction& WithWorkmailAction(const WorkmailAction& value) { SetWorkmailAction(value); return *this;}
90 inline ReceiptAction& WithWorkmailAction(WorkmailAction&& value) { SetWorkmailAction(std::move(value)); return *this;}
92
94
98 inline const LambdaAction& GetLambdaAction() const{ return m_lambdaAction; }
99 inline bool LambdaActionHasBeenSet() const { return m_lambdaActionHasBeenSet; }
100 inline void SetLambdaAction(const LambdaAction& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = value; }
101 inline void SetLambdaAction(LambdaAction&& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = std::move(value); }
102 inline ReceiptAction& WithLambdaAction(const LambdaAction& value) { SetLambdaAction(value); return *this;}
103 inline ReceiptAction& WithLambdaAction(LambdaAction&& value) { SetLambdaAction(std::move(value)); return *this;}
105
107
111 inline const StopAction& GetStopAction() const{ return m_stopAction; }
112 inline bool StopActionHasBeenSet() const { return m_stopActionHasBeenSet; }
113 inline void SetStopAction(const StopAction& value) { m_stopActionHasBeenSet = true; m_stopAction = value; }
114 inline void SetStopAction(StopAction&& value) { m_stopActionHasBeenSet = true; m_stopAction = std::move(value); }
115 inline ReceiptAction& WithStopAction(const StopAction& value) { SetStopAction(value); return *this;}
116 inline ReceiptAction& WithStopAction(StopAction&& value) { SetStopAction(std::move(value)); return *this;}
118
120
123 inline const AddHeaderAction& GetAddHeaderAction() const{ return m_addHeaderAction; }
124 inline bool AddHeaderActionHasBeenSet() const { return m_addHeaderActionHasBeenSet; }
125 inline void SetAddHeaderAction(const AddHeaderAction& value) { m_addHeaderActionHasBeenSet = true; m_addHeaderAction = value; }
126 inline void SetAddHeaderAction(AddHeaderAction&& value) { m_addHeaderActionHasBeenSet = true; m_addHeaderAction = std::move(value); }
127 inline ReceiptAction& WithAddHeaderAction(const AddHeaderAction& value) { SetAddHeaderAction(value); return *this;}
128 inline ReceiptAction& WithAddHeaderAction(AddHeaderAction&& value) { SetAddHeaderAction(std::move(value)); return *this;}
130
132
135 inline const SNSAction& GetSNSAction() const{ return m_sNSAction; }
136 inline bool SNSActionHasBeenSet() const { return m_sNSActionHasBeenSet; }
137 inline void SetSNSAction(const SNSAction& value) { m_sNSActionHasBeenSet = true; m_sNSAction = value; }
138 inline void SetSNSAction(SNSAction&& value) { m_sNSActionHasBeenSet = true; m_sNSAction = std::move(value); }
139 inline ReceiptAction& WithSNSAction(const SNSAction& value) { SetSNSAction(value); return *this;}
140 inline ReceiptAction& WithSNSAction(SNSAction&& value) { SetSNSAction(std::move(value)); return *this;}
142 private:
143
144 S3Action m_s3Action;
145 bool m_s3ActionHasBeenSet = false;
146
147 BounceAction m_bounceAction;
148 bool m_bounceActionHasBeenSet = false;
149
150 WorkmailAction m_workmailAction;
151 bool m_workmailActionHasBeenSet = false;
152
153 LambdaAction m_lambdaAction;
154 bool m_lambdaActionHasBeenSet = false;
155
156 StopAction m_stopAction;
157 bool m_stopActionHasBeenSet = false;
158
159 AddHeaderAction m_addHeaderAction;
160 bool m_addHeaderActionHasBeenSet = false;
161
162 SNSAction m_sNSAction;
163 bool m_sNSActionHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace SES
168} // namespace Aws
void SetLambdaAction(LambdaAction &&value)
const LambdaAction & GetLambdaAction() const
ReceiptAction & WithS3Action(S3Action &&value)
ReceiptAction & WithAddHeaderAction(const AddHeaderAction &value)
ReceiptAction & WithLambdaAction(LambdaAction &&value)
const WorkmailAction & GetWorkmailAction() const
void SetAddHeaderAction(const AddHeaderAction &value)
void SetS3Action(const S3Action &value)
const S3Action & GetS3Action() const
void SetBounceAction(BounceAction &&value)
const AddHeaderAction & GetAddHeaderAction() const
void SetAddHeaderAction(AddHeaderAction &&value)
void SetLambdaAction(const LambdaAction &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const SNSAction & GetSNSAction() const
void SetS3Action(S3Action &&value)
ReceiptAction & WithS3Action(const S3Action &value)
const StopAction & GetStopAction() const
const BounceAction & GetBounceAction() const
AWS_SES_API ReceiptAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReceiptAction & WithStopAction(StopAction &&value)
ReceiptAction & WithSNSAction(const SNSAction &value)
void SetWorkmailAction(WorkmailAction &&value)
ReceiptAction & WithLambdaAction(const LambdaAction &value)
AWS_SES_API ReceiptAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBounceAction(const BounceAction &value)
ReceiptAction & WithWorkmailAction(const WorkmailAction &value)
void SetSNSAction(const SNSAction &value)
ReceiptAction & WithSNSAction(SNSAction &&value)
ReceiptAction & WithAddHeaderAction(AddHeaderAction &&value)
ReceiptAction & WithBounceAction(const BounceAction &value)
void SetSNSAction(SNSAction &&value)
ReceiptAction & WithStopAction(const StopAction &value)
void SetStopAction(const StopAction &value)
void SetWorkmailAction(const WorkmailAction &value)
void SetStopAction(StopAction &&value)
ReceiptAction & WithWorkmailAction(WorkmailAction &&value)
ReceiptAction & WithBounceAction(BounceAction &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream