7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appmesh/model/GatewayRouteHostnameMatch.h>
10#include <aws/appmesh/model/HttpMethod.h>
11#include <aws/appmesh/model/HttpPathMatch.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/appmesh/model/HttpGatewayRouteHeader.h>
14#include <aws/appmesh/model/HttpQueryParameter.h>
103 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
120 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
142 bool m_headersHasBeenSet =
false;
145 bool m_hostnameHasBeenSet =
false;
148 bool m_methodHasBeenSet =
false;
151 bool m_pathHasBeenSet =
false;
154 bool m_portHasBeenSet =
false;
157 bool m_prefixHasBeenSet =
false;
160 bool m_queryParametersHasBeenSet =
false;
void SetQueryParameters(const Aws::Vector< HttpQueryParameter > &value)
HttpGatewayRouteMatch & WithMethod(HttpMethod &&value)
bool QueryParametersHasBeenSet() const
void SetHostname(GatewayRouteHostnameMatch &&value)
const Aws::String & GetPrefix() const
HttpGatewayRouteMatch & WithHostname(GatewayRouteHostnameMatch &&value)
HttpGatewayRouteMatch & WithQueryParameters(const Aws::Vector< HttpQueryParameter > &value)
bool PrefixHasBeenSet() const
const GatewayRouteHostnameMatch & GetHostname() const
bool PortHasBeenSet() const
HttpGatewayRouteMatch & AddQueryParameters(HttpQueryParameter &&value)
HttpGatewayRouteMatch & WithPrefix(Aws::String &&value)
HttpGatewayRouteMatch & WithHeaders(Aws::Vector< HttpGatewayRouteHeader > &&value)
void SetMethod(HttpMethod &&value)
bool PathHasBeenSet() const
void SetMethod(const HttpMethod &value)
void SetPrefix(const Aws::String &value)
HttpGatewayRouteMatch & WithQueryParameters(Aws::Vector< HttpQueryParameter > &&value)
AWS_APPMESH_API HttpGatewayRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPath(HttpPathMatch &&value)
void SetQueryParameters(Aws::Vector< HttpQueryParameter > &&value)
HttpGatewayRouteMatch & AddQueryParameters(const HttpQueryParameter &value)
const Aws::Vector< HttpGatewayRouteHeader > & GetHeaders() const
HttpGatewayRouteMatch & WithMethod(const HttpMethod &value)
HttpGatewayRouteMatch & WithHostname(const GatewayRouteHostnameMatch &value)
bool HeadersHasBeenSet() const
bool HostnameHasBeenSet() const
const HttpMethod & GetMethod() const
HttpGatewayRouteMatch & WithPath(const HttpPathMatch &value)
HttpGatewayRouteMatch & WithPath(HttpPathMatch &&value)
AWS_APPMESH_API HttpGatewayRouteMatch()
HttpGatewayRouteMatch & WithHeaders(const Aws::Vector< HttpGatewayRouteHeader > &value)
AWS_APPMESH_API HttpGatewayRouteMatch(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(const char *value)
bool MethodHasBeenSet() const
HttpGatewayRouteMatch & AddHeaders(const HttpGatewayRouteHeader &value)
void SetPrefix(Aws::String &&value)
void SetHeaders(const Aws::Vector< HttpGatewayRouteHeader > &value)
const HttpPathMatch & GetPath() const
void SetPath(const HttpPathMatch &value)
HttpGatewayRouteMatch & WithPrefix(const char *value)
HttpGatewayRouteMatch & AddHeaders(HttpGatewayRouteHeader &&value)
HttpGatewayRouteMatch & WithPrefix(const Aws::String &value)
const Aws::Vector< HttpQueryParameter > & GetQueryParameters() const
void SetHostname(const GatewayRouteHostnameMatch &value)
void SetHeaders(Aws::Vector< HttpGatewayRouteHeader > &&value)
HttpGatewayRouteMatch & WithPort(int value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue