AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInput(const UserTurnInputSpecification& value) { m_inputHasBeenSet = true; m_input = value; }
49 inline void SetInput(UserTurnInputSpecification&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
50 inline UserTurnSpecification& WithInput(const UserTurnInputSpecification& value) { SetInput(value); return *this;}
51 inline UserTurnSpecification& WithInput(UserTurnInputSpecification&& value) { SetInput(std::move(value)); return *this;}
53
55
58 inline const UserTurnOutputSpecification& GetExpected() const{ return m_expected; }
59 inline bool ExpectedHasBeenSet() const { return m_expectedHasBeenSet; }
60 inline void SetExpected(const UserTurnOutputSpecification& value) { m_expectedHasBeenSet = true; m_expected = value; }
61 inline void SetExpected(UserTurnOutputSpecification&& value) { m_expectedHasBeenSet = true; m_expected = std::move(value); }
62 inline UserTurnSpecification& WithExpected(const UserTurnOutputSpecification& value) { SetExpected(value); return *this;}
63 inline UserTurnSpecification& WithExpected(UserTurnOutputSpecification&& value) { SetExpected(std::move(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
UserTurnSpecification & WithInput(const UserTurnInputSpecification &value)
void SetExpected(UserTurnOutputSpecification &&value)
void SetExpected(const UserTurnOutputSpecification &value)
const UserTurnInputSpecification & GetInput() const
UserTurnSpecification & WithExpected(UserTurnOutputSpecification &&value)
void SetInput(const UserTurnInputSpecification &value)
void SetInput(UserTurnInputSpecification &&value)
UserTurnSpecification & WithInput(UserTurnInputSpecification &&value)
UserTurnSpecification & WithExpected(const UserTurnOutputSpecification &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 & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue