AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
AgenticPersonaConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/workspaces/WorkSpaces_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace WorkSpaces {
22namespace Model {
23
33 public:
34 AWS_WORKSPACES_API AgenticPersonaConfiguration() = default;
35 AWS_WORKSPACES_API AgenticPersonaConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_WORKSPACES_API AgenticPersonaConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
70 SetName(std::forward<NameT>(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>
82 void SetDescription(DescriptionT&& value) {
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 Aws::String& GetAgentRuntimeId() const { return m_agentRuntimeId; }
98 inline bool AgentRuntimeIdHasBeenSet() const { return m_agentRuntimeIdHasBeenSet; }
99 template <typename AgentRuntimeIdT = Aws::String>
100 void SetAgentRuntimeId(AgentRuntimeIdT&& value) {
101 m_agentRuntimeIdHasBeenSet = true;
102 m_agentRuntimeId = std::forward<AgentRuntimeIdT>(value);
103 }
104 template <typename AgentRuntimeIdT = Aws::String>
106 SetAgentRuntimeId(std::forward<AgentRuntimeIdT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<Aws::String>& GetModelIds() const { return m_modelIds; }
116 inline bool ModelIdsHasBeenSet() const { return m_modelIdsHasBeenSet; }
117 template <typename ModelIdsT = Aws::Vector<Aws::String>>
118 void SetModelIds(ModelIdsT&& value) {
119 m_modelIdsHasBeenSet = true;
120 m_modelIds = std::forward<ModelIdsT>(value);
121 }
122 template <typename ModelIdsT = Aws::Vector<Aws::String>>
124 SetModelIds(std::forward<ModelIdsT>(value));
125 return *this;
126 }
127 template <typename ModelIdsT = Aws::String>
129 m_modelIdsHasBeenSet = true;
130 m_modelIds.emplace_back(std::forward<ModelIdsT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<Aws::String>& GetAgenticConnectorIds() const { return m_agenticConnectorIds; }
140 inline bool AgenticConnectorIdsHasBeenSet() const { return m_agenticConnectorIdsHasBeenSet; }
141 template <typename AgenticConnectorIdsT = Aws::Vector<Aws::String>>
142 void SetAgenticConnectorIds(AgenticConnectorIdsT&& value) {
143 m_agenticConnectorIdsHasBeenSet = true;
144 m_agenticConnectorIds = std::forward<AgenticConnectorIdsT>(value);
145 }
146 template <typename AgenticConnectorIdsT = Aws::Vector<Aws::String>>
148 SetAgenticConnectorIds(std::forward<AgenticConnectorIdsT>(value));
149 return *this;
150 }
151 template <typename AgenticConnectorIdsT = Aws::String>
153 m_agenticConnectorIdsHasBeenSet = true;
154 m_agenticConnectorIds.emplace_back(std::forward<AgenticConnectorIdsT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Vector<Aws::String>& GetAgenticContextIds() const { return m_agenticContextIds; }
164 inline bool AgenticContextIdsHasBeenSet() const { return m_agenticContextIdsHasBeenSet; }
165 template <typename AgenticContextIdsT = Aws::Vector<Aws::String>>
166 void SetAgenticContextIds(AgenticContextIdsT&& value) {
167 m_agenticContextIdsHasBeenSet = true;
168 m_agenticContextIds = std::forward<AgenticContextIdsT>(value);
169 }
170 template <typename AgenticContextIdsT = Aws::Vector<Aws::String>>
172 SetAgenticContextIds(std::forward<AgenticContextIdsT>(value));
173 return *this;
174 }
175 template <typename AgenticContextIdsT = Aws::String>
177 m_agenticContextIdsHasBeenSet = true;
178 m_agenticContextIds.emplace_back(std::forward<AgenticContextIdsT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
188 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
189 template <typename CreatedAtT = Aws::Utils::DateTime>
190 void SetCreatedAt(CreatedAtT&& value) {
191 m_createdAtHasBeenSet = true;
192 m_createdAt = std::forward<CreatedAtT>(value);
193 }
194 template <typename CreatedAtT = Aws::Utils::DateTime>
196 SetCreatedAt(std::forward<CreatedAtT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::String& GetWorkspaceEnforcedPolicyId() const { return m_workspaceEnforcedPolicyId; }
206 inline bool WorkspaceEnforcedPolicyIdHasBeenSet() const { return m_workspaceEnforcedPolicyIdHasBeenSet; }
207 template <typename WorkspaceEnforcedPolicyIdT = Aws::String>
208 void SetWorkspaceEnforcedPolicyId(WorkspaceEnforcedPolicyIdT&& value) {
209 m_workspaceEnforcedPolicyIdHasBeenSet = true;
210 m_workspaceEnforcedPolicyId = std::forward<WorkspaceEnforcedPolicyIdT>(value);
211 }
212 template <typename WorkspaceEnforcedPolicyIdT = Aws::String>
213 AgenticPersonaConfiguration& WithWorkspaceEnforcedPolicyId(WorkspaceEnforcedPolicyIdT&& value) {
214 SetWorkspaceEnforcedPolicyId(std::forward<WorkspaceEnforcedPolicyIdT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetAgentEnforcedPolicyId() const { return m_agentEnforcedPolicyId; }
224 inline bool AgentEnforcedPolicyIdHasBeenSet() const { return m_agentEnforcedPolicyIdHasBeenSet; }
225 template <typename AgentEnforcedPolicyIdT = Aws::String>
226 void SetAgentEnforcedPolicyId(AgentEnforcedPolicyIdT&& value) {
227 m_agentEnforcedPolicyIdHasBeenSet = true;
228 m_agentEnforcedPolicyId = std::forward<AgentEnforcedPolicyIdT>(value);
229 }
230 template <typename AgentEnforcedPolicyIdT = Aws::String>
232 SetAgentEnforcedPolicyId(std::forward<AgentEnforcedPolicyIdT>(value));
233 return *this;
234 }
236 private:
237 Aws::String m_id;
238
239 Aws::String m_name;
240
241 Aws::String m_description;
242
243 Aws::String m_agentRuntimeId;
244
245 Aws::Vector<Aws::String> m_modelIds;
246
247 Aws::Vector<Aws::String> m_agenticConnectorIds;
248
249 Aws::Vector<Aws::String> m_agenticContextIds;
250
251 Aws::Utils::DateTime m_createdAt{};
252
253 Aws::String m_workspaceEnforcedPolicyId;
254
255 Aws::String m_agentEnforcedPolicyId;
256 bool m_idHasBeenSet = false;
257 bool m_nameHasBeenSet = false;
258 bool m_descriptionHasBeenSet = false;
259 bool m_agentRuntimeIdHasBeenSet = false;
260 bool m_modelIdsHasBeenSet = false;
261 bool m_agenticConnectorIdsHasBeenSet = false;
262 bool m_agenticContextIdsHasBeenSet = false;
263 bool m_createdAtHasBeenSet = false;
264 bool m_workspaceEnforcedPolicyIdHasBeenSet = false;
265 bool m_agentEnforcedPolicyIdHasBeenSet = false;
266};
267
268} // namespace Model
269} // namespace WorkSpaces
270} // namespace Aws
AgenticPersonaConfiguration & WithDescription(DescriptionT &&value)
void SetWorkspaceEnforcedPolicyId(WorkspaceEnforcedPolicyIdT &&value)
AgenticPersonaConfiguration & AddAgenticContextIds(AgenticContextIdsT &&value)
AgenticPersonaConfiguration & WithCreatedAt(CreatedAtT &&value)
AgenticPersonaConfiguration & WithAgentEnforcedPolicyId(AgentEnforcedPolicyIdT &&value)
AgenticPersonaConfiguration & AddAgenticConnectorIds(AgenticConnectorIdsT &&value)
AWS_WORKSPACES_API AgenticPersonaConfiguration()=default
AgenticPersonaConfiguration & WithAgenticContextIds(AgenticContextIdsT &&value)
AWS_WORKSPACES_API AgenticPersonaConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AgenticPersonaConfiguration & WithWorkspaceEnforcedPolicyId(WorkspaceEnforcedPolicyIdT &&value)
const Aws::Vector< Aws::String > & GetAgenticConnectorIds() const
AWS_WORKSPACES_API AgenticPersonaConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< Aws::String > & GetAgenticContextIds() const
AgenticPersonaConfiguration & WithName(NameT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AgenticPersonaConfiguration & WithAgentRuntimeId(AgentRuntimeIdT &&value)
AgenticPersonaConfiguration & WithModelIds(ModelIdsT &&value)
const Aws::Vector< Aws::String > & GetModelIds() const
AgenticPersonaConfiguration & AddModelIds(ModelIdsT &&value)
AgenticPersonaConfiguration & WithAgenticConnectorIds(AgenticConnectorIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector