AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
LambdaAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API LambdaAction() = default;
33
35
38 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
39 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
40 template <typename FunctionArnT = Aws::String>
41 void SetFunctionArn(FunctionArnT&& value) {
42 m_functionArnHasBeenSet = true;
43 m_functionArn = std::forward<FunctionArnT>(value);
44 }
45 template <typename FunctionArnT = Aws::String>
46 LambdaAction& WithFunctionArn(FunctionArnT&& value) {
47 SetFunctionArn(std::forward<FunctionArnT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_functionArn;
53 bool m_functionArnHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace IoT
58} // namespace Aws
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API LambdaAction()=default
AWS_IOT_API LambdaAction(Aws::Utils::Json::JsonView jsonValue)
void SetFunctionArn(FunctionArnT &&value)
const Aws::String & GetFunctionArn() const
LambdaAction & WithFunctionArn(FunctionArnT &&value)
AWS_IOT_API LambdaAction & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue