AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
HandoffAgentConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/AgentTarget.h>
9#include <aws/qconnect/model/MultiAgentInstruction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
31 public:
32 AWS_QCONNECT_API HandoffAgentConfiguration() = default;
35 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const AgentTarget& GetAgentTarget() const { return m_agentTarget; }
42 inline bool AgentTargetHasBeenSet() const { return m_agentTargetHasBeenSet; }
43 template <typename AgentTargetT = AgentTarget>
45 m_agentTargetHasBeenSet = true;
46 m_agentTarget = std::forward<AgentTargetT>(value);
47 }
48 template <typename AgentTargetT = AgentTarget>
50 SetAgentTarget(std::forward<AgentTargetT>(value));
51 return *this;
52 }
54
56
60 inline const MultiAgentInstruction& GetInstruction() const { return m_instruction; }
61 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
62 template <typename InstructionT = MultiAgentInstruction>
64 m_instructionHasBeenSet = true;
65 m_instruction = std::forward<InstructionT>(value);
66 }
67 template <typename InstructionT = MultiAgentInstruction>
69 SetInstruction(std::forward<InstructionT>(value));
70 return *this;
71 }
73
75
80 inline bool GetAudioStreamingEnabled() const { return m_audioStreamingEnabled; }
81 inline bool AudioStreamingEnabledHasBeenSet() const { return m_audioStreamingEnabledHasBeenSet; }
82 inline void SetAudioStreamingEnabled(bool value) {
83 m_audioStreamingEnabledHasBeenSet = true;
84 m_audioStreamingEnabled = value;
85 }
88 return *this;
89 }
91
93
98 inline bool GetImmediateHandoff() const { return m_immediateHandoff; }
99 inline bool ImmediateHandoffHasBeenSet() const { return m_immediateHandoffHasBeenSet; }
100 inline void SetImmediateHandoff(bool value) {
101 m_immediateHandoffHasBeenSet = true;
102 m_immediateHandoff = value;
103 }
105 SetImmediateHandoff(value);
106 return *this;
107 }
109 private:
110 AgentTarget m_agentTarget;
111
112 MultiAgentInstruction m_instruction;
113
114 bool m_audioStreamingEnabled{false};
115
116 bool m_immediateHandoff{false};
117 bool m_agentTargetHasBeenSet = false;
118 bool m_instructionHasBeenSet = false;
119 bool m_audioStreamingEnabledHasBeenSet = false;
120 bool m_immediateHandoffHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace QConnect
125} // namespace Aws
HandoffAgentConfiguration & WithInstruction(InstructionT &&value)
HandoffAgentConfiguration & WithImmediateHandoff(bool value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const MultiAgentInstruction & GetInstruction() const
AWS_QCONNECT_API HandoffAgentConfiguration()=default
HandoffAgentConfiguration & WithAudioStreamingEnabled(bool value)
AWS_QCONNECT_API HandoffAgentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API HandoffAgentConfiguration(Aws::Utils::Json::JsonView jsonValue)
HandoffAgentConfiguration & WithAgentTarget(AgentTargetT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue