7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GatewayRouteHostnameMatch.h>
9#include <aws/appmesh/model/HttpGatewayRouteHeader.h>
10#include <aws/appmesh/model/HttpMethod.h>
11#include <aws/appmesh/model/HttpPathMatch.h>
12#include <aws/appmesh/model/HttpQueryParameter.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename HeadersT = Aws::Vector<HttpGatewayRouteHeader>>
49 m_headersHasBeenSet =
true;
50 m_headers = std::forward<HeadersT>(value);
52 template <
typename HeadersT = Aws::Vector<HttpGatewayRouteHeader>>
57 template <
typename HeadersT = HttpGatewayRouteHeader>
59 m_headersHasBeenSet =
true;
60 m_headers.emplace_back(std::forward<HeadersT>(value));
71 template <
typename HostnameT = GatewayRouteHostnameMatch>
73 m_hostnameHasBeenSet =
true;
74 m_hostname = std::forward<HostnameT>(value);
76 template <
typename HostnameT = GatewayRouteHostnameMatch>
90 m_methodHasBeenSet =
true;
105 template <
typename PathT = HttpPathMatch>
107 m_pathHasBeenSet =
true;
108 m_path = std::forward<PathT>(value);
110 template <
typename PathT = HttpPathMatch>
112 SetPath(std::forward<PathT>(value));
124 m_portHasBeenSet =
true;
144 template <
typename PrefixT = Aws::String>
146 m_prefixHasBeenSet =
true;
147 m_prefix = std::forward<PrefixT>(value);
149 template <
typename PrefixT = Aws::String>
162 template <
typename QueryParametersT = Aws::Vector<HttpQueryParameter>>
164 m_queryParametersHasBeenSet =
true;
165 m_queryParameters = std::forward<QueryParametersT>(value);
167 template <
typename QueryParametersT = Aws::Vector<HttpQueryParameter>>
172 template <
typename QueryParametersT = HttpQueryParameter>
174 m_queryParametersHasBeenSet =
true;
175 m_queryParameters.emplace_back(std::forward<QueryParametersT>(value));
186 HttpPathMatch m_path;
193 bool m_headersHasBeenSet =
false;
194 bool m_hostnameHasBeenSet =
false;
195 bool m_methodHasBeenSet =
false;
196 bool m_pathHasBeenSet =
false;
197 bool m_portHasBeenSet =
false;
198 bool m_prefixHasBeenSet =
false;
199 bool m_queryParametersHasBeenSet =
false;
bool QueryParametersHasBeenSet() const
HttpGatewayRouteMatch & WithPrefix(PrefixT &&value)
HttpGatewayRouteMatch & WithQueryParameters(QueryParametersT &&value)
const Aws::String & GetPrefix() const
bool PrefixHasBeenSet() const
HttpGatewayRouteMatch & WithHeaders(HeadersT &&value)
const GatewayRouteHostnameMatch & GetHostname() const
bool PortHasBeenSet() const
void SetQueryParameters(QueryParametersT &&value)
bool PathHasBeenSet() const
void SetMethod(HttpMethod value)
AWS_APPMESH_API HttpGatewayRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(PrefixT &&value)
HttpGatewayRouteMatch & WithHostname(HostnameT &&value)
HttpGatewayRouteMatch & WithPath(PathT &&value)
const Aws::Vector< HttpGatewayRouteHeader > & GetHeaders() const
bool HeadersHasBeenSet() const
bool HostnameHasBeenSet() const
void SetPath(PathT &&value)
AWS_APPMESH_API HttpGatewayRouteMatch(Aws::Utils::Json::JsonView jsonValue)
HttpGatewayRouteMatch & AddQueryParameters(QueryParametersT &&value)
bool MethodHasBeenSet() const
void SetHostname(HostnameT &&value)
const HttpPathMatch & GetPath() const
HttpMethod GetMethod() const
void SetHeaders(HeadersT &&value)
AWS_APPMESH_API HttpGatewayRouteMatch()=default
const Aws::Vector< HttpQueryParameter > & GetQueryParameters() const
HttpGatewayRouteMatch & AddHeaders(HeadersT &&value)
HttpGatewayRouteMatch & WithPort(int value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
HttpGatewayRouteMatch & WithMethod(HttpMethod 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