AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
WisdomInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AiAgentInfo.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
30 public:
31 AWS_CONNECT_API WisdomInfo() = default;
32 AWS_CONNECT_API WisdomInfo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API WisdomInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSessionArn() const { return m_sessionArn; }
41 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
42 template <typename SessionArnT = Aws::String>
43 void SetSessionArn(SessionArnT&& value) {
44 m_sessionArnHasBeenSet = true;
45 m_sessionArn = std::forward<SessionArnT>(value);
46 }
47 template <typename SessionArnT = Aws::String>
48 WisdomInfo& WithSessionArn(SessionArnT&& value) {
49 SetSessionArn(std::forward<SessionArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<AiAgentInfo>& GetAiAgents() const { return m_aiAgents; }
59 inline bool AiAgentsHasBeenSet() const { return m_aiAgentsHasBeenSet; }
60 template <typename AiAgentsT = Aws::Vector<AiAgentInfo>>
61 void SetAiAgents(AiAgentsT&& value) {
62 m_aiAgentsHasBeenSet = true;
63 m_aiAgents = std::forward<AiAgentsT>(value);
64 }
65 template <typename AiAgentsT = Aws::Vector<AiAgentInfo>>
66 WisdomInfo& WithAiAgents(AiAgentsT&& value) {
67 SetAiAgents(std::forward<AiAgentsT>(value));
68 return *this;
69 }
70 template <typename AiAgentsT = AiAgentInfo>
71 WisdomInfo& AddAiAgents(AiAgentsT&& value) {
72 m_aiAgentsHasBeenSet = true;
73 m_aiAgents.emplace_back(std::forward<AiAgentsT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_sessionArn;
79
80 Aws::Vector<AiAgentInfo> m_aiAgents;
81 bool m_sessionArnHasBeenSet = false;
82 bool m_aiAgentsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Connect
87} // namespace Aws
WisdomInfo & AddAiAgents(AiAgentsT &&value)
Definition WisdomInfo.h:71
WisdomInfo & WithAiAgents(AiAgentsT &&value)
Definition WisdomInfo.h:66
const Aws::Vector< AiAgentInfo > & GetAiAgents() const
Definition WisdomInfo.h:58
void SetAiAgents(AiAgentsT &&value)
Definition WisdomInfo.h:61
WisdomInfo & WithSessionArn(SessionArnT &&value)
Definition WisdomInfo.h:48
void SetSessionArn(SessionArnT &&value)
Definition WisdomInfo.h:43
AWS_CONNECT_API WisdomInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSessionArn() const
Definition WisdomInfo.h:40
AWS_CONNECT_API WisdomInfo()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API WisdomInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue