7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
10#include <aws/verifiedpermissions/model/ActionIdentifier.h>
11#include <aws/verifiedpermissions/model/ContextDefinition.h>
12#include <aws/verifiedpermissions/model/EntitiesDefinition.h>
13#include <aws/verifiedpermissions/model/EntityIdentifier.h>
18namespace VerifiedPermissions {
44 template <
typename PolicyStoreIdT = Aws::String>
46 m_policyStoreIdHasBeenSet =
true;
47 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
49 template <
typename PolicyStoreIdT = Aws::String>
63 template <
typename PrincipalT = EntityIdentifier>
65 m_principalHasBeenSet =
true;
66 m_principal = std::forward<PrincipalT>(value);
68 template <
typename PrincipalT = EntityIdentifier>
82 template <
typename ActionT = ActionIdentifier>
84 m_actionHasBeenSet =
true;
85 m_action = std::forward<ActionT>(value);
87 template <
typename ActionT = ActionIdentifier>
101 template <
typename ResourceT = EntityIdentifier>
103 m_resourceHasBeenSet =
true;
104 m_resource = std::forward<ResourceT>(value);
106 template <
typename ResourceT = EntityIdentifier>
120 template <
typename ContextT = ContextDefinition>
122 m_contextHasBeenSet =
true;
123 m_context = std::forward<ContextT>(value);
125 template <
typename ContextT = ContextDefinition>
144 template <
typename EntitiesT = EntitiesDefinition>
146 m_entitiesHasBeenSet =
true;
147 m_entities = std::forward<EntitiesT>(value);
149 template <
typename EntitiesT = EntitiesDefinition>
167 bool m_policyStoreIdHasBeenSet =
false;
168 bool m_principalHasBeenSet =
false;
169 bool m_actionHasBeenSet =
false;
170 bool m_resourceHasBeenSet =
false;
171 bool m_contextHasBeenSet =
false;
172 bool m_entitiesHasBeenSet =
false;
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ActionIdentifier & GetAction() const
IsAuthorizedRequest & WithContext(ContextT &&value)
const ContextDefinition & GetContext() const
bool PolicyStoreIdHasBeenSet() const
void SetEntities(EntitiesT &&value)
void SetResource(ResourceT &&value)
void SetAction(ActionT &&value)
IsAuthorizedRequest & WithResource(ResourceT &&value)
bool ResourceHasBeenSet() const
bool PrincipalHasBeenSet() const
bool ActionHasBeenSet() const
const EntityIdentifier & GetPrincipal() const
AWS_VERIFIEDPERMISSIONS_API IsAuthorizedRequest()=default
const EntityIdentifier & GetResource() const
void SetContext(ContextT &&value)
IsAuthorizedRequest & WithAction(ActionT &&value)
virtual const char * GetServiceRequestName() const override
void SetPrincipal(PrincipalT &&value)
const EntitiesDefinition & GetEntities() const
void SetPolicyStoreId(PolicyStoreIdT &&value)
bool EntitiesHasBeenSet() const
const Aws::String & GetPolicyStoreId() const
IsAuthorizedRequest & WithPrincipal(PrincipalT &&value)
bool ContextHasBeenSet() const
IsAuthorizedRequest & WithEntities(EntitiesT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
IsAuthorizedRequest & WithPolicyStoreId(PolicyStoreIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String