7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/HttpMethod.h>
9#include <aws/appmesh/model/HttpPathMatch.h>
10#include <aws/appmesh/model/HttpQueryParameter.h>
11#include <aws/appmesh/model/HttpRouteHeader.h>
12#include <aws/appmesh/model/HttpScheme.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<HttpRouteHeader>>
49 m_headersHasBeenSet =
true;
50 m_headers = std::forward<HeadersT>(value);
52 template <
typename HeadersT = Aws::Vector<HttpRouteHeader>>
57 template <
typename HeadersT = HttpRouteHeader>
59 m_headersHasBeenSet =
true;
60 m_headers.emplace_back(std::forward<HeadersT>(value));
72 m_methodHasBeenSet =
true;
87 template <
typename PathT = HttpPathMatch>
89 m_pathHasBeenSet =
true;
90 m_path = std::forward<PathT>(value);
92 template <
typename PathT = HttpPathMatch>
94 SetPath(std::forward<PathT>(value));
106 m_portHasBeenSet =
true;
126 template <
typename PrefixT = Aws::String>
128 m_prefixHasBeenSet =
true;
129 m_prefix = std::forward<PrefixT>(value);
131 template <
typename PrefixT = Aws::String>
144 template <
typename QueryParametersT = Aws::Vector<HttpQueryParameter>>
146 m_queryParametersHasBeenSet =
true;
147 m_queryParameters = std::forward<QueryParametersT>(value);
149 template <
typename QueryParametersT = Aws::Vector<HttpQueryParameter>>
154 template <
typename QueryParametersT = HttpQueryParameter>
156 m_queryParametersHasBeenSet =
true;
157 m_queryParameters.emplace_back(std::forward<QueryParametersT>(value));
170 m_schemeHasBeenSet =
true;
183 HttpPathMatch m_path;
192 bool m_headersHasBeenSet =
false;
193 bool m_methodHasBeenSet =
false;
194 bool m_pathHasBeenSet =
false;
195 bool m_portHasBeenSet =
false;
196 bool m_prefixHasBeenSet =
false;
197 bool m_queryParametersHasBeenSet =
false;
198 bool m_schemeHasBeenSet =
false;
bool PrefixHasBeenSet() const
HttpRouteMatch & AddQueryParameters(QueryParametersT &&value)
void SetHeaders(HeadersT &&value)
HttpRouteMatch & WithScheme(HttpScheme value)
HttpRouteMatch & WithHeaders(HeadersT &&value)
bool MethodHasBeenSet() const
bool HeadersHasBeenSet() const
bool SchemeHasBeenSet() const
HttpMethod GetMethod() const
const HttpPathMatch & GetPath() const
void SetScheme(HttpScheme value)
const Aws::Vector< HttpQueryParameter > & GetQueryParameters() const
void SetPath(PathT &&value)
AWS_APPMESH_API HttpRouteMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(PrefixT &&value)
const Aws::Vector< HttpRouteHeader > & GetHeaders() const
HttpRouteMatch & WithPath(PathT &&value)
AWS_APPMESH_API HttpRouteMatch()=default
HttpRouteMatch & WithQueryParameters(QueryParametersT &&value)
bool PortHasBeenSet() const
const Aws::String & GetPrefix() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
HttpRouteMatch & WithPrefix(PrefixT &&value)
AWS_APPMESH_API HttpRouteMatch(Aws::Utils::Json::JsonView jsonValue)
HttpScheme GetScheme() const
bool PathHasBeenSet() const
HttpRouteMatch & WithMethod(HttpMethod value)
HttpRouteMatch & WithPort(int value)
HttpRouteMatch & AddHeaders(HeadersT &&value)
void SetMethod(HttpMethod value)
bool QueryParametersHasBeenSet() const
void SetQueryParameters(QueryParametersT &&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