AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaAction.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/InvocationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_SES_API LambdaAction();
46 AWS_SES_API LambdaAction(const Aws::Utils::Xml::XmlNode& xmlNode);
47 AWS_SES_API LambdaAction& 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
63 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
64 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
65 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
66 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
67 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
68 inline LambdaAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
69 inline LambdaAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
70 inline LambdaAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
72
74
82 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
83 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
84 inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
85 inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
86 inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
87 inline LambdaAction& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
88 inline LambdaAction& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
89 inline LambdaAction& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
91
93
106 inline const InvocationType& GetInvocationType() const{ return m_invocationType; }
107 inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; }
108 inline void SetInvocationType(const InvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; }
109 inline void SetInvocationType(InvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); }
110 inline LambdaAction& WithInvocationType(const InvocationType& value) { SetInvocationType(value); return *this;}
111 inline LambdaAction& WithInvocationType(InvocationType&& value) { SetInvocationType(std::move(value)); return *this;}
113 private:
114
115 Aws::String m_topicArn;
116 bool m_topicArnHasBeenSet = false;
117
118 Aws::String m_functionArn;
119 bool m_functionArnHasBeenSet = false;
120
121 InvocationType m_invocationType;
122 bool m_invocationTypeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SES
127} // namespace Aws
LambdaAction & WithFunctionArn(const char *value)
const Aws::String & GetTopicArn() const
AWS_SES_API LambdaAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFunctionArn(const Aws::String &value)
void SetTopicArn(Aws::String &&value)
const Aws::String & GetFunctionArn() const
void SetInvocationType(const InvocationType &value)
const InvocationType & GetInvocationType() const
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTopicArn(const char *value)
LambdaAction & WithFunctionArn(const Aws::String &value)
void SetFunctionArn(const char *value)
AWS_SES_API LambdaAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LambdaAction & WithTopicArn(Aws::String &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LambdaAction & WithTopicArn(const Aws::String &value)
LambdaAction & WithFunctionArn(Aws::String &&value)
LambdaAction & WithTopicArn(const char *value)
void SetInvocationType(InvocationType &&value)
LambdaAction & WithInvocationType(const InvocationType &value)
LambdaAction & WithInvocationType(InvocationType &&value)
void SetTopicArn(const Aws::String &value)
void SetFunctionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream