7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancingv2
36 AWS_ELASTICLOADBALANCINGV2_API
Matcher() =
default;
40 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
57 template<
typename HttpCodeT = Aws::String>
58 void SetHttpCode(HttpCodeT&& value) { m_httpCodeHasBeenSet =
true; m_httpCode = std::forward<HttpCodeT>(value); }
59 template<
typename HttpCodeT = Aws::String>
71 template<
typename GrpcCodeT = Aws::String>
72 void SetGrpcCode(GrpcCodeT&& value) { m_grpcCodeHasBeenSet =
true; m_grpcCode = std::forward<GrpcCodeT>(value); }
73 template<
typename GrpcCodeT = Aws::String>
79 bool m_httpCodeHasBeenSet =
false;
82 bool m_grpcCodeHasBeenSet =
false;
Matcher & WithGrpcCode(GrpcCodeT &&value)
AWS_ELASTICLOADBALANCINGV2_API Matcher()=default
bool HttpCodeHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API Matcher & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Matcher & WithHttpCode(HttpCodeT &&value)
const Aws::String & GetGrpcCode() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetHttpCode() const
void SetGrpcCode(GrpcCodeT &&value)
AWS_ELASTICLOADBALANCINGV2_API Matcher(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHttpCode(HttpCodeT &&value)
bool GrpcCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream