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/InterfaceProtocolType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
54 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
68 inline void SetBranchInterfaceId(
const char* value) { m_branchInterfaceIdHasBeenSet =
true; m_branchInterfaceId.assign(value); }
82 inline void SetTrunkInterfaceId(
const char* value) { m_trunkInterfaceIdHasBeenSet =
true; m_trunkInterfaceId.assign(value); }
107 inline void SetVlanId(
int value) { m_vlanIdHasBeenSet =
true; m_vlanId = value; }
117 inline void SetGreKey(
int value) { m_greKeyHasBeenSet =
true; m_greKey = value; }
137 bool m_associationIdHasBeenSet =
false;
140 bool m_branchInterfaceIdHasBeenSet =
false;
143 bool m_trunkInterfaceIdHasBeenSet =
false;
146 bool m_interfaceProtocolHasBeenSet =
false;
149 bool m_vlanIdHasBeenSet =
false;
152 bool m_greKeyHasBeenSet =
false;
155 bool m_tagsHasBeenSet =
false;
const Aws::String & GetBranchInterfaceId() const
TrunkInterfaceAssociation & WithInterfaceProtocol(const InterfaceProtocolType &value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetInterfaceProtocol(InterfaceProtocolType &&value)
void SetAssociationId(const char *value)
const InterfaceProtocolType & GetInterfaceProtocol() const
TrunkInterfaceAssociation & WithTrunkInterfaceId(const char *value)
TrunkInterfaceAssociation & WithInterfaceProtocol(InterfaceProtocolType &&value)
AWS_EC2_API TrunkInterfaceAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
TrunkInterfaceAssociation & WithGreKey(int value)
const Aws::String & GetAssociationId() const
void SetTrunkInterfaceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API TrunkInterfaceAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TrunkInterfaceAssociation & WithTrunkInterfaceId(const Aws::String &value)
TrunkInterfaceAssociation & AddTags(Tag &&value)
void SetBranchInterfaceId(const char *value)
TrunkInterfaceAssociation & WithTags(const Aws::Vector< Tag > &value)
void SetGreKey(int value)
TrunkInterfaceAssociation & WithBranchInterfaceId(const Aws::String &value)
bool TrunkInterfaceIdHasBeenSet() const
TrunkInterfaceAssociation & WithVlanId(int value)
TrunkInterfaceAssociation & WithTags(Aws::Vector< Tag > &&value)
bool AssociationIdHasBeenSet() const
TrunkInterfaceAssociation & WithTrunkInterfaceId(Aws::String &&value)
TrunkInterfaceAssociation & WithBranchInterfaceId(Aws::String &&value)
void SetAssociationId(const Aws::String &value)
void SetTrunkInterfaceId(const Aws::String &value)
void SetBranchInterfaceId(const Aws::String &value)
void SetVlanId(int value)
TrunkInterfaceAssociation & WithAssociationId(Aws::String &&value)
void SetInterfaceProtocol(const InterfaceProtocolType &value)
AWS_EC2_API TrunkInterfaceAssociation()
TrunkInterfaceAssociation & AddTags(const Tag &value)
TrunkInterfaceAssociation & WithBranchInterfaceId(const char *value)
TrunkInterfaceAssociation & WithAssociationId(const char *value)
TrunkInterfaceAssociation & WithAssociationId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetTrunkInterfaceId() const
void SetAssociationId(Aws::String &&value)
bool BranchInterfaceIdHasBeenSet() const
bool GreKeyHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetTrunkInterfaceId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool InterfaceProtocolHasBeenSet() const
bool VlanIdHasBeenSet() const
void SetBranchInterfaceId(Aws::String &&value)
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