AWS SDK for C++  1.8.129
AWS SDK for C++
LambdaAction.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
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 
61  inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
62 
71  inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
72 
81  inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
82 
91  inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
92 
101  inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
102 
111  inline LambdaAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
112 
121  inline LambdaAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
122 
131  inline LambdaAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
132 
133 
142  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
143 
152  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
153 
162  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
163 
172  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
173 
182  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
183 
192  inline LambdaAction& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
193 
202  inline LambdaAction& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
203 
212  inline LambdaAction& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
213 
214 
228  inline const InvocationType& GetInvocationType() const{ return m_invocationType; }
229 
243  inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; }
244 
258  inline void SetInvocationType(const InvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; }
259 
273  inline void SetInvocationType(InvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); }
274 
288  inline LambdaAction& WithInvocationType(const InvocationType& value) { SetInvocationType(value); return *this;}
289 
303  inline LambdaAction& WithInvocationType(InvocationType&& value) { SetInvocationType(std::move(value)); return *this;}
304 
305  private:
306 
307  Aws::String m_topicArn;
308  bool m_topicArnHasBeenSet;
309 
310  Aws::String m_functionArn;
311  bool m_functionArnHasBeenSet;
312 
313  InvocationType m_invocationType;
314  bool m_invocationTypeHasBeenSet;
315  };
316 
317 } // namespace Model
318 } // namespace SES
319 } // namespace Aws
Aws::SES::Model::LambdaAction::TopicArnHasBeenSet
bool TopicArnHasBeenSet() const
Definition: LambdaAction.h:71
Aws::SES::Model::LambdaAction::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: LambdaAction.h:152
Aws::SES::Model::LambdaAction::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::LambdaAction::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: LambdaAction.h:162
Aws::SES::Model::LambdaAction::LambdaAction
LambdaAction()
Aws::SES::Model::LambdaAction::GetInvocationType
const InvocationType & GetInvocationType() const
Definition: LambdaAction.h:228
InvocationType.h
Aws::SES::Model::LambdaAction::WithTopicArn
LambdaAction & WithTopicArn(const Aws::String &value)
Definition: LambdaAction.h:111
AWSStreamFwd.h
Aws::SES::Model::LambdaAction::operator=
LambdaAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::LambdaAction::WithFunctionArn
LambdaAction & WithFunctionArn(const Aws::String &value)
Definition: LambdaAction.h:192
Aws::SES::Model::LambdaAction::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: LambdaAction.h:172
Aws::SES::Model::LambdaAction::WithTopicArn
LambdaAction & WithTopicArn(Aws::String &&value)
Definition: LambdaAction.h:121
Aws::SES::Model::LambdaAction::LambdaAction
LambdaAction(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::LambdaAction::SetTopicArn
void SetTopicArn(const Aws::String &value)
Definition: LambdaAction.h:81
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::LambdaAction::SetTopicArn
void SetTopicArn(Aws::String &&value)
Definition: LambdaAction.h:91
Aws::SES::Model::LambdaAction::SetTopicArn
void SetTopicArn(const char *value)
Definition: LambdaAction.h:101
Aws::SES::Model::LambdaAction::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: LambdaAction.h:142
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::LambdaAction::GetTopicArn
const Aws::String & GetTopicArn() const
Definition: LambdaAction.h:61
Aws::SES::Model::LambdaAction::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: LambdaAction.h:182
Aws::SES::Model::InvocationType
InvocationType
Definition: InvocationType.h:17
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::LambdaAction::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::LambdaAction
Definition: LambdaAction.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::LambdaAction::WithFunctionArn
LambdaAction & WithFunctionArn(Aws::String &&value)
Definition: LambdaAction.h:202
Aws::SES::Model::LambdaAction::SetInvocationType
void SetInvocationType(const InvocationType &value)
Definition: LambdaAction.h:258
Aws::SES::Model::LambdaAction::WithInvocationType
LambdaAction & WithInvocationType(InvocationType &&value)
Definition: LambdaAction.h:303
Aws::SES::Model::LambdaAction::WithInvocationType
LambdaAction & WithInvocationType(const InvocationType &value)
Definition: LambdaAction.h:288
Aws::SES::Model::LambdaAction::WithFunctionArn
LambdaAction & WithFunctionArn(const char *value)
Definition: LambdaAction.h:212
Aws::SES::Model::LambdaAction::InvocationTypeHasBeenSet
bool InvocationTypeHasBeenSet() const
Definition: LambdaAction.h:243
Aws::SES::Model::LambdaAction::WithTopicArn
LambdaAction & WithTopicArn(const char *value)
Definition: LambdaAction.h:131
Aws::SES::Model::LambdaAction::SetInvocationType
void SetInvocationType(InvocationType &&value)
Definition: LambdaAction.h:273