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