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/TrafficMirrorTargetType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetTrafficMirrorTargetId(
const char* value) { m_trafficMirrorTargetIdHasBeenSet =
true; m_trafficMirrorTargetId.assign(value); }
67 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
81 inline void SetNetworkLoadBalancerArn(
const char* value) { m_networkLoadBalancerArnHasBeenSet =
true; m_networkLoadBalancerArn.assign(value); }
107 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
121 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
157 bool m_trafficMirrorTargetIdHasBeenSet =
false;
160 bool m_networkInterfaceIdHasBeenSet =
false;
163 bool m_networkLoadBalancerArnHasBeenSet =
false;
166 bool m_typeHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_ownerIdHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
178 bool m_gatewayLoadBalancerEndpointIdHasBeenSet =
false;
bool NetworkLoadBalancerArnHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
void SetTrafficMirrorTargetId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
TrafficMirrorTarget & WithGatewayLoadBalancerEndpointId(Aws::String &&value)
void SetNetworkLoadBalancerArn(const char *value)
TrafficMirrorTarget & WithTags(const Aws::Vector< Tag > &value)
TrafficMirrorTarget & WithTrafficMirrorTargetId(const char *value)
const Aws::String & GetTrafficMirrorTargetId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TrafficMirrorTarget & WithTrafficMirrorTargetId(const Aws::String &value)
void SetGatewayLoadBalancerEndpointId(const char *value)
TrafficMirrorTarget & WithNetworkInterfaceId(Aws::String &&value)
bool TrafficMirrorTargetIdHasBeenSet() const
void SetGatewayLoadBalancerEndpointId(Aws::String &&value)
TrafficMirrorTarget & WithDescription(const Aws::String &value)
const Aws::String & GetGatewayLoadBalancerEndpointId() const
void SetTags(const Aws::Vector< Tag > &value)
void SetDescription(const char *value)
const TrafficMirrorTargetType & GetType() const
bool NetworkInterfaceIdHasBeenSet() const
TrafficMirrorTarget & WithNetworkLoadBalancerArn(Aws::String &&value)
void SetNetworkLoadBalancerArn(Aws::String &&value)
AWS_EC2_API TrafficMirrorTarget()
void SetType(TrafficMirrorTargetType &&value)
TrafficMirrorTarget & WithNetworkInterfaceId(const Aws::String &value)
void SetGatewayLoadBalancerEndpointId(const Aws::String &value)
void SetTrafficMirrorTargetId(const Aws::String &value)
TrafficMirrorTarget & WithGatewayLoadBalancerEndpointId(const Aws::String &value)
TrafficMirrorTarget & AddTags(Tag &&value)
void SetNetworkInterfaceId(const char *value)
const Aws::String & GetDescription() const
AWS_EC2_API TrafficMirrorTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TrafficMirrorTarget & WithNetworkLoadBalancerArn(const char *value)
void SetNetworkLoadBalancerArn(const Aws::String &value)
void SetOwnerId(const char *value)
const Aws::String & GetOwnerId() const
TrafficMirrorTarget & WithTrafficMirrorTargetId(Aws::String &&value)
bool TypeHasBeenSet() const
TrafficMirrorTarget & WithOwnerId(Aws::String &&value)
TrafficMirrorTarget & AddTags(const Tag &value)
TrafficMirrorTarget & WithNetworkInterfaceId(const char *value)
TrafficMirrorTarget & WithDescription(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
TrafficMirrorTarget & WithTags(Aws::Vector< Tag > &&value)
void SetOwnerId(const Aws::String &value)
TrafficMirrorTarget & WithOwnerId(const Aws::String &value)
const Aws::String & GetNetworkLoadBalancerArn() const
TrafficMirrorTarget & WithNetworkLoadBalancerArn(const Aws::String &value)
TrafficMirrorTarget & WithOwnerId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTrafficMirrorTargetId(Aws::String &&value)
bool DescriptionHasBeenSet() const
TrafficMirrorTarget & WithType(TrafficMirrorTargetType &&value)
void SetDescription(const Aws::String &value)
bool GatewayLoadBalancerEndpointIdHasBeenSet() const
void SetNetworkInterfaceId(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
TrafficMirrorTarget & WithGatewayLoadBalancerEndpointId(const char *value)
TrafficMirrorTarget & WithType(const TrafficMirrorTargetType &value)
bool TagsHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetOwnerId(Aws::String &&value)
TrafficMirrorTarget & WithDescription(const char *value)
bool OwnerIdHasBeenSet() const
void SetType(const TrafficMirrorTargetType &value)
AWS_EC2_API TrafficMirrorTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
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