AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TurnSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AgentTurnSpecification.h>
9#include <aws/lexv2-models/model/UserTurnSpecification.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 TurnSpecification();
37 AWS_LEXMODELSV2_API TurnSpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AgentTurnSpecification& GetAgentTurn() const{ return m_agentTurn; }
47 inline bool AgentTurnHasBeenSet() const { return m_agentTurnHasBeenSet; }
48 inline void SetAgentTurn(const AgentTurnSpecification& value) { m_agentTurnHasBeenSet = true; m_agentTurn = value; }
49 inline void SetAgentTurn(AgentTurnSpecification&& value) { m_agentTurnHasBeenSet = true; m_agentTurn = std::move(value); }
50 inline TurnSpecification& WithAgentTurn(const AgentTurnSpecification& value) { SetAgentTurn(value); return *this;}
51 inline TurnSpecification& WithAgentTurn(AgentTurnSpecification&& value) { SetAgentTurn(std::move(value)); return *this;}
53
55
58 inline const UserTurnSpecification& GetUserTurn() const{ return m_userTurn; }
59 inline bool UserTurnHasBeenSet() const { return m_userTurnHasBeenSet; }
60 inline void SetUserTurn(const UserTurnSpecification& value) { m_userTurnHasBeenSet = true; m_userTurn = value; }
61 inline void SetUserTurn(UserTurnSpecification&& value) { m_userTurnHasBeenSet = true; m_userTurn = std::move(value); }
62 inline TurnSpecification& WithUserTurn(const UserTurnSpecification& value) { SetUserTurn(value); return *this;}
63 inline TurnSpecification& WithUserTurn(UserTurnSpecification&& value) { SetUserTurn(std::move(value)); return *this;}
65 private:
66
67 AgentTurnSpecification m_agentTurn;
68 bool m_agentTurnHasBeenSet = false;
69
70 UserTurnSpecification m_userTurn;
71 bool m_userTurnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LexModelsV2
76} // namespace Aws
void SetAgentTurn(const AgentTurnSpecification &value)
TurnSpecification & WithUserTurn(const UserTurnSpecification &value)
TurnSpecification & WithAgentTurn(AgentTurnSpecification &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API TurnSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetUserTurn(const UserTurnSpecification &value)
void SetUserTurn(UserTurnSpecification &&value)
AWS_LEXMODELSV2_API TurnSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
TurnSpecification & WithAgentTurn(const AgentTurnSpecification &value)
void SetAgentTurn(AgentTurnSpecification &&value)
const UserTurnSpecification & GetUserTurn() const
TurnSpecification & WithUserTurn(UserTurnSpecification &&value)
const AgentTurnSpecification & GetAgentTurn() const
Aws::Utils::Json::JsonValue JsonValue