9struct aws_endpoints_rule_engine;
10struct aws_endpoints_request_context;
11struct aws_endpoints_resolved_endpoint;
40 operator bool() const noexcept {
return m_requestContext !=
nullptr; }
54 bool AddBoolean(
const ByteCursor &name,
bool value);
64 aws_endpoints_request_context *GetNativeHandle() const noexcept {
return m_requestContext; }
68 aws_endpoints_request_context *m_requestContext;
118 operator
bool() const noexcept {
return m_resolvedEndpoint !=
nullptr; }
124 aws_endpoints_resolved_endpoint *m_resolvedEndpoint;
147 operator bool() const noexcept {
return m_ruleEngine !=
nullptr; }
158 aws_endpoints_rule_engine *m_ruleEngine;
Definition RuleEngine.h:26
RequestContext(Allocator *allocator=ApiAllocator()) noexcept
Definition RuleEngine.cpp:18
RequestContext & operator=(const RequestContext &)=delete
RequestContext(const RequestContext &)=delete
RequestContext & operator=(RequestContext &&)=delete
RequestContext(RequestContext &&)=delete
Definition RuleEngine.h:87
ResolutionOutcome & operator=(const ResolutionOutcome &)=delete
Optional< StringView > GetError() const
Definition RuleEngine.cpp:130
Optional< StringView > GetProperties() const
Definition RuleEngine.cpp:119
bool IsError() const noexcept
Definition RuleEngine.cpp:74
ResolutionOutcome(const ResolutionOutcome &)=delete
Optional< StringView > GetUrl() const
Definition RuleEngine.cpp:79
bool IsEndpoint() const noexcept
Definition RuleEngine.cpp:69
Optional< UnorderedMap< StringView, Vector< StringView > > > GetHeaders() const
Definition RuleEngine.cpp:96
RuleEngine(const RuleEngine &)=delete
RuleEngine & operator=(const RuleEngine &)=delete
RuleEngine & operator=(RuleEngine &&)=delete
RuleEngine(RuleEngine &&)=delete
RuleEngine(const ByteCursor &rulesetCursor, const ByteCursor &partitionsCursor, Allocator *allocator=ApiAllocator()) noexcept
Definition RuleEngine.cpp:141
#define AWS_CRT_CPP_API
Definition Exports.h:36
Definition RuleEngine.h:18
Definition Allocator.h:13
aws_byte_cursor ByteCursor
Definition Types.h:31
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition Allocator.cpp:24
std::vector< T, StlAllocator< T > > Vector
Definition Types.h:53
aws_allocator Allocator
Definition Allocator.h:14
std::unordered_map< K, V, std::hash< K >, std::equal_to< K >, StlAllocator< std::pair< const K, V > > > UnorderedMap
Definition Types.h:49
string_view StringView
Definition StringView.h:856
Definition Allocator.h:11