AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FulfillmentActivity.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/model/FulfillmentActivityType.h>
9#include <aws/lex-models/model/CodeHook.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelBuildingService
23{
24namespace Model
25{
26
46 {
47 public:
48 AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity() = default;
49 AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity(Aws::Utils::Json::JsonView jsonValue);
50 AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
59 inline FulfillmentActivityType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 inline void SetType(FulfillmentActivityType value) { m_typeHasBeenSet = true; m_type = value; }
62 inline FulfillmentActivity& WithType(FulfillmentActivityType value) { SetType(value); return *this;}
64
66
69 inline const CodeHook& GetCodeHook() const { return m_codeHook; }
70 inline bool CodeHookHasBeenSet() const { return m_codeHookHasBeenSet; }
71 template<typename CodeHookT = CodeHook>
72 void SetCodeHook(CodeHookT&& value) { m_codeHookHasBeenSet = true; m_codeHook = std::forward<CodeHookT>(value); }
73 template<typename CodeHookT = CodeHook>
74 FulfillmentActivity& WithCodeHook(CodeHookT&& value) { SetCodeHook(std::forward<CodeHookT>(value)); return *this;}
76 private:
77
79 bool m_typeHasBeenSet = false;
80
81 CodeHook m_codeHook;
82 bool m_codeHookHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LexModelBuildingService
87} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity(Aws::Utils::Json::JsonView jsonValue)
FulfillmentActivity & WithCodeHook(CodeHookT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity()=default
FulfillmentActivity & WithType(FulfillmentActivityType value)
AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue