AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LambdaCodeHook.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXMODELSV2_API LambdaCodeHook() = default;
36 AWS_LEXMODELSV2_API LambdaCodeHook(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API LambdaCodeHook& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLambdaARN() const { return m_lambdaARN; }
46 inline bool LambdaARNHasBeenSet() const { return m_lambdaARNHasBeenSet; }
47 template<typename LambdaARNT = Aws::String>
48 void SetLambdaARN(LambdaARNT&& value) { m_lambdaARNHasBeenSet = true; m_lambdaARN = std::forward<LambdaARNT>(value); }
49 template<typename LambdaARNT = Aws::String>
50 LambdaCodeHook& WithLambdaARN(LambdaARNT&& value) { SetLambdaARN(std::forward<LambdaARNT>(value)); return *this;}
52
54
58 inline const Aws::String& GetCodeHookInterfaceVersion() const { return m_codeHookInterfaceVersion; }
59 inline bool CodeHookInterfaceVersionHasBeenSet() const { return m_codeHookInterfaceVersionHasBeenSet; }
60 template<typename CodeHookInterfaceVersionT = Aws::String>
61 void SetCodeHookInterfaceVersion(CodeHookInterfaceVersionT&& value) { m_codeHookInterfaceVersionHasBeenSet = true; m_codeHookInterfaceVersion = std::forward<CodeHookInterfaceVersionT>(value); }
62 template<typename CodeHookInterfaceVersionT = Aws::String>
63 LambdaCodeHook& WithCodeHookInterfaceVersion(CodeHookInterfaceVersionT&& value) { SetCodeHookInterfaceVersion(std::forward<CodeHookInterfaceVersionT>(value)); return *this;}
65 private:
66
67 Aws::String m_lambdaARN;
68 bool m_lambdaARNHasBeenSet = false;
69
70 Aws::String m_codeHookInterfaceVersion;
71 bool m_codeHookInterfaceVersionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
AWS_LEXMODELSV2_API LambdaCodeHook & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCodeHookInterfaceVersion() const
void SetLambdaARN(LambdaARNT &&value)
AWS_LEXMODELSV2_API LambdaCodeHook(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCodeHookInterfaceVersion(CodeHookInterfaceVersionT &&value)
const Aws::String & GetLambdaARN() const
LambdaCodeHook & WithLambdaARN(LambdaARNT &&value)
LambdaCodeHook & WithCodeHookInterfaceVersion(CodeHookInterfaceVersionT &&value)
AWS_LEXMODELSV2_API LambdaCodeHook()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue