7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/TransitGatewayAttachmentStatusType.h>
44 template <
typename TransitGatewayAttachmentIdT = Aws::String>
46 m_transitGatewayAttachmentIdHasBeenSet =
true;
47 m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value);
49 template <
typename TransitGatewayAttachmentIdT = Aws::String>
62 template <
typename TransitGatewayIdT = Aws::String>
64 m_transitGatewayIdHasBeenSet =
true;
65 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
67 template <
typename TransitGatewayIdT = Aws::String>
80 template <
typename ClientVpnEndpo
intIdT = Aws::String>
82 m_clientVpnEndpointIdHasBeenSet =
true;
83 m_clientVpnEndpointId = std::forward<ClientVpnEndpointIdT>(value);
85 template <
typename ClientVpnEndpo
intIdT = Aws::String>
99 template <
typename ClientVpnOwnerIdT = Aws::String>
101 m_clientVpnOwnerIdHasBeenSet =
true;
102 m_clientVpnOwnerId = std::forward<ClientVpnOwnerIdT>(value);
104 template <
typename ClientVpnOwnerIdT = Aws::String>
118 m_stateHasBeenSet =
true;
133 template <
typename CreationTimeT = Aws::String>
135 m_creationTimeHasBeenSet =
true;
136 m_creationTime = std::forward<CreationTimeT>(value);
138 template <
typename CreationTimeT = Aws::String>
156 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
157 bool m_transitGatewayIdHasBeenSet =
false;
158 bool m_clientVpnEndpointIdHasBeenSet =
false;
159 bool m_clientVpnOwnerIdHasBeenSet =
false;
160 bool m_stateHasBeenSet =
false;
161 bool m_creationTimeHasBeenSet =
false;
bool StateHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
TransitGatewayClientVpnAttachment & WithClientVpnEndpointId(ClientVpnEndpointIdT &&value)
AWS_EC2_API TransitGatewayClientVpnAttachment()=default
TransitGatewayClientVpnAttachment & WithClientVpnOwnerId(ClientVpnOwnerIdT &&value)
void SetState(TransitGatewayAttachmentStatusType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayAttachmentStatusType GetState() const
TransitGatewayClientVpnAttachment & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
const Aws::String & GetCreationTime() const
TransitGatewayClientVpnAttachment & WithTransitGatewayId(TransitGatewayIdT &&value)
bool ClientVpnOwnerIdHasBeenSet() const
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayClientVpnAttachment & WithCreationTime(CreationTimeT &&value)
bool CreationTimeHasBeenSet() const
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
void SetClientVpnEndpointId(ClientVpnEndpointIdT &&value)
AWS_EC2_API TransitGatewayClientVpnAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetClientVpnOwnerId() const
bool ClientVpnEndpointIdHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTransitGatewayId(TransitGatewayIdT &&value)
AWS_EC2_API TransitGatewayClientVpnAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayClientVpnAttachment & WithState(TransitGatewayAttachmentStatusType value)
const Aws::String & GetClientVpnEndpointId() const
const Aws::String & GetTransitGatewayAttachmentId() const
const Aws::String & GetTransitGatewayId() const
void SetClientVpnOwnerId(ClientVpnOwnerIdT &&value)
TransitGatewayAttachmentStatusType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream