7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/InterfaceProtocolType.h>
12#include <aws/ec2/model/Tag.h>
46 template <
typename AssociationIdT = Aws::String>
48 m_associationIdHasBeenSet =
true;
49 m_associationId = std::forward<AssociationIdT>(value);
51 template <
typename AssociationIdT = Aws::String>
64 template <
typename BranchInterfaceIdT = Aws::String>
66 m_branchInterfaceIdHasBeenSet =
true;
67 m_branchInterfaceId = std::forward<BranchInterfaceIdT>(value);
69 template <
typename BranchInterfaceIdT = Aws::String>
82 template <
typename TrunkInterfaceIdT = Aws::String>
84 m_trunkInterfaceIdHasBeenSet =
true;
85 m_trunkInterfaceId = std::forward<TrunkInterfaceIdT>(value);
87 template <
typename TrunkInterfaceIdT = Aws::String>
102 m_interfaceProtocolHasBeenSet =
true;
103 m_interfaceProtocol = value;
118 m_vlanIdHasBeenSet =
true;
134 m_greKeyHasBeenSet =
true;
149 template <
typename TagsT = Aws::Vector<Tag>>
151 m_tagsHasBeenSet =
true;
152 m_tags = std::forward<TagsT>(value);
154 template <
typename TagsT = Aws::Vector<Tag>>
156 SetTags(std::forward<TagsT>(value));
159 template <
typename TagsT = Tag>
161 m_tagsHasBeenSet =
true;
162 m_tags.emplace_back(std::forward<TagsT>(value));
180 bool m_associationIdHasBeenSet =
false;
181 bool m_branchInterfaceIdHasBeenSet =
false;
182 bool m_trunkInterfaceIdHasBeenSet =
false;
183 bool m_interfaceProtocolHasBeenSet =
false;
184 bool m_vlanIdHasBeenSet =
false;
185 bool m_greKeyHasBeenSet =
false;
186 bool m_tagsHasBeenSet =
false;
const Aws::String & GetBranchInterfaceId() const
bool TagsHasBeenSet() const
TrunkInterfaceAssociation & AddTags(TagsT &&value)
void SetBranchInterfaceId(BranchInterfaceIdT &&value)
void SetTrunkInterfaceId(TrunkInterfaceIdT &&value)
AWS_EC2_API TrunkInterfaceAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
TrunkInterfaceAssociation & WithGreKey(int value)
void SetInterfaceProtocol(InterfaceProtocolType value)
const Aws::String & GetAssociationId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(TagsT &&value)
AWS_EC2_API TrunkInterfaceAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAssociationId(AssociationIdT &&value)
void SetGreKey(int value)
bool TrunkInterfaceIdHasBeenSet() const
TrunkInterfaceAssociation & WithTrunkInterfaceId(TrunkInterfaceIdT &&value)
TrunkInterfaceAssociation & WithVlanId(int value)
TrunkInterfaceAssociation & WithAssociationId(AssociationIdT &&value)
bool AssociationIdHasBeenSet() const
AWS_EC2_API TrunkInterfaceAssociation()=default
void SetVlanId(int value)
TrunkInterfaceAssociation & WithInterfaceProtocol(InterfaceProtocolType value)
TrunkInterfaceAssociation & WithTags(TagsT &&value)
TrunkInterfaceAssociation & WithBranchInterfaceId(BranchInterfaceIdT &&value)
InterfaceProtocolType GetInterfaceProtocol() const
const Aws::String & GetTrunkInterfaceId() const
bool BranchInterfaceIdHasBeenSet() const
bool GreKeyHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool InterfaceProtocolHasBeenSet() const
bool VlanIdHasBeenSet() const
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