7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/ActionIdentifier.h>
11#include <aws/verifiedpermissions/model/EntityIdentifier.h>
12#include <aws/verifiedpermissions/model/ContextDefinition.h>
13#include <aws/verifiedpermissions/model/EntitiesDefinition.h>
18namespace VerifiedPermissions
50 inline void SetPolicyStoreId(
const char* value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId.assign(value); }
69 inline void SetIdentityToken(
const char* value) { m_identityTokenHasBeenSet =
true; m_identityToken.assign(value); }
88 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
156 bool m_policyStoreIdHasBeenSet =
false;
159 bool m_identityTokenHasBeenSet =
false;
162 bool m_accessTokenHasBeenSet =
false;
165 bool m_actionHasBeenSet =
false;
168 bool m_resourceHasBeenSet =
false;
171 bool m_contextHasBeenSet =
false;
174 bool m_entitiesHasBeenSet =
false;
bool EntitiesHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAccessToken(Aws::String &&value)
IsAuthorizedWithTokenRequest & WithIdentityToken(const char *value)
IsAuthorizedWithTokenRequest & WithEntities(EntitiesDefinition &&value)
IsAuthorizedWithTokenRequest & WithIdentityToken(Aws::String &&value)
bool ActionHasBeenSet() const
IsAuthorizedWithTokenRequest & WithResource(const EntityIdentifier &value)
IsAuthorizedWithTokenRequest & WithAccessToken(const char *value)
const Aws::String & GetAccessToken() const
IsAuthorizedWithTokenRequest & WithAccessToken(Aws::String &&value)
void SetEntities(EntitiesDefinition &&value)
IsAuthorizedWithTokenRequest & WithContext(ContextDefinition &&value)
void SetContext(ContextDefinition &&value)
IsAuthorizedWithTokenRequest & WithResource(EntityIdentifier &&value)
bool IdentityTokenHasBeenSet() const
IsAuthorizedWithTokenRequest & WithAction(ActionIdentifier &&value)
IsAuthorizedWithTokenRequest & WithContext(const ContextDefinition &value)
const Aws::String & GetIdentityToken() const
const EntityIdentifier & GetResource() const
void SetEntities(const EntitiesDefinition &value)
bool PolicyStoreIdHasBeenSet() const
const ActionIdentifier & GetAction() const
void SetIdentityToken(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API IsAuthorizedWithTokenRequest()
void SetIdentityToken(const char *value)
void SetResource(const EntityIdentifier &value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
void SetResource(EntityIdentifier &&value)
void SetAccessToken(const Aws::String &value)
const EntitiesDefinition & GetEntities() const
void SetPolicyStoreId(const Aws::String &value)
bool ResourceHasBeenSet() const
void SetAction(ActionIdentifier &&value)
void SetIdentityToken(const Aws::String &value)
const Aws::String & GetPolicyStoreId() const
IsAuthorizedWithTokenRequest & WithEntities(const EntitiesDefinition &value)
virtual const char * GetServiceRequestName() const override
void SetAccessToken(const char *value)
IsAuthorizedWithTokenRequest & WithIdentityToken(const Aws::String &value)
IsAuthorizedWithTokenRequest & WithPolicyStoreId(Aws::String &&value)
void SetAction(const ActionIdentifier &value)
IsAuthorizedWithTokenRequest & WithAccessToken(const Aws::String &value)
IsAuthorizedWithTokenRequest & WithPolicyStoreId(const Aws::String &value)
IsAuthorizedWithTokenRequest & WithPolicyStoreId(const char *value)
const ContextDefinition & GetContext() const
bool ContextHasBeenSet() const
void SetPolicyStoreId(Aws::String &&value)
void SetPolicyStoreId(const char *value)
IsAuthorizedWithTokenRequest & WithAction(const ActionIdentifier &value)
bool AccessTokenHasBeenSet() const
void SetContext(const ContextDefinition &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String