AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/QConnectRequest.h>
11#include <aws/qconnect/QConnect_EXPORTS.h>
12#include <aws/qconnect/model/AIAgentConfigurationData.h>
13#include <aws/qconnect/model/AIAgentType.h>
14#include <aws/qconnect/model/OrchestratorConfigurationEntry.h>
15#include <aws/qconnect/model/TagFilter.h>
16
17#include <utility>
18
19namespace Aws {
20namespace QConnect {
21namespace Model {
22
26 public:
27 AWS_QCONNECT_API UpdateSessionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateSession"; }
34
35 AWS_QCONNECT_API Aws::String SerializePayload() const override;
36
38
42 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
43 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
44 template <typename AssistantIdT = Aws::String>
46 m_assistantIdHasBeenSet = true;
47 m_assistantId = std::forward<AssistantIdT>(value);
48 }
49 template <typename AssistantIdT = Aws::String>
51 SetAssistantId(std::forward<AssistantIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetSessionId() const { return m_sessionId; }
62 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
63 template <typename SessionIdT = Aws::String>
64 void SetSessionId(SessionIdT&& value) {
65 m_sessionIdHasBeenSet = true;
66 m_sessionId = std::forward<SessionIdT>(value);
67 }
68 template <typename SessionIdT = Aws::String>
70 SetSessionId(std::forward<SessionIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
97 inline const TagFilter& GetTagFilter() const { return m_tagFilter; }
98 inline bool TagFilterHasBeenSet() const { return m_tagFilterHasBeenSet; }
99 template <typename TagFilterT = TagFilter>
100 void SetTagFilter(TagFilterT&& value) {
101 m_tagFilterHasBeenSet = true;
102 m_tagFilter = std::forward<TagFilterT>(value);
103 }
104 template <typename TagFilterT = TagFilter>
106 SetTagFilter(std::forward<TagFilterT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::Map<AIAgentType, AIAgentConfigurationData>& GetAiAgentConfiguration() const { return m_aiAgentConfiguration; }
117 inline bool AiAgentConfigurationHasBeenSet() const { return m_aiAgentConfigurationHasBeenSet; }
118 template <typename AiAgentConfigurationT = Aws::Map<AIAgentType, AIAgentConfigurationData>>
120 m_aiAgentConfigurationHasBeenSet = true;
121 m_aiAgentConfiguration = std::forward<AiAgentConfigurationT>(value);
122 }
123 template <typename AiAgentConfigurationT = Aws::Map<AIAgentType, AIAgentConfigurationData>>
125 SetAiAgentConfiguration(std::forward<AiAgentConfigurationT>(value));
126 return *this;
127 }
129 m_aiAgentConfigurationHasBeenSet = true;
130 m_aiAgentConfiguration.emplace(key, value);
131 return *this;
132 }
134
136
140 return m_orchestratorConfigurationList;
141 }
142 inline bool OrchestratorConfigurationListHasBeenSet() const { return m_orchestratorConfigurationListHasBeenSet; }
143 template <typename OrchestratorConfigurationListT = Aws::Vector<OrchestratorConfigurationEntry>>
145 m_orchestratorConfigurationListHasBeenSet = true;
146 m_orchestratorConfigurationList = std::forward<OrchestratorConfigurationListT>(value);
147 }
148 template <typename OrchestratorConfigurationListT = Aws::Vector<OrchestratorConfigurationEntry>>
150 SetOrchestratorConfigurationList(std::forward<OrchestratorConfigurationListT>(value));
151 return *this;
152 }
153 template <typename OrchestratorConfigurationListT = OrchestratorConfigurationEntry>
155 m_orchestratorConfigurationListHasBeenSet = true;
156 m_orchestratorConfigurationList.emplace_back(std::forward<OrchestratorConfigurationListT>(value));
157 return *this;
158 }
160
162
165 inline bool GetRemoveOrchestratorConfigurationList() const { return m_removeOrchestratorConfigurationList; }
166 inline bool RemoveOrchestratorConfigurationListHasBeenSet() const { return m_removeOrchestratorConfigurationListHasBeenSet; }
168 m_removeOrchestratorConfigurationListHasBeenSet = true;
169 m_removeOrchestratorConfigurationList = value;
170 }
173 return *this;
174 }
176 private:
177 Aws::String m_assistantId;
178
179 Aws::String m_sessionId;
180
181 Aws::String m_description;
182
183 TagFilter m_tagFilter;
184
186
187 Aws::Vector<OrchestratorConfigurationEntry> m_orchestratorConfigurationList;
188
189 bool m_removeOrchestratorConfigurationList{false};
190 bool m_assistantIdHasBeenSet = false;
191 bool m_sessionIdHasBeenSet = false;
192 bool m_descriptionHasBeenSet = false;
193 bool m_tagFilterHasBeenSet = false;
194 bool m_aiAgentConfigurationHasBeenSet = false;
195 bool m_orchestratorConfigurationListHasBeenSet = false;
196 bool m_removeOrchestratorConfigurationListHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace QConnect
201} // namespace Aws
UpdateSessionRequest & WithTagFilter(TagFilterT &&value)
UpdateSessionRequest & AddAiAgentConfiguration(AIAgentType key, AIAgentConfigurationData value)
const Aws::Vector< OrchestratorConfigurationEntry > & GetOrchestratorConfigurationList() const
AWS_QCONNECT_API UpdateSessionRequest()=default
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateSessionRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSessionRequest & WithOrchestratorConfigurationList(OrchestratorConfigurationListT &&value)
UpdateSessionRequest & WithSessionId(SessionIdT &&value)
const Aws::Map< AIAgentType, AIAgentConfigurationData > & GetAiAgentConfiguration() const
UpdateSessionRequest & WithRemoveOrchestratorConfigurationList(bool value)
UpdateSessionRequest & WithAssistantId(AssistantIdT &&value)
UpdateSessionRequest & AddOrchestratorConfigurationList(OrchestratorConfigurationListT &&value)
void SetAiAgentConfiguration(AiAgentConfigurationT &&value)
void SetOrchestratorConfigurationList(OrchestratorConfigurationListT &&value)
UpdateSessionRequest & WithAiAgentConfiguration(AiAgentConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector