7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
9#include <aws/globalaccelerator/model/CustomRoutingProtocol.h>
20namespace GlobalAccelerator {
45 m_fromPortHasBeenSet =
true;
62 m_toPortHasBeenSet =
true;
78 template <
typename ProtocolsT = Aws::Vector<CustomRoutingProtocol>>
80 m_protocolsHasBeenSet =
true;
81 m_protocols = std::forward<ProtocolsT>(value);
83 template <
typename ProtocolsT = Aws::Vector<CustomRoutingProtocol>>
89 m_protocolsHasBeenSet =
true;
90 m_protocols.push_back(value);
100 bool m_fromPortHasBeenSet =
false;
101 bool m_toPortHasBeenSet =
false;
102 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