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