AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaitAndContinueSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/ResponseSpecification.h>
9#include <aws/lexv2-models/model/StillWaitingResponseSpecification.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 WaitAndContinueSpecification();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ResponseSpecification& GetWaitingResponse() const{ return m_waitingResponse; }
48 inline bool WaitingResponseHasBeenSet() const { return m_waitingResponseHasBeenSet; }
49 inline void SetWaitingResponse(const ResponseSpecification& value) { m_waitingResponseHasBeenSet = true; m_waitingResponse = value; }
50 inline void SetWaitingResponse(ResponseSpecification&& value) { m_waitingResponseHasBeenSet = true; m_waitingResponse = std::move(value); }
54
56
60 inline const ResponseSpecification& GetContinueResponse() const{ return m_continueResponse; }
61 inline bool ContinueResponseHasBeenSet() const { return m_continueResponseHasBeenSet; }
62 inline void SetContinueResponse(const ResponseSpecification& value) { m_continueResponseHasBeenSet = true; m_continueResponse = value; }
63 inline void SetContinueResponse(ResponseSpecification&& value) { m_continueResponseHasBeenSet = true; m_continueResponse = std::move(value); }
67
69
73 inline const StillWaitingResponseSpecification& GetStillWaitingResponse() const{ return m_stillWaitingResponse; }
74 inline bool StillWaitingResponseHasBeenSet() const { return m_stillWaitingResponseHasBeenSet; }
75 inline void SetStillWaitingResponse(const StillWaitingResponseSpecification& value) { m_stillWaitingResponseHasBeenSet = true; m_stillWaitingResponse = value; }
76 inline void SetStillWaitingResponse(StillWaitingResponseSpecification&& value) { m_stillWaitingResponseHasBeenSet = true; m_stillWaitingResponse = std::move(value); }
80
82
87 inline bool GetActive() const{ return m_active; }
88 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
89 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
90 inline WaitAndContinueSpecification& WithActive(bool value) { SetActive(value); return *this;}
92 private:
93
94 ResponseSpecification m_waitingResponse;
95 bool m_waitingResponseHasBeenSet = false;
96
97 ResponseSpecification m_continueResponse;
98 bool m_continueResponseHasBeenSet = false;
99
100 StillWaitingResponseSpecification m_stillWaitingResponse;
101 bool m_stillWaitingResponseHasBeenSet = false;
102
103 bool m_active;
104 bool m_activeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LexModelsV2
109} // namespace Aws
WaitAndContinueSpecification & WithWaitingResponse(ResponseSpecification &&value)
AWS_LEXMODELSV2_API WaitAndContinueSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
WaitAndContinueSpecification & WithWaitingResponse(const ResponseSpecification &value)
void SetStillWaitingResponse(StillWaitingResponseSpecification &&value)
WaitAndContinueSpecification & WithContinueResponse(const ResponseSpecification &value)
void SetStillWaitingResponse(const StillWaitingResponseSpecification &value)
WaitAndContinueSpecification & WithContinueResponse(ResponseSpecification &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
WaitAndContinueSpecification & WithStillWaitingResponse(StillWaitingResponseSpecification &&value)
const StillWaitingResponseSpecification & GetStillWaitingResponse() const
WaitAndContinueSpecification & WithStillWaitingResponse(const StillWaitingResponseSpecification &value)
AWS_LEXMODELSV2_API WaitAndContinueSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue