AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaCodeHook.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API LambdaCodeHook() = default;
31 AWS_LEXMODELSV2_API LambdaCodeHook(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELSV2_API LambdaCodeHook& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLambdaARN() const { return m_lambdaARN; }
40 inline bool LambdaARNHasBeenSet() const { return m_lambdaARNHasBeenSet; }
41 template <typename LambdaARNT = Aws::String>
42 void SetLambdaARN(LambdaARNT&& value) {
43 m_lambdaARNHasBeenSet = true;
44 m_lambdaARN = std::forward<LambdaARNT>(value);
45 }
46 template <typename LambdaARNT = Aws::String>
47 LambdaCodeHook& WithLambdaARN(LambdaARNT&& value) {
48 SetLambdaARN(std::forward<LambdaARNT>(value));
49 return *this;
50 }
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) {
62 m_codeHookInterfaceVersionHasBeenSet = true;
63 m_codeHookInterfaceVersion = std::forward<CodeHookInterfaceVersionT>(value);
64 }
65 template <typename CodeHookInterfaceVersionT = Aws::String>
66 LambdaCodeHook& WithCodeHookInterfaceVersion(CodeHookInterfaceVersionT&& value) {
67 SetCodeHookInterfaceVersion(std::forward<CodeHookInterfaceVersionT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_lambdaARN;
73
74 Aws::String m_codeHookInterfaceVersion;
75 bool m_lambdaARNHasBeenSet = false;
76 bool m_codeHookInterfaceVersionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LexModelsV2
81} // 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