7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GatewayRouteHostnameMatch.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/appmesh/model/GrpcGatewayRouteMetadata.h>
74 inline int GetPort()
const{
return m_port; }
76 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
89 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
97 bool m_hostnameHasBeenSet =
false;
100 bool m_metadataHasBeenSet =
false;
103 bool m_portHasBeenSet =
false;
106 bool m_serviceNameHasBeenSet =
false;
GrpcGatewayRouteMatch & WithMetadata(Aws::Vector< GrpcGatewayRouteMetadata > &&value)
AWS_APPMESH_API GrpcGatewayRouteMatch()
const GatewayRouteHostnameMatch & GetHostname() const
GrpcGatewayRouteMatch & WithMetadata(const Aws::Vector< GrpcGatewayRouteMetadata > &value)
void SetHostname(GatewayRouteHostnameMatch &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
bool HostnameHasBeenSet() const
GrpcGatewayRouteMatch & WithServiceName(const char *value)
const Aws::Vector< GrpcGatewayRouteMetadata > & GetMetadata() const
GrpcGatewayRouteMatch & WithPort(int value)
bool PortHasBeenSet() const
AWS_APPMESH_API GrpcGatewayRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
GrpcGatewayRouteMatch & AddMetadata(const GrpcGatewayRouteMetadata &value)
void SetServiceName(Aws::String &&value)
void SetMetadata(const Aws::Vector< GrpcGatewayRouteMetadata > &value)
bool MetadataHasBeenSet() const
bool ServiceNameHasBeenSet() const
void SetServiceName(const Aws::String &value)
const Aws::String & GetServiceName() const
void SetHostname(const GatewayRouteHostnameMatch &value)
GrpcGatewayRouteMatch & WithHostname(GatewayRouteHostnameMatch &&value)
AWS_APPMESH_API GrpcGatewayRouteMatch(Aws::Utils::Json::JsonView jsonValue)
GrpcGatewayRouteMatch & AddMetadata(GrpcGatewayRouteMetadata &&value)
GrpcGatewayRouteMatch & WithServiceName(Aws::String &&value)
void SetServiceName(const char *value)
GrpcGatewayRouteMatch & WithHostname(const GatewayRouteHostnameMatch &value)
GrpcGatewayRouteMatch & WithServiceName(const Aws::String &value)
void SetMetadata(Aws::Vector< GrpcGatewayRouteMetadata > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue