AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppMesh::Model::WeightedTarget Class Reference

#include <WeightedTarget.h>

Public Member Functions

 WeightedTarget ()
 
 WeightedTarget (Aws::Utils::Json::JsonView jsonValue)
 
WeightedTargetoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetVirtualNode () const
 
bool VirtualNodeHasBeenSet () const
 
void SetVirtualNode (const Aws::String &value)
 
void SetVirtualNode (Aws::String &&value)
 
void SetVirtualNode (const char *value)
 
WeightedTargetWithVirtualNode (const Aws::String &value)
 
WeightedTargetWithVirtualNode (Aws::String &&value)
 
WeightedTargetWithVirtualNode (const char *value)
 
int GetWeight () const
 
bool WeightHasBeenSet () const
 
void SetWeight (int value)
 
WeightedTargetWithWeight (int value)
 

Detailed Description

An object that represents a target and its relative weight. Traffic is distributed across targets according to their relative weight. For example, a weighted target with a relative weight of 50 receives five times as much traffic as one with a relative weight of 10. The total weight for all targets combined must be less than or equal to 100.

See Also:

AWS API Reference

Definition at line 35 of file WeightedTarget.h.

Constructor & Destructor Documentation

◆ WeightedTarget() [1/2]

Aws::AppMesh::Model::WeightedTarget::WeightedTarget ( )

◆ WeightedTarget() [2/2]

Aws::AppMesh::Model::WeightedTarget::WeightedTarget ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetVirtualNode()

const Aws::String& Aws::AppMesh::Model::WeightedTarget::GetVirtualNode ( ) const
inline

The virtual node to associate with the weighted target.

Definition at line 47 of file WeightedTarget.h.

◆ GetWeight()

int Aws::AppMesh::Model::WeightedTarget::GetWeight ( ) const
inline

The relative weight of the weighted target.

Definition at line 88 of file WeightedTarget.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AppMesh::Model::WeightedTarget::Jsonize ( ) const

◆ operator=()

WeightedTarget& Aws::AppMesh::Model::WeightedTarget::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetVirtualNode() [1/3]

void Aws::AppMesh::Model::WeightedTarget::SetVirtualNode ( const Aws::String value)
inline

The virtual node to associate with the weighted target.

Definition at line 57 of file WeightedTarget.h.

◆ SetVirtualNode() [2/3]

void Aws::AppMesh::Model::WeightedTarget::SetVirtualNode ( Aws::String &&  value)
inline

The virtual node to associate with the weighted target.

Definition at line 62 of file WeightedTarget.h.

◆ SetVirtualNode() [3/3]

void Aws::AppMesh::Model::WeightedTarget::SetVirtualNode ( const char *  value)
inline

The virtual node to associate with the weighted target.

Definition at line 67 of file WeightedTarget.h.

◆ SetWeight()

void Aws::AppMesh::Model::WeightedTarget::SetWeight ( int  value)
inline

The relative weight of the weighted target.

Definition at line 98 of file WeightedTarget.h.

◆ VirtualNodeHasBeenSet()

bool Aws::AppMesh::Model::WeightedTarget::VirtualNodeHasBeenSet ( ) const
inline

The virtual node to associate with the weighted target.

Definition at line 52 of file WeightedTarget.h.

◆ WeightHasBeenSet()

bool Aws::AppMesh::Model::WeightedTarget::WeightHasBeenSet ( ) const
inline

The relative weight of the weighted target.

Definition at line 93 of file WeightedTarget.h.

◆ WithVirtualNode() [1/3]

WeightedTarget& Aws::AppMesh::Model::WeightedTarget::WithVirtualNode ( const Aws::String value)
inline

The virtual node to associate with the weighted target.

Definition at line 72 of file WeightedTarget.h.

◆ WithVirtualNode() [2/3]

WeightedTarget& Aws::AppMesh::Model::WeightedTarget::WithVirtualNode ( Aws::String &&  value)
inline

The virtual node to associate with the weighted target.

Definition at line 77 of file WeightedTarget.h.

◆ WithVirtualNode() [3/3]

WeightedTarget& Aws::AppMesh::Model::WeightedTarget::WithVirtualNode ( const char *  value)
inline

The virtual node to associate with the weighted target.

Definition at line 82 of file WeightedTarget.h.

◆ WithWeight()

WeightedTarget& Aws::AppMesh::Model::WeightedTarget::WithWeight ( int  value)
inline

The relative weight of the weighted target.

Definition at line 103 of file WeightedTarget.h.


The documentation for this class was generated from the following file: