7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline int GetPort()
const{
return m_port; }
50 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
62 inline void SetVirtualNode(
const char* value) { m_virtualNodeHasBeenSet =
true; m_virtualNode.assign(value); }
74 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
80 bool m_portHasBeenSet =
false;
83 bool m_virtualNodeHasBeenSet =
false;
86 bool m_weightHasBeenSet =
false;
WeightedTarget & WithVirtualNode(const char *value)
const Aws::String & GetVirtualNode() const
bool PortHasBeenSet() const
WeightedTarget & WithVirtualNode(const Aws::String &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualNode(const Aws::String &value)
bool WeightHasBeenSet() const
void SetWeight(int value)
WeightedTarget & WithVirtualNode(Aws::String &&value)
bool VirtualNodeHasBeenSet() const
void SetVirtualNode(const char *value)
WeightedTarget & WithWeight(int value)
AWS_APPMESH_API WeightedTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualNode(Aws::String &&value)
AWS_APPMESH_API WeightedTarget(Aws::Utils::Json::JsonView jsonValue)
WeightedTarget & WithPort(int value)
AWS_APPMESH_API WeightedTarget()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue