AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FulfillmentCodeHookSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/PostFulfillmentStatusSpecification.h>
9#include <aws/lexv2-models/model/FulfillmentUpdatesSpecification.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 LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API FulfillmentCodeHookSettings();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline bool GetEnabled() const{ return m_enabled; }
48 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
49 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
50 inline FulfillmentCodeHookSettings& WithEnabled(bool value) { SetEnabled(value); return *this;}
52
54
59 inline const PostFulfillmentStatusSpecification& GetPostFulfillmentStatusSpecification() const{ return m_postFulfillmentStatusSpecification; }
60 inline bool PostFulfillmentStatusSpecificationHasBeenSet() const { return m_postFulfillmentStatusSpecificationHasBeenSet; }
61 inline void SetPostFulfillmentStatusSpecification(const PostFulfillmentStatusSpecification& value) { m_postFulfillmentStatusSpecificationHasBeenSet = true; m_postFulfillmentStatusSpecification = value; }
62 inline void SetPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification&& value) { m_postFulfillmentStatusSpecificationHasBeenSet = true; m_postFulfillmentStatusSpecification = std::move(value); }
66
68
73 inline const FulfillmentUpdatesSpecification& GetFulfillmentUpdatesSpecification() const{ return m_fulfillmentUpdatesSpecification; }
74 inline bool FulfillmentUpdatesSpecificationHasBeenSet() const { return m_fulfillmentUpdatesSpecificationHasBeenSet; }
75 inline void SetFulfillmentUpdatesSpecification(const FulfillmentUpdatesSpecification& value) { m_fulfillmentUpdatesSpecificationHasBeenSet = true; m_fulfillmentUpdatesSpecification = value; }
76 inline void SetFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification&& value) { m_fulfillmentUpdatesSpecificationHasBeenSet = true; m_fulfillmentUpdatesSpecification = std::move(value); }
80
82
86 inline bool GetActive() const{ return m_active; }
87 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
88 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
89 inline FulfillmentCodeHookSettings& WithActive(bool value) { SetActive(value); return *this;}
91 private:
92
93 bool m_enabled;
94 bool m_enabledHasBeenSet = false;
95
96 PostFulfillmentStatusSpecification m_postFulfillmentStatusSpecification;
97 bool m_postFulfillmentStatusSpecificationHasBeenSet = false;
98
99 FulfillmentUpdatesSpecification m_fulfillmentUpdatesSpecification;
100 bool m_fulfillmentUpdatesSpecificationHasBeenSet = false;
101
102 bool m_active;
103 bool m_activeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace LexModelsV2
108} // namespace Aws
AWS_LEXMODELSV2_API FulfillmentCodeHookSettings(Aws::Utils::Json::JsonView jsonValue)
void SetPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification &&value)
void SetFulfillmentUpdatesSpecification(const FulfillmentUpdatesSpecification &value)
FulfillmentCodeHookSettings & WithPostFulfillmentStatusSpecification(PostFulfillmentStatusSpecification &&value)
FulfillmentCodeHookSettings & WithPostFulfillmentStatusSpecification(const PostFulfillmentStatusSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification &&value)
const FulfillmentUpdatesSpecification & GetFulfillmentUpdatesSpecification() const
const PostFulfillmentStatusSpecification & GetPostFulfillmentStatusSpecification() const
FulfillmentCodeHookSettings & WithFulfillmentUpdatesSpecification(const FulfillmentUpdatesSpecification &value)
FulfillmentCodeHookSettings & WithFulfillmentUpdatesSpecification(FulfillmentUpdatesSpecification &&value)
AWS_LEXMODELSV2_API FulfillmentCodeHookSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPostFulfillmentStatusSpecification(const PostFulfillmentStatusSpecification &value)
Aws::Utils::Json::JsonValue JsonValue