AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LambdaInvokeOperation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3Control {
20namespace Model {
21
29 public:
30 AWS_S3CONTROL_API LambdaInvokeOperation() = default;
31 AWS_S3CONTROL_API LambdaInvokeOperation(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_S3CONTROL_API LambdaInvokeOperation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
41 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
42 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
43 template <typename FunctionArnT = Aws::String>
44 void SetFunctionArn(FunctionArnT&& value) {
45 m_functionArnHasBeenSet = true;
46 m_functionArn = std::forward<FunctionArnT>(value);
47 }
48 template <typename FunctionArnT = Aws::String>
49 LambdaInvokeOperation& WithFunctionArn(FunctionArnT&& value) {
50 SetFunctionArn(std::forward<FunctionArnT>(value));
51 return *this;
52 }
54
56
73 inline const Aws::String& GetInvocationSchemaVersion() const { return m_invocationSchemaVersion; }
74 inline bool InvocationSchemaVersionHasBeenSet() const { return m_invocationSchemaVersionHasBeenSet; }
75 template <typename InvocationSchemaVersionT = Aws::String>
76 void SetInvocationSchemaVersion(InvocationSchemaVersionT&& value) {
77 m_invocationSchemaVersionHasBeenSet = true;
78 m_invocationSchemaVersion = std::forward<InvocationSchemaVersionT>(value);
79 }
80 template <typename InvocationSchemaVersionT = Aws::String>
81 LambdaInvokeOperation& WithInvocationSchemaVersion(InvocationSchemaVersionT&& value) {
82 SetInvocationSchemaVersion(std::forward<InvocationSchemaVersionT>(value));
83 return *this;
84 }
86
88
97 inline const Aws::Map<Aws::String, Aws::String>& GetUserArguments() const { return m_userArguments; }
98 inline bool UserArgumentsHasBeenSet() const { return m_userArgumentsHasBeenSet; }
99 template <typename UserArgumentsT = Aws::Map<Aws::String, Aws::String>>
100 void SetUserArguments(UserArgumentsT&& value) {
101 m_userArgumentsHasBeenSet = true;
102 m_userArguments = std::forward<UserArgumentsT>(value);
103 }
104 template <typename UserArgumentsT = Aws::Map<Aws::String, Aws::String>>
105 LambdaInvokeOperation& WithUserArguments(UserArgumentsT&& value) {
106 SetUserArguments(std::forward<UserArgumentsT>(value));
107 return *this;
108 }
109 template <typename UserArgumentsKeyT = Aws::String, typename UserArgumentsValueT = Aws::String>
110 LambdaInvokeOperation& AddUserArguments(UserArgumentsKeyT&& key, UserArgumentsValueT&& value) {
111 m_userArgumentsHasBeenSet = true;
112 m_userArguments.emplace(std::forward<UserArgumentsKeyT>(key), std::forward<UserArgumentsValueT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_functionArn;
118
119 Aws::String m_invocationSchemaVersion;
120
122 bool m_functionArnHasBeenSet = false;
123 bool m_invocationSchemaVersionHasBeenSet = false;
124 bool m_userArgumentsHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace S3Control
129} // namespace Aws
LambdaInvokeOperation & WithUserArguments(UserArgumentsT &&value)
AWS_S3CONTROL_API LambdaInvokeOperation()=default
void SetInvocationSchemaVersion(InvocationSchemaVersionT &&value)
AWS_S3CONTROL_API LambdaInvokeOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
LambdaInvokeOperation & WithInvocationSchemaVersion(InvocationSchemaVersionT &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
LambdaInvokeOperation & WithFunctionArn(FunctionArnT &&value)
AWS_S3CONTROL_API LambdaInvokeOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Map< Aws::String, Aws::String > & GetUserArguments() const
LambdaInvokeOperation & AddUserArguments(UserArgumentsKeyT &&key, UserArgumentsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String