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#include <aws/workspaces/model/AgenticConnectorActivationStatus.h>
13#include <aws/workspaces/model/AgenticConnectorAuthType.h>
14#include <aws/workspaces/model/AgenticConnectorOAuthConfig.h>
15#include <aws/workspaces/model/AgenticConnectorServerType.h>
37 AWS_WORKSPACES_API
AgenticConnector(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
104 m_serverTypeHasBeenSet =
true;
105 m_serverType = value;
119 template <
typename UrlT = Aws::String>
121 m_urlHasBeenSet =
true;
122 m_url = std::forward<UrlT>(value);
124 template <
typename UrlT = Aws::String>
126 SetUrl(std::forward<UrlT>(value));
137 template <
typename CommandT = Aws::String>
139 m_commandHasBeenSet =
true;
140 m_command = std::forward<CommandT>(value);
142 template <
typename CommandT = Aws::String>
155 template <
typename ArgsT = Aws::Vector<Aws::String>>
157 m_argsHasBeenSet =
true;
158 m_args = std::forward<ArgsT>(value);
160 template <
typename ArgsT = Aws::Vector<Aws::String>>
162 SetArgs(std::forward<ArgsT>(value));
165 template <
typename ArgsT = Aws::String>
167 m_argsHasBeenSet =
true;
168 m_args.emplace_back(std::forward<ArgsT>(value));
183 m_authTypeHasBeenSet =
true;
198 template <
typename OAuthConfigT = AgenticConnectorOAuthConfig>
200 m_oAuthConfigHasBeenSet =
true;
201 m_oAuthConfig = std::forward<OAuthConfigT>(value);
203 template <
typename OAuthConfigT = AgenticConnectorOAuthConfig>
219 template <
typename ApiKeySecretArnT = Aws::String>
221 m_apiKeySecretArnHasBeenSet =
true;
222 m_apiKeySecretArn = std::forward<ApiKeySecretArnT>(value);
224 template <
typename ApiKeySecretArnT = Aws::String>
238 template <
typename AllowedToolsT = Aws::Vector<Aws::String>>
240 m_allowedToolsHasBeenSet =
true;
241 m_allowedTools = std::forward<AllowedToolsT>(value);
243 template <
typename AllowedToolsT = Aws::Vector<Aws::String>>
248 template <
typename AllowedToolsT = Aws::String>
250 m_allowedToolsHasBeenSet =
true;
251 m_allowedTools.emplace_back(std::forward<AllowedToolsT>(value));
262 template <
typename BlockedToolsT = Aws::Vector<Aws::String>>
264 m_blockedToolsHasBeenSet =
true;
265 m_blockedTools = std::forward<BlockedToolsT>(value);
267 template <
typename BlockedToolsT = Aws::Vector<Aws::String>>
272 template <
typename BlockedToolsT = Aws::String>
274 m_blockedToolsHasBeenSet =
true;
275 m_blockedTools.emplace_back(std::forward<BlockedToolsT>(value));
287 template <
typename CreatedAtT = Aws::Utils::DateTime>
289 m_createdAtHasBeenSet =
true;
290 m_createdAt = std::forward<CreatedAtT>(value);
292 template <
typename CreatedAtT = Aws::Utils::DateTime>
307 template <
typename UpdatedAtT = Aws::Utils::DateTime>
309 m_updatedAtHasBeenSet =
true;
310 m_updatedAt = std::forward<UpdatedAtT>(value);
312 template <
typename UpdatedAtT = Aws::Utils::DateTime>
333 m_activationStatusHasBeenSet =
true;
334 m_activationStatus = value;
358 AgenticConnectorOAuthConfig m_oAuthConfig;
371 bool m_idHasBeenSet =
false;
372 bool m_nameHasBeenSet =
false;
373 bool m_descriptionHasBeenSet =
false;
374 bool m_serverTypeHasBeenSet =
false;
375 bool m_urlHasBeenSet =
false;
376 bool m_commandHasBeenSet =
false;
377 bool m_argsHasBeenSet =
false;
378 bool m_authTypeHasBeenSet =
false;
379 bool m_oAuthConfigHasBeenSet =
false;
380 bool m_apiKeySecretArnHasBeenSet =
false;
381 bool m_allowedToolsHasBeenSet =
false;
382 bool m_blockedToolsHasBeenSet =
false;
383 bool m_createdAtHasBeenSet =
false;
384 bool m_updatedAtHasBeenSet =
false;
385 bool m_activationStatusHasBeenSet =
false;
AgenticConnector & WithUpdatedAt(UpdatedAtT &&value)
bool CommandHasBeenSet() const
AgenticConnector & WithArgs(ArgsT &&value)
AgenticConnector & WithBlockedTools(BlockedToolsT &&value)
const AgenticConnectorOAuthConfig & GetOAuthConfig() const
void SetCommand(CommandT &&value)
bool CreatedAtHasBeenSet() const
AgenticConnector & WithId(IdT &&value)
bool OAuthConfigHasBeenSet() const
bool ArgsHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetActivationStatus(AgenticConnectorActivationStatus value)
AgenticConnector & AddArgs(ArgsT &&value)
void SetServerType(AgenticConnectorServerType value)
AWS_WORKSPACES_API AgenticConnector & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AgenticConnector & WithUrl(UrlT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Aws::String > & GetArgs() const
bool ApiKeySecretArnHasBeenSet() const
const Aws::String & GetCommand() const
const Aws::String & GetId() const
const Aws::Vector< Aws::String > & GetBlockedTools() const
AgenticConnector & WithOAuthConfig(OAuthConfigT &&value)
void SetApiKeySecretArn(ApiKeySecretArnT &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedTools() const
bool AuthTypeHasBeenSet() const
AgenticConnectorServerType GetServerType() const
void SetOAuthConfig(OAuthConfigT &&value)
void SetArgs(ArgsT &&value)
AgenticConnectorActivationStatus GetActivationStatus() const
const Aws::String & GetApiKeySecretArn() const
void SetName(NameT &&value)
bool ServerTypeHasBeenSet() const
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
AgenticConnector & WithApiKeySecretArn(ApiKeySecretArnT &&value)
bool BlockedToolsHasBeenSet() const
const Aws::String & GetName() const
AgenticConnector & WithCommand(CommandT &&value)
AWS_WORKSPACES_API AgenticConnector(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCreatedAt(CreatedAtT &&value)
AgenticConnector & AddAllowedTools(AllowedToolsT &&value)
AgenticConnector & WithAuthType(AgenticConnectorAuthType value)
void SetDescription(DescriptionT &&value)
AgenticConnector & AddBlockedTools(BlockedToolsT &&value)
void SetAuthType(AgenticConnectorAuthType value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetBlockedTools(BlockedToolsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgenticConnector & WithAllowedTools(AllowedToolsT &&value)
void SetUrl(UrlT &&value)
AgenticConnectorAuthType GetAuthType() const
bool AllowedToolsHasBeenSet() const
AgenticConnector & WithActivationStatus(AgenticConnectorActivationStatus value)
bool NameHasBeenSet() const
AgenticConnector & WithName(NameT &&value)
AgenticConnector & WithCreatedAt(CreatedAtT &&value)
void SetAllowedTools(AllowedToolsT &&value)
AWS_WORKSPACES_API AgenticConnector()=default
AgenticConnector & WithDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool UrlHasBeenSet() const
AgenticConnector & WithServerType(AgenticConnectorServerType value)
const Aws::String & GetUrl() const
bool ActivationStatusHasBeenSet() const
AgenticConnectorActivationStatus
AgenticConnectorServerType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector