AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
50 inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
51 inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
52 inline LambdaInvokeOperation& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
53 inline LambdaInvokeOperation& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
54 inline LambdaInvokeOperation& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
56
58
75 inline const Aws::String& GetInvocationSchemaVersion() const{ return m_invocationSchemaVersion; }
76 inline bool InvocationSchemaVersionHasBeenSet() const { return m_invocationSchemaVersionHasBeenSet; }
77 inline void SetInvocationSchemaVersion(const Aws::String& value) { m_invocationSchemaVersionHasBeenSet = true; m_invocationSchemaVersion = value; }
78 inline void SetInvocationSchemaVersion(Aws::String&& value) { m_invocationSchemaVersionHasBeenSet = true; m_invocationSchemaVersion = std::move(value); }
79 inline void SetInvocationSchemaVersion(const char* value) { m_invocationSchemaVersionHasBeenSet = true; m_invocationSchemaVersion.assign(value); }
82 inline LambdaInvokeOperation& WithInvocationSchemaVersion(const char* value) { SetInvocationSchemaVersion(value); return *this;}
84
86
95 inline const Aws::Map<Aws::String, Aws::String>& GetUserArguments() const{ return m_userArguments; }
96 inline bool UserArgumentsHasBeenSet() const { return m_userArgumentsHasBeenSet; }
97 inline void SetUserArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_userArgumentsHasBeenSet = true; m_userArguments = value; }
98 inline void SetUserArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_userArgumentsHasBeenSet = true; m_userArguments = std::move(value); }
101 inline LambdaInvokeOperation& AddUserArguments(const Aws::String& key, const Aws::String& value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(key, value); return *this; }
102 inline LambdaInvokeOperation& AddUserArguments(Aws::String&& key, const Aws::String& value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(std::move(key), value); return *this; }
103 inline LambdaInvokeOperation& AddUserArguments(const Aws::String& key, Aws::String&& value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(key, std::move(value)); return *this; }
104 inline LambdaInvokeOperation& AddUserArguments(Aws::String&& key, Aws::String&& value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(std::move(key), std::move(value)); return *this; }
105 inline LambdaInvokeOperation& AddUserArguments(const char* key, Aws::String&& value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(key, std::move(value)); return *this; }
106 inline LambdaInvokeOperation& AddUserArguments(Aws::String&& key, const char* value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(std::move(key), value); return *this; }
107 inline LambdaInvokeOperation& AddUserArguments(const char* key, const char* value) { m_userArgumentsHasBeenSet = true; m_userArguments.emplace(key, value); return *this; }
109 private:
110
111 Aws::String m_functionArn;
112 bool m_functionArnHasBeenSet = false;
113
114 Aws::String m_invocationSchemaVersion;
115 bool m_invocationSchemaVersionHasBeenSet = false;
116
118 bool m_userArgumentsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace S3Control
123} // namespace Aws
LambdaInvokeOperation & WithUserArguments(Aws::Map< Aws::String, Aws::String > &&value)
LambdaInvokeOperation & WithFunctionArn(Aws::String &&value)
void SetUserArguments(const Aws::Map< Aws::String, Aws::String > &value)
LambdaInvokeOperation & AddUserArguments(const Aws::String &key, Aws::String &&value)
LambdaInvokeOperation & AddUserArguments(Aws::String &&key, const char *value)
LambdaInvokeOperation & WithUserArguments(const Aws::Map< Aws::String, Aws::String > &value)
LambdaInvokeOperation & WithInvocationSchemaVersion(const Aws::String &value)
LambdaInvokeOperation & WithInvocationSchemaVersion(const char *value)
AWS_S3CONTROL_API LambdaInvokeOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
LambdaInvokeOperation & AddUserArguments(const Aws::String &key, const Aws::String &value)
LambdaInvokeOperation & WithFunctionArn(const Aws::String &value)
LambdaInvokeOperation & AddUserArguments(const char *key, const char *value)
void SetUserArguments(Aws::Map< Aws::String, Aws::String > &&value)
LambdaInvokeOperation & WithFunctionArn(const char *value)
LambdaInvokeOperation & AddUserArguments(Aws::String &&key, const Aws::String &value)
void SetInvocationSchemaVersion(const Aws::String &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API LambdaInvokeOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LambdaInvokeOperation & AddUserArguments(const char *key, Aws::String &&value)
LambdaInvokeOperation & AddUserArguments(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetUserArguments() const
LambdaInvokeOperation & WithInvocationSchemaVersion(Aws::String &&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