AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
FulfillmentActivity.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/model/CodeHook.h>
9#include <aws/lex-models/model/FulfillmentActivityType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelBuildingService {
21namespace Model {
22
42 public:
43 AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity() = default;
44 AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity(Aws::Utils::Json::JsonView jsonValue);
45 AWS_LEXMODELBUILDINGSERVICE_API FulfillmentActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
53 inline FulfillmentActivityType GetType() const { return m_type; }
54 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 inline void SetType(FulfillmentActivityType value) {
56 m_typeHasBeenSet = true;
57 m_type = value;
58 }
60 SetType(value);
61 return *this;
62 }
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) {
73 m_codeHookHasBeenSet = true;
74 m_codeHook = std::forward<CodeHookT>(value);
75 }
76 template <typename CodeHookT = CodeHook>
77 FulfillmentActivity& WithCodeHook(CodeHookT&& value) {
78 SetCodeHook(std::forward<CodeHookT>(value));
79 return *this;
80 }
82 private:
84
85 CodeHook m_codeHook;
86 bool m_typeHasBeenSet = false;
87 bool m_codeHookHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace LexModelBuildingService
92} // 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