7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
60 inline void SetLog(
const char* value) { m_log.assign(value); }
71 inline void SetLatency(
long long value) { m_latency = value; }
82 inline void SetPrincipalId(
const char* value) { m_principalId.assign(value); }
95 inline void SetPolicy(
const char* value) { m_policy.assign(value); }
142 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_APIGATEWAY_API TestInvokeAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetClaims(const Aws::Map< Aws::String, Aws::String > &value)
int GetClientStatus() const
TestInvokeAuthorizerResult & AddClaims(const char *key, const char *value)
TestInvokeAuthorizerResult & WithClaims(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeAuthorizerResult & AddAuthorization(const Aws::String &key, Aws::Vector< Aws::String > &&value)
TestInvokeAuthorizerResult & AddAuthorization(const char *key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetLog() const
void SetPrincipalId(const Aws::String &value)
TestInvokeAuthorizerResult & AddAuthorization(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetRequestId(Aws::String &&value)
TestInvokeAuthorizerResult & WithPrincipalId(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAuthorization() const
TestInvokeAuthorizerResult & WithPolicy(const char *value)
TestInvokeAuthorizerResult & WithPolicy(const Aws::String &value)
TestInvokeAuthorizerResult & WithAuthorization(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
TestInvokeAuthorizerResult & AddClaims(Aws::String &&key, const char *value)
TestInvokeAuthorizerResult & WithLog(const Aws::String &value)
TestInvokeAuthorizerResult & WithPrincipalId(const Aws::String &value)
void SetClaims(Aws::Map< Aws::String, Aws::String > &&value)
void SetPrincipalId(const char *value)
TestInvokeAuthorizerResult & AddClaims(Aws::String &&key, const Aws::String &value)
void SetLog(const Aws::String &value)
TestInvokeAuthorizerResult & AddClaims(Aws::String &&key, Aws::String &&value)
TestInvokeAuthorizerResult & AddAuthorization(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetPolicy(const char *value)
TestInvokeAuthorizerResult & WithLatency(long long value)
TestInvokeAuthorizerResult & WithLog(const char *value)
const Aws::String & GetRequestId() const
AWS_APIGATEWAY_API TestInvokeAuthorizerResult()
void SetAuthorization(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAuthorization(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetPrincipalId() const
void SetPrincipalId(Aws::String &&value)
TestInvokeAuthorizerResult & WithClientStatus(int value)
void SetClientStatus(int value)
TestInvokeAuthorizerResult & AddClaims(const Aws::String &key, const Aws::String &value)
TestInvokeAuthorizerResult & AddClaims(const char *key, Aws::String &&value)
TestInvokeAuthorizerResult & WithRequestId(const Aws::String &value)
TestInvokeAuthorizerResult & AddClaims(const Aws::String &key, Aws::String &&value)
TestInvokeAuthorizerResult & WithRequestId(Aws::String &&value)
TestInvokeAuthorizerResult & AddAuthorization(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetClaims() const
void SetLog(const char *value)
void SetRequestId(const char *value)
TestInvokeAuthorizerResult & WithRequestId(const char *value)
TestInvokeAuthorizerResult & WithLog(Aws::String &&value)
void SetPolicy(const Aws::String &value)
void SetLatency(long long value)
void SetRequestId(const Aws::String &value)
TestInvokeAuthorizerResult & WithPolicy(Aws::String &&value)
AWS_APIGATEWAY_API TestInvokeAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestInvokeAuthorizerResult & AddAuthorization(const char *key, Aws::Vector< Aws::String > &&value)
TestInvokeAuthorizerResult & WithClaims(Aws::Map< Aws::String, Aws::String > &&value)
long long GetLatency() const
TestInvokeAuthorizerResult & WithAuthorization(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetLog(Aws::String &&value)
void SetPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
TestInvokeAuthorizerResult & WithPrincipalId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue