7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/VpcConfigurationStatus.h>
9#include <aws/bedrock-agent/model/VpcProtocol.h>
10#include <aws/bedrock-agent/model/VpcResolutionMode.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace BedrockAgent {
47 template <
typename VpcConfigurationIdT = Aws::String>
49 m_vpcConfigurationIdHasBeenSet =
true;
50 m_vpcConfigurationId = std::forward<VpcConfigurationIdT>(value);
52 template <
typename VpcConfigurationIdT = Aws::String>
66 m_statusHasBeenSet =
true;
82 template <
typename StatusMessageT = Aws::String>
84 m_statusMessageHasBeenSet =
true;
85 m_statusMessage = std::forward<StatusMessageT>(value);
87 template <
typename StatusMessageT = Aws::String>
101 template <
typename VpcIdT = Aws::String>
103 m_vpcIdHasBeenSet =
true;
104 m_vpcId = std::forward<VpcIdT>(value);
106 template <
typename VpcIdT = Aws::String>
108 SetVpcId(std::forward<VpcIdT>(value));
119 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
121 m_subnetIdsHasBeenSet =
true;
122 m_subnetIds = std::forward<SubnetIdsT>(value);
124 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
129 template <
typename SubnetIdsT = Aws::String>
131 m_subnetIdsHasBeenSet =
true;
132 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
143 template <
typename ResourceTargetT = Aws::String>
145 m_resourceTargetHasBeenSet =
true;
146 m_resourceTarget = std::forward<ResourceTargetT>(value);
148 template <
typename ResourceTargetT = Aws::String>
162 m_portHasBeenSet =
true;
178 m_protocolHasBeenSet =
true;
194 m_resolutionModeHasBeenSet =
true;
195 m_resolutionMode = value;
210 template <
typename HostHeaderT = Aws::String>
212 m_hostHeaderHasBeenSet =
true;
213 m_hostHeader = std::forward<HostHeaderT>(value);
215 template <
typename HostHeaderT = Aws::String>
230 template <
typename TlsServerNameT = Aws::String>
232 m_tlsServerNameHasBeenSet =
true;
233 m_tlsServerName = std::forward<TlsServerNameT>(value);
235 template <
typename TlsServerNameT = Aws::String>
248 template <
typename NameT = Aws::String>
250 m_nameHasBeenSet =
true;
251 m_name = std::forward<NameT>(value);
253 template <
typename NameT = Aws::String>
255 SetName(std::forward<NameT>(value));
266 template <
typename DescriptionT = Aws::String>
268 m_descriptionHasBeenSet =
true;
269 m_description = std::forward<DescriptionT>(value);
271 template <
typename DescriptionT = Aws::String>
284 template <
typename CreatedAtT = Aws::Utils::DateTime>
286 m_createdAtHasBeenSet =
true;
287 m_createdAt = std::forward<CreatedAtT>(value);
289 template <
typename CreatedAtT = Aws::Utils::DateTime>
302 template <
typename UpdatedAtT = Aws::Utils::DateTime>
304 m_updatedAtHasBeenSet =
true;
305 m_updatedAt = std::forward<UpdatedAtT>(value);
307 template <
typename UpdatedAtT = Aws::Utils::DateTime>
343 bool m_vpcConfigurationIdHasBeenSet =
false;
344 bool m_statusHasBeenSet =
false;
345 bool m_statusMessageHasBeenSet =
false;
346 bool m_vpcIdHasBeenSet =
false;
347 bool m_subnetIdsHasBeenSet =
false;
348 bool m_resourceTargetHasBeenSet =
false;
349 bool m_portHasBeenSet =
false;
350 bool m_protocolHasBeenSet =
false;
351 bool m_resolutionModeHasBeenSet =
false;
352 bool m_hostHeaderHasBeenSet =
false;
353 bool m_tlsServerNameHasBeenSet =
false;
354 bool m_nameHasBeenSet =
false;
355 bool m_descriptionHasBeenSet =
false;
356 bool m_createdAtHasBeenSet =
false;
357 bool m_updatedAtHasBeenSet =
false;
bool VpcIdHasBeenSet() const
VpcConfiguration & WithSubnetIds(SubnetIdsT &&value)
const Aws::String & GetName() const
VpcConfiguration & WithVpcConfigurationId(VpcConfigurationIdT &&value)
VpcConfiguration & AddSubnetIds(SubnetIdsT &&value)
VpcResolutionMode GetResolutionMode() const
void SetVpcConfigurationId(VpcConfigurationIdT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfiguration & WithUpdatedAt(UpdatedAtT &&value)
bool ResourceTargetHasBeenSet() const
bool StatusMessageHasBeenSet() const
const Aws::String & GetResourceTarget() const
VpcConfiguration & WithHostHeader(HostHeaderT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool NameHasBeenSet() const
const Aws::String & GetStatusMessage() const
bool DescriptionHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
bool UpdatedAtHasBeenSet() const
AWS_BEDROCKAGENT_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API VpcConfiguration()=default
const Aws::String & GetTlsServerName() const
void SetStatus(VpcConfigurationStatus value)
bool VpcConfigurationIdHasBeenSet() const
const Aws::String & GetVpcId() const
void SetCreatedAt(CreatedAtT &&value)
bool HostHeaderHasBeenSet() const
VpcConfigurationStatus GetStatus() const
void SetResolutionMode(VpcResolutionMode value)
AWS_BEDROCKAGENT_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool SubnetIdsHasBeenSet() const
const Aws::String & GetHostHeader() const
VpcConfiguration & WithName(NameT &&value)
void SetHostHeader(HostHeaderT &&value)
bool CreatedAtHasBeenSet() const
bool ProtocolHasBeenSet() const
void SetDescription(DescriptionT &&value)
VpcConfiguration & WithStatusMessage(StatusMessageT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
VpcConfiguration & WithPort(int value)
VpcConfiguration & WithTlsServerName(TlsServerNameT &&value)
const Aws::String & GetDescription() const
void SetResourceTarget(ResourceTargetT &&value)
VpcConfiguration & WithResourceTarget(ResourceTargetT &&value)
VpcProtocol GetProtocol() const
void SetSubnetIds(SubnetIdsT &&value)
VpcConfiguration & WithResolutionMode(VpcResolutionMode value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetName(NameT &&value)
bool ResolutionModeHasBeenSet() const
void SetProtocol(VpcProtocol value)
VpcConfiguration & WithProtocol(VpcProtocol value)
void SetUpdatedAt(UpdatedAtT &&value)
VpcConfiguration & WithCreatedAt(CreatedAtT &&value)
VpcConfiguration & WithDescription(DescriptionT &&value)
void SetVpcId(VpcIdT &&value)
bool StatusHasBeenSet() const
VpcConfiguration & WithStatus(VpcConfigurationStatus value)
bool PortHasBeenSet() const
bool TlsServerNameHasBeenSet() const
VpcConfiguration & WithVpcId(VpcIdT &&value)
void SetTlsServerName(TlsServerNameT &&value)
const Aws::String & GetVpcConfigurationId() const
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
Aws::Utils::Json::JsonValue JsonValue