7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/PathMatch.h>
11#include <aws/vpc-lattice/model/HeaderMatch.h>
67 inline void SetMethod(
const char* value) { m_methodHasBeenSet =
true; m_method.assign(value); }
87 bool m_headerMatchesHasBeenSet =
false;
90 bool m_methodHasBeenSet =
false;
93 bool m_pathMatchHasBeenSet =
false;
void SetHeaderMatches(Aws::Vector< HeaderMatch > &&value)
void SetHeaderMatches(const Aws::Vector< HeaderMatch > &value)
void SetMethod(const Aws::String &value)
HttpMatch & WithPathMatch(const PathMatch &value)
HttpMatch & WithMethod(const char *value)
AWS_VPCLATTICE_API HttpMatch(Aws::Utils::Json::JsonView jsonValue)
void SetPathMatch(PathMatch &&value)
const Aws::Vector< HeaderMatch > & GetHeaderMatches() const
AWS_VPCLATTICE_API HttpMatch()
bool HeaderMatchesHasBeenSet() const
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
HttpMatch & WithMethod(Aws::String &&value)
bool PathMatchHasBeenSet() const
HttpMatch & WithPathMatch(PathMatch &&value)
const Aws::String & GetMethod() const
HttpMatch & WithHeaderMatches(const Aws::Vector< HeaderMatch > &value)
void SetMethod(Aws::String &&value)
const PathMatch & GetPathMatch() const
bool MethodHasBeenSet() const
HttpMatch & AddHeaderMatches(const HeaderMatch &value)
HttpMatch & WithMethod(const Aws::String &value)
void SetPathMatch(const PathMatch &value)
HttpMatch & WithHeaderMatches(Aws::Vector< HeaderMatch > &&value)
HttpMatch & AddHeaderMatches(HeaderMatch &&value)
void SetMethod(const char *value)
AWS_VPCLATTICE_API HttpMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue