AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
MultiAgentConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/DelegateAgentConfiguration.h>
9#include <aws/qconnect/model/HandoffAgentConfiguration.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
30 public:
31 AWS_QCONNECT_API MultiAgentConfiguration() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const DelegateAgentConfiguration& GetDelegateAgentConfiguration() const { return m_delegateAgentConfiguration; }
42 inline bool DelegateAgentConfigurationHasBeenSet() const { return m_delegateAgentConfigurationHasBeenSet; }
43 template <typename DelegateAgentConfigurationT = DelegateAgentConfiguration>
45 m_delegateAgentConfigurationHasBeenSet = true;
46 m_delegateAgentConfiguration = std::forward<DelegateAgentConfigurationT>(value);
47 }
48 template <typename DelegateAgentConfigurationT = DelegateAgentConfiguration>
50 SetDelegateAgentConfiguration(std::forward<DelegateAgentConfigurationT>(value));
51 return *this;
52 }
54
56
60 inline const HandoffAgentConfiguration& GetHandoffAgentConfiguration() const { return m_handoffAgentConfiguration; }
61 inline bool HandoffAgentConfigurationHasBeenSet() const { return m_handoffAgentConfigurationHasBeenSet; }
62 template <typename HandoffAgentConfigurationT = HandoffAgentConfiguration>
64 m_handoffAgentConfigurationHasBeenSet = true;
65 m_handoffAgentConfiguration = std::forward<HandoffAgentConfigurationT>(value);
66 }
67 template <typename HandoffAgentConfigurationT = HandoffAgentConfiguration>
69 SetHandoffAgentConfiguration(std::forward<HandoffAgentConfigurationT>(value));
70 return *this;
71 }
73 private:
74 DelegateAgentConfiguration m_delegateAgentConfiguration;
75
76 HandoffAgentConfiguration m_handoffAgentConfiguration;
77 bool m_delegateAgentConfigurationHasBeenSet = false;
78 bool m_handoffAgentConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace QConnect
83} // namespace Aws
const HandoffAgentConfiguration & GetHandoffAgentConfiguration() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDelegateAgentConfiguration(DelegateAgentConfigurationT &&value)
AWS_QCONNECT_API MultiAgentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API MultiAgentConfiguration()=default
const DelegateAgentConfiguration & GetDelegateAgentConfiguration() const
void SetHandoffAgentConfiguration(HandoffAgentConfigurationT &&value)
MultiAgentConfiguration & WithHandoffAgentConfiguration(HandoffAgentConfigurationT &&value)
AWS_QCONNECT_API MultiAgentConfiguration(Aws::Utils::Json::JsonView jsonValue)
MultiAgentConfiguration & WithDelegateAgentConfiguration(DelegateAgentConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue