7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/TransitGatewayConnectPeerState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ec2/model/TransitGatewayConnectPeerConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
69 inline void SetTransitGatewayConnectPeerId(
const char* value) { m_transitGatewayConnectPeerIdHasBeenSet =
true; m_transitGatewayConnectPeerId.assign(value); }
127 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
130 bool m_transitGatewayConnectPeerIdHasBeenSet =
false;
133 bool m_stateHasBeenSet =
false;
136 bool m_creationTimeHasBeenSet =
false;
139 bool m_connectPeerConfigurationHasBeenSet =
false;
142 bool m_tagsHasBeenSet =
false;
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayConnectPeer & WithConnectPeerConfiguration(TransitGatewayConnectPeerConfiguration &&value)
TransitGatewayConnectPeer & AddTags(const Tag &value)
TransitGatewayConnectPeer & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTransitGatewayConnectPeerId(const char *value)
TransitGatewayConnectPeer & WithTransitGatewayConnectPeerId(const char *value)
const Aws::String & GetTransitGatewayAttachmentId() const
void SetConnectPeerConfiguration(TransitGatewayConnectPeerConfiguration &&value)
const Aws::Utils::DateTime & GetCreationTime() const
TransitGatewayConnectPeer & WithConnectPeerConfiguration(const TransitGatewayConnectPeerConfiguration &value)
void SetTransitGatewayConnectPeerId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetTransitGatewayConnectPeerId(Aws::String &&value)
AWS_EC2_API TransitGatewayConnectPeer(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayConnectPeer & WithTransitGatewayAttachmentId(Aws::String &&value)
AWS_EC2_API TransitGatewayConnectPeer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetState(TransitGatewayConnectPeerState &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
void SetState(const TransitGatewayConnectPeerState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayConnectPeer & WithTransitGatewayAttachmentId(const Aws::String &value)
bool ConnectPeerConfigurationHasBeenSet() const
TransitGatewayConnectPeer & WithTags(const Aws::Vector< Tag > &value)
TransitGatewayConnectPeer & WithTransitGatewayAttachmentId(const char *value)
TransitGatewayConnectPeer & AddTags(Tag &&value)
TransitGatewayConnectPeer & WithTransitGatewayConnectPeerId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetConnectPeerConfiguration(const TransitGatewayConnectPeerConfiguration &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetTransitGatewayAttachmentId(const char *value)
TransitGatewayConnectPeer & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetTransitGatewayConnectPeerId() const
bool TagsHasBeenSet() const
TransitGatewayConnectPeer & WithState(TransitGatewayConnectPeerState &&value)
TransitGatewayConnectPeer & WithState(const TransitGatewayConnectPeerState &value)
void SetTags(const Aws::Vector< Tag > &value)
const TransitGatewayConnectPeerConfiguration & GetConnectPeerConfiguration() const
bool TransitGatewayConnectPeerIdHasBeenSet() const
bool CreationTimeHasBeenSet() const
bool StateHasBeenSet() const
const TransitGatewayConnectPeerState & GetState() const
AWS_EC2_API TransitGatewayConnectPeer()
TransitGatewayConnectPeer & WithCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayConnectPeer & WithTransitGatewayConnectPeerId(const Aws::String &value)
TransitGatewayConnectPeerState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream