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
48 template<
typename PolicyStoreIdT = Aws::String>
49 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
50 template<
typename PolicyStoreIdT = Aws::String>
65 template<
typename IdentityTokenT = Aws::String>
66 void SetIdentityToken(IdentityTokenT&& value) { m_identityTokenHasBeenSet =
true; m_identityToken = std::forward<IdentityTokenT>(value); }
67 template<
typename IdentityTokenT = Aws::String>
82 template<
typename AccessTokenT = Aws::String>
83 void SetAccessToken(AccessTokenT&& value) { m_accessTokenHasBeenSet =
true; m_accessToken = std::forward<AccessTokenT>(value); }
84 template<
typename AccessTokenT = Aws::String>
95 template<
typename ActionT = ActionIdentifier>
96 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
97 template<
typename ActionT = ActionIdentifier>
108 template<
typename ResourceT = EntityIdentifier>
109 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
110 template<
typename ResourceT = EntityIdentifier>
121 template<
typename ContextT = ContextDefinition>
122 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
123 template<
typename ContextT = ContextDefinition>
144 template<
typename EntitiesT = EntitiesDefinition>
145 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities = std::forward<EntitiesT>(value); }
146 template<
typename EntitiesT = EntitiesDefinition>
152 bool m_policyStoreIdHasBeenSet =
false;
155 bool m_identityTokenHasBeenSet =
false;
158 bool m_accessTokenHasBeenSet =
false;
161 bool m_actionHasBeenSet =
false;
164 bool m_resourceHasBeenSet =
false;
167 bool m_contextHasBeenSet =
false;
170 bool m_entitiesHasBeenSet =
false;
IsAuthorizedWithTokenRequest & WithResource(ResourceT &&value)
bool EntitiesHasBeenSet() const
void SetAccessToken(AccessTokenT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
IsAuthorizedWithTokenRequest & WithPolicyStoreId(PolicyStoreIdT &&value)
IsAuthorizedWithTokenRequest & WithEntities(EntitiesT &&value)
bool ActionHasBeenSet() const
const Aws::String & GetAccessToken() const
IsAuthorizedWithTokenRequest & WithAccessToken(AccessTokenT &&value)
void SetIdentityToken(IdentityTokenT &&value)
IsAuthorizedWithTokenRequest & WithAction(ActionT &&value)
void SetEntities(EntitiesT &&value)
AWS_VERIFIEDPERMISSIONS_API IsAuthorizedWithTokenRequest()=default
void SetPolicyStoreId(PolicyStoreIdT &&value)
bool IdentityTokenHasBeenSet() const
IsAuthorizedWithTokenRequest & WithContext(ContextT &&value)
const Aws::String & GetIdentityToken() const
const EntityIdentifier & GetResource() const
bool PolicyStoreIdHasBeenSet() const
const ActionIdentifier & GetAction() const
IsAuthorizedWithTokenRequest & WithIdentityToken(IdentityTokenT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
const EntitiesDefinition & GetEntities() const
bool ResourceHasBeenSet() const
const Aws::String & GetPolicyStoreId() const
virtual const char * GetServiceRequestName() const override
void SetContext(ContextT &&value)
void SetResource(ResourceT &&value)
const ContextDefinition & GetContext() const
void SetAction(ActionT &&value)
bool ContextHasBeenSet() const
bool AccessTokenHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String