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 {
50 template <
typename PolicyStoreIdT = Aws::String>
52 m_policyStoreIdHasBeenSet =
true;
53 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
55 template <
typename PolicyStoreIdT = Aws::String>
69 template <
typename PrincipalT = EntityIdentifier>
71 m_principalHasBeenSet =
true;
72 m_principal = std::forward<PrincipalT>(value);
74 template <
typename PrincipalT = EntityIdentifier>
88 template <
typename ActionT = ActionIdentifier>
90 m_actionHasBeenSet =
true;
91 m_action = std::forward<ActionT>(value);
93 template <
typename ActionT = ActionIdentifier>
107 template <
typename ResourceT = EntityIdentifier>
109 m_resourceHasBeenSet =
true;
110 m_resource = std::forward<ResourceT>(value);
112 template <
typename ResourceT = EntityIdentifier>
126 template <
typename ContextT = ContextDefinition>
128 m_contextHasBeenSet =
true;
129 m_context = std::forward<ContextT>(value);
131 template <
typename ContextT = ContextDefinition>
150 template <
typename EntitiesT = EntitiesDefinition>
152 m_entitiesHasBeenSet =
true;
153 m_entities = std::forward<EntitiesT>(value);
155 template <
typename EntitiesT = EntitiesDefinition>
173 bool m_policyStoreIdHasBeenSet =
false;
174 bool m_principalHasBeenSet =
false;
175 bool m_actionHasBeenSet =
false;
176 bool m_resourceHasBeenSet =
false;
177 bool m_contextHasBeenSet =
false;
178 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