7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/globalaccelerator/model/CustomRoutingProtocol.h>
22namespace GlobalAccelerator
50 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
61 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
72 template<
typename ProtocolsT = Aws::Vector<CustomRoutingProtocol>>
73 void SetProtocols(ProtocolsT&& value) { m_protocolsHasBeenSet =
true; m_protocols = std::forward<ProtocolsT>(value); }
74 template<
typename ProtocolsT = Aws::Vector<CustomRoutingProtocol>>
81 bool m_fromPortHasBeenSet =
false;
84 bool m_toPortHasBeenSet =
false;
87 bool m_protocolsHasBeenSet =
false;
CustomRoutingDestinationConfiguration & WithProtocols(ProtocolsT &&value)
CustomRoutingDestinationConfiguration & WithToPort(int value)
AWS_GLOBALACCELERATOR_API CustomRoutingDestinationConfiguration()=default
bool ProtocolsHasBeenSet() const
CustomRoutingDestinationConfiguration & WithFromPort(int value)
void SetFromPort(int value)
CustomRoutingDestinationConfiguration & AddProtocols(CustomRoutingProtocol value)
AWS_GLOBALACCELERATOR_API CustomRoutingDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API CustomRoutingDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ToPortHasBeenSet() const
bool FromPortHasBeenSet() const
void SetToPort(int value)
void SetProtocols(ProtocolsT &&value)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< CustomRoutingProtocol > & GetProtocols() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue