AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
DelegateAgentConfiguration.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 DelegateAgentConfiguration() = 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 private:
74 AgentTarget m_agentTarget;
75
76 MultiAgentInstruction m_instruction;
77 bool m_agentTargetHasBeenSet = false;
78 bool m_instructionHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace QConnect
83} // namespace Aws
AWS_QCONNECT_API DelegateAgentConfiguration()=default
DelegateAgentConfiguration & WithAgentTarget(AgentTargetT &&value)
AWS_QCONNECT_API DelegateAgentConfiguration(Aws::Utils::Json::JsonView jsonValue)
DelegateAgentConfiguration & WithInstruction(InstructionT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API DelegateAgentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue