AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FulfillmentUpdatesSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/FulfillmentStartResponseSpecification.h>
9#include <aws/lexv2-models/model/FulfillmentUpdateResponseSpecification.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 FulfillmentUpdatesSpecification();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline bool GetActive() const{ return m_active; }
50 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
51 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
52 inline FulfillmentUpdatesSpecification& WithActive(bool value) { SetActive(value); return *this;}
54
56
60 inline const FulfillmentStartResponseSpecification& GetStartResponse() const{ return m_startResponse; }
61 inline bool StartResponseHasBeenSet() const { return m_startResponseHasBeenSet; }
62 inline void SetStartResponse(const FulfillmentStartResponseSpecification& value) { m_startResponseHasBeenSet = true; m_startResponse = value; }
63 inline void SetStartResponse(FulfillmentStartResponseSpecification&& value) { m_startResponseHasBeenSet = true; m_startResponse = std::move(value); }
67
69
73 inline const FulfillmentUpdateResponseSpecification& GetUpdateResponse() const{ return m_updateResponse; }
74 inline bool UpdateResponseHasBeenSet() const { return m_updateResponseHasBeenSet; }
75 inline void SetUpdateResponse(const FulfillmentUpdateResponseSpecification& value) { m_updateResponseHasBeenSet = true; m_updateResponse = value; }
76 inline void SetUpdateResponse(FulfillmentUpdateResponseSpecification&& value) { m_updateResponseHasBeenSet = true; m_updateResponse = std::move(value); }
80
82
86 inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
87 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
88 inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
91 private:
92
93 bool m_active;
94 bool m_activeHasBeenSet = false;
95
97 bool m_startResponseHasBeenSet = false;
98
100 bool m_updateResponseHasBeenSet = false;
101
102 int m_timeoutInSeconds;
103 bool m_timeoutInSecondsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace LexModelsV2
108} // namespace Aws
const FulfillmentStartResponseSpecification & GetStartResponse() const
AWS_LEXMODELSV2_API FulfillmentUpdatesSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetStartResponse(const FulfillmentStartResponseSpecification &value)
void SetUpdateResponse(const FulfillmentUpdateResponseSpecification &value)
FulfillmentUpdatesSpecification & WithTimeoutInSeconds(int value)
FulfillmentUpdatesSpecification & WithUpdateResponse(FulfillmentUpdateResponseSpecification &&value)
FulfillmentUpdatesSpecification & WithStartResponse(FulfillmentStartResponseSpecification &&value)
void SetStartResponse(FulfillmentStartResponseSpecification &&value)
FulfillmentUpdatesSpecification & WithUpdateResponse(const FulfillmentUpdateResponseSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
FulfillmentUpdatesSpecification & WithStartResponse(const FulfillmentStartResponseSpecification &value)
const FulfillmentUpdateResponseSpecification & GetUpdateResponse() const
AWS_LEXMODELSV2_API FulfillmentUpdatesSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateResponse(FulfillmentUpdateResponseSpecification &&value)
Aws::Utils::Json::JsonValue JsonValue