7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appmesh/model/GrpcRouteMetadata.h>
66 inline void SetMethodName(
const char* value) { m_methodNameHasBeenSet =
true; m_methodName.assign(value); }
76 inline int GetPort()
const{
return m_port; }
78 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
91 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
99 bool m_metadataHasBeenSet =
false;
102 bool m_methodNameHasBeenSet =
false;
105 bool m_portHasBeenSet =
false;
108 bool m_serviceNameHasBeenSet =
false;
void SetMethodName(Aws::String &&value)
GrpcRouteMatch & AddMetadata(GrpcRouteMetadata &&value)
bool MethodNameHasBeenSet() const
bool ServiceNameHasBeenSet() const
void SetMetadata(Aws::Vector< GrpcRouteMetadata > &&value)
void SetMethodName(const char *value)
AWS_APPMESH_API GrpcRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API GrpcRouteMatch()
const Aws::String & GetMethodName() const
GrpcRouteMatch & WithMetadata(const Aws::Vector< GrpcRouteMetadata > &value)
GrpcRouteMatch & WithServiceName(const Aws::String &value)
AWS_APPMESH_API GrpcRouteMatch(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(Aws::String &&value)
void SetServiceName(const Aws::String &value)
GrpcRouteMatch & WithMetadata(Aws::Vector< GrpcRouteMetadata > &&value)
bool MetadataHasBeenSet() const
GrpcRouteMatch & WithMethodName(Aws::String &&value)
void SetServiceName(const char *value)
void SetMetadata(const Aws::Vector< GrpcRouteMetadata > &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
GrpcRouteMatch & AddMetadata(const GrpcRouteMetadata &value)
const Aws::String & GetServiceName() const
void SetMethodName(const Aws::String &value)
const Aws::Vector< GrpcRouteMetadata > & GetMetadata() const
GrpcRouteMatch & WithServiceName(Aws::String &&value)
GrpcRouteMatch & WithMethodName(const Aws::String &value)
GrpcRouteMatch & WithServiceName(const char *value)
bool PortHasBeenSet() const
GrpcRouteMatch & WithPort(int value)
GrpcRouteMatch & WithMethodName(const char *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