AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
30 public:
31 AWS_LEXMODELSV2_API UserTurnSpecification() = default;
32 AWS_LEXMODELSV2_API UserTurnSpecification(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const UserTurnInputSpecification& GetInput() const { return m_input; }
41 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
42 template <typename InputT = UserTurnInputSpecification>
43 void SetInput(InputT&& value) {
44 m_inputHasBeenSet = true;
45 m_input = std::forward<InputT>(value);
46 }
47 template <typename InputT = UserTurnInputSpecification>
49 SetInput(std::forward<InputT>(value));
50 return *this;
51 }
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) {
62 m_expectedHasBeenSet = true;
63 m_expected = std::forward<ExpectedT>(value);
64 }
65 template <typename ExpectedT = UserTurnOutputSpecification>
66 UserTurnSpecification& WithExpected(ExpectedT&& value) {
67 SetExpected(std::forward<ExpectedT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_inputHasBeenSet = false;
76 bool m_expectedHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LexModelsV2
81} // 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