7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/Decision.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/verifiedpermissions/model/EntityIdentifier.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/verifiedpermissions/model/DeterminingPolicyItem.h>
13#include <aws/verifiedpermissions/model/EvaluationErrorItem.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace VerifiedPermissions
101 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetRequestId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API IsAuthorizedWithTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IsAuthorizedWithTokenResult & WithRequestId(const char *value)
IsAuthorizedWithTokenResult & AddDeterminingPolicies(const DeterminingPolicyItem &value)
AWS_VERIFIEDPERMISSIONS_API IsAuthorizedWithTokenResult()
IsAuthorizedWithTokenResult & AddErrors(EvaluationErrorItem &&value)
void SetErrors(const Aws::Vector< EvaluationErrorItem > &value)
IsAuthorizedWithTokenResult & AddErrors(const EvaluationErrorItem &value)
const Aws::String & GetRequestId() const
void SetDeterminingPolicies(const Aws::Vector< DeterminingPolicyItem > &value)
const Aws::Vector< DeterminingPolicyItem > & GetDeterminingPolicies() const
void SetDecision(Decision &&value)
const Aws::Vector< EvaluationErrorItem > & GetErrors() const
IsAuthorizedWithTokenResult & WithDeterminingPolicies(Aws::Vector< DeterminingPolicyItem > &&value)
IsAuthorizedWithTokenResult & WithErrors(const Aws::Vector< EvaluationErrorItem > &value)
IsAuthorizedWithTokenResult & WithRequestId(Aws::String &&value)
void SetDeterminingPolicies(Aws::Vector< DeterminingPolicyItem > &&value)
void SetRequestId(const char *value)
void SetRequestId(Aws::String &&value)
const EntityIdentifier & GetPrincipal() const
AWS_VERIFIEDPERMISSIONS_API IsAuthorizedWithTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IsAuthorizedWithTokenResult & WithDecision(Decision &&value)
IsAuthorizedWithTokenResult & WithDeterminingPolicies(const Aws::Vector< DeterminingPolicyItem > &value)
void SetErrors(Aws::Vector< EvaluationErrorItem > &&value)
void SetDecision(const Decision &value)
IsAuthorizedWithTokenResult & AddDeterminingPolicies(DeterminingPolicyItem &&value)
IsAuthorizedWithTokenResult & WithPrincipal(EntityIdentifier &&value)
IsAuthorizedWithTokenResult & WithErrors(Aws::Vector< EvaluationErrorItem > &&value)
void SetPrincipal(const EntityIdentifier &value)
IsAuthorizedWithTokenResult & WithPrincipal(const EntityIdentifier &value)
IsAuthorizedWithTokenResult & WithRequestId(const Aws::String &value)
IsAuthorizedWithTokenResult & WithDecision(const Decision &value)
void SetPrincipal(EntityIdentifier &&value)
const Decision & GetDecision() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue