7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appmesh/model/HttpMethod.h>
10#include <aws/appmesh/model/HttpPathMatch.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/appmesh/model/HttpScheme.h>
13#include <aws/appmesh/model/HttpRouteHeader.h>
14#include <aws/appmesh/model/HttpQueryParameter.h>
89 inline int GetPort()
const{
return m_port; }
91 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
108 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
143 bool m_headersHasBeenSet =
false;
146 bool m_methodHasBeenSet =
false;
149 bool m_pathHasBeenSet =
false;
152 bool m_portHasBeenSet =
false;
155 bool m_prefixHasBeenSet =
false;
158 bool m_queryParametersHasBeenSet =
false;
161 bool m_schemeHasBeenSet =
false;
bool PrefixHasBeenSet() const
void SetPrefix(const Aws::String &value)
HttpRouteMatch & WithMethod(const HttpMethod &value)
HttpRouteMatch & AddQueryParameters(HttpQueryParameter &&value)
void SetPath(const HttpPathMatch &value)
const HttpMethod & GetMethod() const
HttpRouteMatch & WithHeaders(const Aws::Vector< HttpRouteHeader > &value)
void SetScheme(HttpScheme &&value)
void SetMethod(const HttpMethod &value)
bool MethodHasBeenSet() const
void SetScheme(const HttpScheme &value)
HttpRouteMatch & WithQueryParameters(Aws::Vector< HttpQueryParameter > &&value)
bool HeadersHasBeenSet() const
HttpRouteMatch & WithHeaders(Aws::Vector< HttpRouteHeader > &&value)
bool SchemeHasBeenSet() const
const HttpPathMatch & GetPath() const
const Aws::Vector< HttpQueryParameter > & GetQueryParameters() const
HttpRouteMatch & AddHeaders(HttpRouteHeader &&value)
AWS_APPMESH_API HttpRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpRouteMatch & WithPath(HttpPathMatch &&value)
HttpRouteMatch & WithPrefix(const Aws::String &value)
const HttpScheme & GetScheme() const
const Aws::Vector< HttpRouteHeader > & GetHeaders() const
HttpRouteMatch & AddHeaders(const HttpRouteHeader &value)
bool PortHasBeenSet() const
const Aws::String & GetPrefix() const
void SetPath(HttpPathMatch &&value)
HttpRouteMatch & WithMethod(HttpMethod &&value)
HttpRouteMatch & WithScheme(const HttpScheme &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrefix(const char *value)
HttpRouteMatch & WithQueryParameters(const Aws::Vector< HttpQueryParameter > &value)
HttpRouteMatch & WithPath(const HttpPathMatch &value)
AWS_APPMESH_API HttpRouteMatch(Aws::Utils::Json::JsonView jsonValue)
void SetHeaders(Aws::Vector< HttpRouteHeader > &&value)
HttpRouteMatch & WithPrefix(const char *value)
HttpRouteMatch & WithScheme(HttpScheme &&value)
AWS_APPMESH_API HttpRouteMatch()
HttpRouteMatch & WithPrefix(Aws::String &&value)
void SetPrefix(Aws::String &&value)
bool PathHasBeenSet() const
void SetMethod(HttpMethod &&value)
void SetQueryParameters(const Aws::Vector< HttpQueryParameter > &value)
HttpRouteMatch & WithPort(int value)
void SetHeaders(const Aws::Vector< HttpRouteHeader > &value)
void SetQueryParameters(Aws::Vector< HttpQueryParameter > &&value)
bool QueryParametersHasBeenSet() const
HttpRouteMatch & AddQueryParameters(const HttpQueryParameter &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