AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LambdaInvokeOperation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CONTROL_API LambdaInvokeOperation() = default;
36 AWS_S3CONTROL_API LambdaInvokeOperation(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API LambdaInvokeOperation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
48 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
49 template<typename FunctionArnT = Aws::String>
50 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
51 template<typename FunctionArnT = Aws::String>
52 LambdaInvokeOperation& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
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) { m_invocationSchemaVersionHasBeenSet = true; m_invocationSchemaVersion = std::forward<InvocationSchemaVersionT>(value); }
77 template<typename InvocationSchemaVersionT = Aws::String>
78 LambdaInvokeOperation& WithInvocationSchemaVersion(InvocationSchemaVersionT&& value) { SetInvocationSchemaVersion(std::forward<InvocationSchemaVersionT>(value)); return *this;}
80
82
91 inline const Aws::Map<Aws::String, Aws::String>& GetUserArguments() const { return m_userArguments; }
92 inline bool UserArgumentsHasBeenSet() const { return m_userArgumentsHasBeenSet; }
93 template<typename UserArgumentsT = Aws::Map<Aws::String, Aws::String>>
94 void SetUserArguments(UserArgumentsT&& value) { m_userArgumentsHasBeenSet = true; m_userArguments = std::forward<UserArgumentsT>(value); }
95 template<typename UserArgumentsT = Aws::Map<Aws::String, Aws::String>>
96 LambdaInvokeOperation& WithUserArguments(UserArgumentsT&& value) { SetUserArguments(std::forward<UserArgumentsT>(value)); return *this;}
97 template<typename UserArgumentsKeyT = Aws::String, typename UserArgumentsValueT = Aws::String>
98 LambdaInvokeOperation& AddUserArguments(UserArgumentsKeyT&& key, UserArgumentsValueT&& value) {
99 m_userArgumentsHasBeenSet = true; m_userArguments.emplace(std::forward<UserArgumentsKeyT>(key), std::forward<UserArgumentsValueT>(value)); return *this;
100 }
102 private:
103
104 Aws::String m_functionArn;
105 bool m_functionArnHasBeenSet = false;
106
107 Aws::String m_invocationSchemaVersion;
108 bool m_invocationSchemaVersionHasBeenSet = false;
109
111 bool m_userArgumentsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace S3Control
116} // 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