7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/VpcProtocol.h>
10#include <aws/bedrock-agent/model/VpcResolutionMode.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace BedrockAgent {
42 template <
typename KnowledgeBaseIdT = Aws::String>
44 m_knowledgeBaseIdHasBeenSet =
true;
45 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
47 template <
typename KnowledgeBaseIdT = Aws::String>
62 template <
typename ClientTokenT = Aws::String>
64 m_clientTokenHasBeenSet =
true;
65 m_clientToken = std::forward<ClientTokenT>(value);
67 template <
typename ClientTokenT = Aws::String>
81 template <
typename VpcIdT = Aws::String>
83 m_vpcIdHasBeenSet =
true;
84 m_vpcId = std::forward<VpcIdT>(value);
86 template <
typename VpcIdT = Aws::String>
88 SetVpcId(std::forward<VpcIdT>(value));
100 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
102 m_subnetIdsHasBeenSet =
true;
103 m_subnetIds = std::forward<SubnetIdsT>(value);
105 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
110 template <
typename SubnetIdsT = Aws::String>
112 m_subnetIdsHasBeenSet =
true;
113 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
130 template <
typename ResourceTargetT = Aws::String>
132 m_resourceTargetHasBeenSet =
true;
133 m_resourceTarget = std::forward<ResourceTargetT>(value);
135 template <
typename ResourceTargetT = Aws::String>
149 m_portHasBeenSet =
true;
167 m_protocolHasBeenSet =
true;
195 m_resolutionModeHasBeenSet =
true;
196 m_resolutionMode = value;
213 template <
typename HostHeaderT = Aws::String>
215 m_hostHeaderHasBeenSet =
true;
216 m_hostHeader = std::forward<HostHeaderT>(value);
218 template <
typename HostHeaderT = Aws::String>
237 template <
typename TlsServerNameT = Aws::String>
239 m_tlsServerNameHasBeenSet =
true;
240 m_tlsServerName = std::forward<TlsServerNameT>(value);
242 template <
typename TlsServerNameT = Aws::String>
256 template <
typename NameT = Aws::String>
258 m_nameHasBeenSet =
true;
259 m_name = std::forward<NameT>(value);
261 template <
typename NameT = Aws::String>
263 SetName(std::forward<NameT>(value));
275 template <
typename DescriptionT = Aws::String>
277 m_descriptionHasBeenSet =
true;
278 m_description = std::forward<DescriptionT>(value);
280 template <
typename DescriptionT = Aws::String>
310 bool m_knowledgeBaseIdHasBeenSet =
false;
311 bool m_clientTokenHasBeenSet =
true;
312 bool m_vpcIdHasBeenSet =
false;
313 bool m_subnetIdsHasBeenSet =
false;
314 bool m_resourceTargetHasBeenSet =
false;
315 bool m_portHasBeenSet =
false;
316 bool m_protocolHasBeenSet =
false;
317 bool m_resolutionModeHasBeenSet =
false;
318 bool m_hostHeaderHasBeenSet =
false;
319 bool m_tlsServerNameHasBeenSet =
false;
320 bool m_nameHasBeenSet =
false;
321 bool m_descriptionHasBeenSet =
false;
CreateVpcConfigurationRequest & AddSubnetIds(SubnetIdsT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetHostHeader() const
const Aws::String & GetDescription() const
CreateVpcConfigurationRequest & WithResourceTarget(ResourceTargetT &&value)
const Aws::String & GetKnowledgeBaseId() const
CreateVpcConfigurationRequest & WithTlsServerName(TlsServerNameT &&value)
CreateVpcConfigurationRequest & WithDescription(DescriptionT &&value)
bool ClientTokenHasBeenSet() const
CreateVpcConfigurationRequest & WithProtocol(VpcProtocol value)
bool NameHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
CreateVpcConfigurationRequest & WithResolutionMode(VpcResolutionMode value)
AWS_BEDROCKAGENT_API CreateVpcConfigurationRequest()=default
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
CreateVpcConfigurationRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetProtocol(VpcProtocol value)
bool VpcIdHasBeenSet() const
bool ProtocolHasBeenSet() const
void SetResourceTarget(ResourceTargetT &&value)
virtual const char * GetServiceRequestName() const override
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
CreateVpcConfigurationRequest & WithVpcId(VpcIdT &&value)
void SetName(NameT &&value)
CreateVpcConfigurationRequest & WithHostHeader(HostHeaderT &&value)
const Aws::String & GetResourceTarget() const
void SetHostHeader(HostHeaderT &&value)
void SetDescription(DescriptionT &&value)
void SetResolutionMode(VpcResolutionMode value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
bool ResolutionModeHasBeenSet() const
void SetSubnetIds(SubnetIdsT &&value)
VpcResolutionMode GetResolutionMode() const
VpcProtocol GetProtocol() const
CreateVpcConfigurationRequest & WithSubnetIds(SubnetIdsT &&value)
const Aws::String & GetTlsServerName() const
CreateVpcConfigurationRequest & WithName(NameT &&value)
CreateVpcConfigurationRequest & WithClientToken(ClientTokenT &&value)
CreateVpcConfigurationRequest & WithPort(int value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool SubnetIdsHasBeenSet() const
bool ResourceTargetHasBeenSet() const
bool DescriptionHasBeenSet() const
bool HostHeaderHasBeenSet() const
const Aws::String & GetVpcId() const
bool TlsServerNameHasBeenSet() const
void SetTlsServerName(TlsServerNameT &&value)
const Aws::String & GetName() const
bool PortHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector