7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appmesh/model/ResourceMetadata.h>
10#include <aws/appmesh/model/RouteSpec.h>
11#include <aws/appmesh/model/RouteStatus.h>
52 inline void SetMeshName(
const char* value) { m_meshNameHasBeenSet =
true; m_meshName.assign(value); }
78 inline void SetRouteName(
const char* value) { m_routeNameHasBeenSet =
true; m_routeName.assign(value); }
90 inline void SetSpec(
const RouteSpec& value) { m_specHasBeenSet =
true; m_spec = value; }
91 inline void SetSpec(
RouteSpec&& value) { m_specHasBeenSet =
true; m_spec = std::move(value); }
116 inline void SetVirtualRouterName(
const char* value) { m_virtualRouterNameHasBeenSet =
true; m_virtualRouterName.assign(value); }
124 bool m_meshNameHasBeenSet =
false;
127 bool m_metadataHasBeenSet =
false;
130 bool m_routeNameHasBeenSet =
false;
133 bool m_specHasBeenSet =
false;
136 bool m_statusHasBeenSet =
false;
139 bool m_virtualRouterNameHasBeenSet =
false;
const Aws::String & GetVirtualRouterName() const
RouteData & WithRouteName(const Aws::String &value)
AWS_APPMESH_API RouteData & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteStatus & GetStatus() const
void SetStatus(const RouteStatus &value)
void SetMetadata(ResourceMetadata &&value)
void SetRouteName(Aws::String &&value)
RouteData & WithRouteName(const char *value)
void SetVirtualRouterName(Aws::String &&value)
bool StatusHasBeenSet() const
void SetStatus(RouteStatus &&value)
RouteData & WithMetadata(const ResourceMetadata &value)
const RouteSpec & GetSpec() const
RouteData & WithMeshName(const char *value)
void SetMeshName(const Aws::String &value)
RouteData & WithMeshName(const Aws::String &value)
RouteData & WithVirtualRouterName(const char *value)
RouteData & WithSpec(const RouteSpec &value)
bool RouteNameHasBeenSet() const
void SetMetadata(const ResourceMetadata &value)
RouteData & WithMetadata(ResourceMetadata &&value)
bool VirtualRouterNameHasBeenSet() const
RouteData & WithMeshName(Aws::String &&value)
bool SpecHasBeenSet() const
const ResourceMetadata & GetMetadata() const
bool MetadataHasBeenSet() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMeshName() const
RouteData & WithRouteName(Aws::String &&value)
void SetMeshName(Aws::String &&value)
AWS_APPMESH_API RouteData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRouteName() const
void SetRouteName(const char *value)
bool MeshNameHasBeenSet() const
void SetVirtualRouterName(const char *value)
AWS_APPMESH_API RouteData()
void SetMeshName(const char *value)
void SetSpec(RouteSpec &&value)
RouteData & WithSpec(RouteSpec &&value)
RouteData & WithVirtualRouterName(Aws::String &&value)
void SetSpec(const RouteSpec &value)
RouteData & WithStatus(RouteStatus &&value)
RouteData & WithStatus(const RouteStatus &value)
void SetVirtualRouterName(const Aws::String &value)
RouteData & WithVirtualRouterName(const Aws::String &value)
void SetRouteName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue