AWS SDK for C++  1.9.132
AWS SDK for C++
LambdaAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
44 
48  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
49 
53  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
54 
58  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
59 
63  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
64 
68  inline LambdaAction& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
69 
73  inline LambdaAction& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
74 
78  inline LambdaAction& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
79 
80  private:
81 
82  Aws::String m_functionArn;
83  bool m_functionArnHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace IoT
88 } // namespace Aws
Aws::IoT::Model::LambdaAction::WithFunctionArn
LambdaAction & WithFunctionArn(const char *value)
Definition: LambdaAction.h:78
Aws::IoT::Model::LambdaAction::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: LambdaAction.h:48
Aws::IoT::Model::LambdaAction::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: LambdaAction.h:43
Aws::IoT::Model::LambdaAction::LambdaAction
LambdaAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::LambdaAction::WithFunctionArn
LambdaAction & WithFunctionArn(const Aws::String &value)
Definition: LambdaAction.h:68
Aws::IoT::Model::LambdaAction
Definition: LambdaAction.h:32
Aws::IoT::Model::LambdaAction::operator=
LambdaAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::LambdaAction::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: LambdaAction.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::LambdaAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::LambdaAction::LambdaAction
LambdaAction()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::LambdaAction::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: LambdaAction.h:63
Aws::IoT::Model::LambdaAction::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: LambdaAction.h:58
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::LambdaAction::WithFunctionArn
LambdaAction & WithFunctionArn(Aws::String &&value)
Definition: LambdaAction.h:73
IoT_EXPORTS.h