7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/OriginationRouteProtocol.h>
53 inline void SetHost(
const char* value) { m_hostHasBeenSet =
true; m_host.assign(value); }
63 inline int GetPort()
const{
return m_port; }
65 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
89 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
100 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
106 bool m_hostHasBeenSet =
false;
109 bool m_portHasBeenSet =
false;
112 bool m_protocolHasBeenSet =
false;
115 bool m_priorityHasBeenSet =
false;
118 bool m_weightHasBeenSet =
false;
void SetHost(Aws::String &&value)
bool HostHasBeenSet() const
OriginationRoute & WithHost(const char *value)
void SetWeight(int value)
void SetPriority(int value)
bool ProtocolHasBeenSet() const
OriginationRoute & WithHost(const Aws::String &value)
bool PriorityHasBeenSet() const
OriginationRoute & WithPort(int value)
void SetHost(const char *value)
AWS_CHIME_API OriginationRoute()
OriginationRoute & WithWeight(int value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
OriginationRoute & WithProtocol(const OriginationRouteProtocol &value)
void SetProtocol(OriginationRouteProtocol &&value)
AWS_CHIME_API OriginationRoute(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHost() const
const OriginationRouteProtocol & GetProtocol() const
OriginationRoute & WithProtocol(OriginationRouteProtocol &&value)
OriginationRoute & WithHost(Aws::String &&value)
void SetProtocol(const OriginationRouteProtocol &value)
OriginationRoute & WithPriority(int value)
AWS_CHIME_API OriginationRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
void SetHost(const Aws::String &value)
bool WeightHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue