AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
UpdateAgentContextResult.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/AgentContextStatus.h>
9#include <aws/context/model/ConnectionMapping.h>
10#include <aws/context/model/EncryptionConfig.h>
11#include <aws/context/model/EntityResolutionConfig.h>
12#include <aws/context/model/TraceAnalysisConfig.h>
13#include <aws/context/model/TrustedIdentitySource.h>
14#include <aws/context/model/WorkforceSignInConfig.h>
15#include <aws/core/http/HttpResponse.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/crt/cbor/Cbor.h>
20
21#include <utility>
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Cbor {
28class CborValue;
29} // namespace Cbor
30} // namespace Utils
31namespace Context {
32namespace Model {
40 public:
41 AWS_CONTEXT_API UpdateAgentContextResult() = default;
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 template <typename IdT = Aws::String>
51 void SetId(IdT&& value) {
52 m_idHasBeenSet = true;
53 m_id = std::forward<IdT>(value);
54 }
55 template <typename IdT = Aws::String>
57 SetId(std::forward<IdT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::String& GetArn() const { return m_arn; }
68 template <typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) {
70 m_arnHasBeenSet = true;
71 m_arn = std::forward<ArnT>(value);
72 }
73 template <typename ArnT = Aws::String>
75 SetArn(std::forward<ArnT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetName() const { return m_name; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetDescription() const { return m_description; }
103 template <typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) {
105 m_descriptionHasBeenSet = true;
106 m_description = std::forward<DescriptionT>(value);
107 }
108 template <typename DescriptionT = Aws::String>
110 SetDescription(std::forward<DescriptionT>(value));
111 return *this;
112 }
114
116
124 inline AgentContextStatus GetStatus() const { return m_status; }
125 inline void SetStatus(AgentContextStatus value) {
126 m_statusHasBeenSet = true;
127 m_status = value;
128 }
130 SetStatus(value);
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
140 template <typename CreatedAtT = Aws::Utils::DateTime>
141 void SetCreatedAt(CreatedAtT&& value) {
142 m_createdAtHasBeenSet = true;
143 m_createdAt = std::forward<CreatedAtT>(value);
144 }
145 template <typename CreatedAtT = Aws::Utils::DateTime>
147 SetCreatedAt(std::forward<CreatedAtT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
158 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 void SetUpdatedAt(UpdatedAtT&& value) {
160 m_updatedAtHasBeenSet = true;
161 m_updatedAt = std::forward<UpdatedAtT>(value);
162 }
163 template <typename UpdatedAtT = Aws::Utils::DateTime>
165 SetUpdatedAt(std::forward<UpdatedAtT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Vector<ConnectionMapping>& GetConnectionMappings() const { return m_connectionMappings; }
175 template <typename ConnectionMappingsT = Aws::Vector<ConnectionMapping>>
176 void SetConnectionMappings(ConnectionMappingsT&& value) {
177 m_connectionMappingsHasBeenSet = true;
178 m_connectionMappings = std::forward<ConnectionMappingsT>(value);
179 }
180 template <typename ConnectionMappingsT = Aws::Vector<ConnectionMapping>>
181 UpdateAgentContextResult& WithConnectionMappings(ConnectionMappingsT&& value) {
182 SetConnectionMappings(std::forward<ConnectionMappingsT>(value));
183 return *this;
184 }
185 template <typename ConnectionMappingsT = ConnectionMapping>
186 UpdateAgentContextResult& AddConnectionMappings(ConnectionMappingsT&& value) {
187 m_connectionMappingsHasBeenSet = true;
188 m_connectionMappings.emplace_back(std::forward<ConnectionMappingsT>(value));
189 return *this;
190 }
192
194
197 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
198 template <typename EncryptionConfigT = EncryptionConfig>
199 void SetEncryptionConfig(EncryptionConfigT&& value) {
200 m_encryptionConfigHasBeenSet = true;
201 m_encryptionConfig = std::forward<EncryptionConfigT>(value);
202 }
203 template <typename EncryptionConfigT = EncryptionConfig>
204 UpdateAgentContextResult& WithEncryptionConfig(EncryptionConfigT&& value) {
205 SetEncryptionConfig(std::forward<EncryptionConfigT>(value));
206 return *this;
207 }
209
211
214 inline const TraceAnalysisConfig& GetTraceAnalysisConfig() const { return m_traceAnalysisConfig; }
215 template <typename TraceAnalysisConfigT = TraceAnalysisConfig>
216 void SetTraceAnalysisConfig(TraceAnalysisConfigT&& value) {
217 m_traceAnalysisConfigHasBeenSet = true;
218 m_traceAnalysisConfig = std::forward<TraceAnalysisConfigT>(value);
219 }
220 template <typename TraceAnalysisConfigT = TraceAnalysisConfig>
221 UpdateAgentContextResult& WithTraceAnalysisConfig(TraceAnalysisConfigT&& value) {
222 SetTraceAnalysisConfig(std::forward<TraceAnalysisConfigT>(value));
223 return *this;
224 }
226
228
233 inline const WorkforceSignInConfig& GetWorkforceSignInConfig() const { return m_workforceSignInConfig; }
234 template <typename WorkforceSignInConfigT = WorkforceSignInConfig>
235 void SetWorkforceSignInConfig(WorkforceSignInConfigT&& value) {
236 m_workforceSignInConfigHasBeenSet = true;
237 m_workforceSignInConfig = std::forward<WorkforceSignInConfigT>(value);
238 }
239 template <typename WorkforceSignInConfigT = WorkforceSignInConfig>
240 UpdateAgentContextResult& WithWorkforceSignInConfig(WorkforceSignInConfigT&& value) {
241 SetWorkforceSignInConfig(std::forward<WorkforceSignInConfigT>(value));
242 return *this;
243 }
245
247
251 inline const EntityResolutionConfig& GetEntityResolutionConfig() const { return m_entityResolutionConfig; }
252 template <typename EntityResolutionConfigT = EntityResolutionConfig>
253 void SetEntityResolutionConfig(EntityResolutionConfigT&& value) {
254 m_entityResolutionConfigHasBeenSet = true;
255 m_entityResolutionConfig = std::forward<EntityResolutionConfigT>(value);
256 }
257 template <typename EntityResolutionConfigT = EntityResolutionConfig>
258 UpdateAgentContextResult& WithEntityResolutionConfig(EntityResolutionConfigT&& value) {
259 SetEntityResolutionConfig(std::forward<EntityResolutionConfigT>(value));
260 return *this;
261 }
263
265
273 inline const Aws::String& GetMcpServerUrl() const { return m_mcpServerUrl; }
274 template <typename McpServerUrlT = Aws::String>
275 void SetMcpServerUrl(McpServerUrlT&& value) {
276 m_mcpServerUrlHasBeenSet = true;
277 m_mcpServerUrl = std::forward<McpServerUrlT>(value);
278 }
279 template <typename McpServerUrlT = Aws::String>
281 SetMcpServerUrl(std::forward<McpServerUrlT>(value));
282 return *this;
283 }
285
287
291 inline const Aws::Vector<TrustedIdentitySource>& GetTrustedIdentitySources() const { return m_trustedIdentitySources; }
292 template <typename TrustedIdentitySourcesT = Aws::Vector<TrustedIdentitySource>>
293 void SetTrustedIdentitySources(TrustedIdentitySourcesT&& value) {
294 m_trustedIdentitySourcesHasBeenSet = true;
295 m_trustedIdentitySources = std::forward<TrustedIdentitySourcesT>(value);
296 }
297 template <typename TrustedIdentitySourcesT = Aws::Vector<TrustedIdentitySource>>
298 UpdateAgentContextResult& WithTrustedIdentitySources(TrustedIdentitySourcesT&& value) {
299 SetTrustedIdentitySources(std::forward<TrustedIdentitySourcesT>(value));
300 return *this;
301 }
302 template <typename TrustedIdentitySourcesT = TrustedIdentitySource>
303 UpdateAgentContextResult& AddTrustedIdentitySources(TrustedIdentitySourcesT&& value) {
304 m_trustedIdentitySourcesHasBeenSet = true;
305 m_trustedIdentitySources.emplace_back(std::forward<TrustedIdentitySourcesT>(value));
306 return *this;
307 }
309
311
312 inline const Aws::String& GetRequestId() const { return m_requestId; }
313 template <typename RequestIdT = Aws::String>
314 void SetRequestId(RequestIdT&& value) {
315 m_requestIdHasBeenSet = true;
316 m_requestId = std::forward<RequestIdT>(value);
317 }
318 template <typename RequestIdT = Aws::String>
320 SetRequestId(std::forward<RequestIdT>(value));
321 return *this;
322 }
324 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
325
326 private:
327 Aws::String m_id;
328
329 Aws::String m_arn;
330
331 Aws::String m_name;
332
333 Aws::String m_description;
334
336
337 Aws::Utils::DateTime m_createdAt{};
338
339 Aws::Utils::DateTime m_updatedAt{};
340
341 Aws::Vector<ConnectionMapping> m_connectionMappings;
342
343 EncryptionConfig m_encryptionConfig;
344
345 TraceAnalysisConfig m_traceAnalysisConfig;
346
347 WorkforceSignInConfig m_workforceSignInConfig;
348
349 EntityResolutionConfig m_entityResolutionConfig;
350
351 Aws::String m_mcpServerUrl;
352
353 Aws::Vector<TrustedIdentitySource> m_trustedIdentitySources;
354
355 Aws::String m_requestId;
356 Aws::Http::HttpResponseCode m_HttpResponseCode;
357 bool m_idHasBeenSet = false;
358 bool m_arnHasBeenSet = false;
359 bool m_nameHasBeenSet = false;
360 bool m_descriptionHasBeenSet = false;
361 bool m_statusHasBeenSet = false;
362 bool m_createdAtHasBeenSet = false;
363 bool m_updatedAtHasBeenSet = false;
364 bool m_connectionMappingsHasBeenSet = false;
365 bool m_encryptionConfigHasBeenSet = false;
366 bool m_traceAnalysisConfigHasBeenSet = false;
367 bool m_workforceSignInConfigHasBeenSet = false;
368 bool m_entityResolutionConfigHasBeenSet = false;
369 bool m_mcpServerUrlHasBeenSet = false;
370 bool m_trustedIdentitySourcesHasBeenSet = false;
371 bool m_requestIdHasBeenSet = false;
372};
373
374} // namespace Model
375} // namespace Context
376} // namespace Aws
UpdateAgentContextResult & WithTrustedIdentitySources(TrustedIdentitySourcesT &&value)
UpdateAgentContextResult & WithId(IdT &&value)
AWS_CONTEXT_API UpdateAgentContextResult()=default
UpdateAgentContextResult & WithWorkforceSignInConfig(WorkforceSignInConfigT &&value)
UpdateAgentContextResult & AddTrustedIdentitySources(TrustedIdentitySourcesT &&value)
UpdateAgentContextResult & WithArn(ArnT &&value)
const TraceAnalysisConfig & GetTraceAnalysisConfig() const
UpdateAgentContextResult & WithEntityResolutionConfig(EntityResolutionConfigT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_CONTEXT_API UpdateAgentContextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_CONTEXT_API UpdateAgentContextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::Vector< ConnectionMapping > & GetConnectionMappings() const
UpdateAgentContextResult & WithDescription(DescriptionT &&value)
UpdateAgentContextResult & WithEncryptionConfig(EncryptionConfigT &&value)
void SetTrustedIdentitySources(TrustedIdentitySourcesT &&value)
UpdateAgentContextResult & WithRequestId(RequestIdT &&value)
void SetEntityResolutionConfig(EntityResolutionConfigT &&value)
void SetConnectionMappings(ConnectionMappingsT &&value)
UpdateAgentContextResult & WithStatus(AgentContextStatus value)
const WorkforceSignInConfig & GetWorkforceSignInConfig() const
const Aws::Vector< TrustedIdentitySource > & GetTrustedIdentitySources() const
UpdateAgentContextResult & WithUpdatedAt(UpdatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateAgentContextResult & WithName(NameT &&value)
const EntityResolutionConfig & GetEntityResolutionConfig() const
UpdateAgentContextResult & WithTraceAnalysisConfig(TraceAnalysisConfigT &&value)
UpdateAgentContextResult & AddConnectionMappings(ConnectionMappingsT &&value)
void SetWorkforceSignInConfig(WorkforceSignInConfigT &&value)
UpdateAgentContextResult & WithConnectionMappings(ConnectionMappingsT &&value)
UpdateAgentContextResult & WithMcpServerUrl(McpServerUrlT &&value)
UpdateAgentContextResult & WithCreatedAt(CreatedAtT &&value)
void SetTraceAnalysisConfig(TraceAnalysisConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector