7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/globalaccelerator/model/SocketAddress.h>
11#include <aws/globalaccelerator/model/IpAddressType.h>
12#include <aws/globalaccelerator/model/CustomRoutingDestinationTrafficState.h>
25namespace GlobalAccelerator
52 template<
typename AcceleratorArnT = Aws::String>
53 void SetAcceleratorArn(AcceleratorArnT&& value) { m_acceleratorArnHasBeenSet =
true; m_acceleratorArn = std::forward<AcceleratorArnT>(value); }
54 template<
typename AcceleratorArnT = Aws::String>
65 template<
typename AcceleratorSocketAddressesT = Aws::Vector<SocketAddress>>
66 void SetAcceleratorSocketAddresses(AcceleratorSocketAddressesT&& value) { m_acceleratorSocketAddressesHasBeenSet =
true; m_acceleratorSocketAddresses = std::forward<AcceleratorSocketAddressesT>(value); }
67 template<
typename AcceleratorSocketAddressesT = Aws::Vector<SocketAddress>>
69 template<
typename AcceleratorSocketAddressesT = SocketAddress>
79 template<
typename Endpo
intGroupArnT = Aws::String>
80 void SetEndpointGroupArn(EndpointGroupArnT&& value) { m_endpointGroupArnHasBeenSet =
true; m_endpointGroupArn = std::forward<EndpointGroupArnT>(value); }
81 template<
typename Endpo
intGroupArnT = Aws::String>
91 template<
typename Endpo
intIdT = Aws::String>
92 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
93 template<
typename Endpo
intIdT = Aws::String>
103 template<
typename Endpo
intGroupRegionT = Aws::String>
104 void SetEndpointGroupRegion(EndpointGroupRegionT&& value) { m_endpointGroupRegionHasBeenSet =
true; m_endpointGroupRegion = std::forward<EndpointGroupRegionT>(value); }
105 template<
typename Endpo
intGroupRegionT = Aws::String>
116 template<
typename DestinationSocketAddressT = SocketAddress>
117 void SetDestinationSocketAddress(DestinationSocketAddressT&& value) { m_destinationSocketAddressHasBeenSet =
true; m_destinationSocketAddress = std::forward<DestinationSocketAddressT>(value); }
118 template<
typename DestinationSocketAddressT = SocketAddress>
147 bool m_acceleratorArnHasBeenSet =
false;
150 bool m_acceleratorSocketAddressesHasBeenSet =
false;
153 bool m_endpointGroupArnHasBeenSet =
false;
156 bool m_endpointIdHasBeenSet =
false;
159 bool m_endpointGroupRegionHasBeenSet =
false;
162 bool m_destinationSocketAddressHasBeenSet =
false;
165 bool m_ipAddressTypeHasBeenSet =
false;
168 bool m_destinationTrafficStateHasBeenSet =
false;
bool EndpointIdHasBeenSet() const
bool AcceleratorArnHasBeenSet() const
IpAddressType GetIpAddressType() const
const Aws::String & GetAcceleratorArn() const
CustomRoutingDestinationTrafficState GetDestinationTrafficState() const
DestinationPortMapping & WithDestinationTrafficState(CustomRoutingDestinationTrafficState value)
AWS_GLOBALACCELERATOR_API DestinationPortMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationPortMapping & WithDestinationSocketAddress(DestinationSocketAddressT &&value)
void SetEndpointGroupRegion(EndpointGroupRegionT &&value)
const Aws::Vector< SocketAddress > & GetAcceleratorSocketAddresses() const
bool AcceleratorSocketAddressesHasBeenSet() const
bool EndpointGroupArnHasBeenSet() const
DestinationPortMapping & WithIpAddressType(IpAddressType value)
const Aws::String & GetEndpointId() const
const Aws::String & GetEndpointGroupRegion() const
bool DestinationTrafficStateHasBeenSet() const
void SetDestinationTrafficState(CustomRoutingDestinationTrafficState value)
const SocketAddress & GetDestinationSocketAddress() const
void SetDestinationSocketAddress(DestinationSocketAddressT &&value)
DestinationPortMapping & AddAcceleratorSocketAddresses(AcceleratorSocketAddressesT &&value)
void SetEndpointId(EndpointIdT &&value)
bool DestinationSocketAddressHasBeenSet() const
AWS_GLOBALACCELERATOR_API DestinationPortMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationPortMapping & WithAcceleratorArn(AcceleratorArnT &&value)
DestinationPortMapping & WithEndpointId(EndpointIdT &&value)
DestinationPortMapping & WithEndpointGroupRegion(EndpointGroupRegionT &&value)
bool EndpointGroupRegionHasBeenSet() const
void SetAcceleratorSocketAddresses(AcceleratorSocketAddressesT &&value)
DestinationPortMapping & WithAcceleratorSocketAddresses(AcceleratorSocketAddressesT &&value)
AWS_GLOBALACCELERATOR_API DestinationPortMapping()=default
bool IpAddressTypeHasBeenSet() const
DestinationPortMapping & WithEndpointGroupArn(EndpointGroupArnT &&value)
const Aws::String & GetEndpointGroupArn() const
void SetEndpointGroupArn(EndpointGroupArnT &&value)
void SetAcceleratorArn(AcceleratorArnT &&value)
void SetIpAddressType(IpAddressType value)
CustomRoutingDestinationTrafficState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue