AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UserTurnSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/UserTurnInputSpecification.h>
9#include <aws/lexv2-models/model/UserTurnOutputSpecification.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 UserTurnSpecification() = default;
37 AWS_LEXMODELSV2_API UserTurnSpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const UserTurnInputSpecification& GetInput() const { return m_input; }
47 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
48 template<typename InputT = UserTurnInputSpecification>
49 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
50 template<typename InputT = UserTurnInputSpecification>
51 UserTurnSpecification& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
53
55
58 inline const UserTurnOutputSpecification& GetExpected() const { return m_expected; }
59 inline bool ExpectedHasBeenSet() const { return m_expectedHasBeenSet; }
60 template<typename ExpectedT = UserTurnOutputSpecification>
61 void SetExpected(ExpectedT&& value) { m_expectedHasBeenSet = true; m_expected = std::forward<ExpectedT>(value); }
62 template<typename ExpectedT = UserTurnOutputSpecification>
63 UserTurnSpecification& WithExpected(ExpectedT&& value) { SetExpected(std::forward<ExpectedT>(value)); return *this;}
65 private:
66
68 bool m_inputHasBeenSet = false;
69
71 bool m_expectedHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
const UserTurnInputSpecification & GetInput() const
UserTurnSpecification & WithInput(InputT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const UserTurnOutputSpecification & GetExpected() const
AWS_LEXMODELSV2_API UserTurnSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API UserTurnSpecification()=default
AWS_LEXMODELSV2_API UserTurnSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
UserTurnSpecification & WithExpected(ExpectedT &&value)
Aws::Utils::Json::JsonValue JsonValue