7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10#include <aws/workdocs/model/PrincipalType.h>
46 template <
typename AuthenticationTokenT = Aws::String>
48 m_authenticationTokenHasBeenSet =
true;
49 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
51 template <
typename AuthenticationTokenT = Aws::String>
64 template <
typename ResourceIdT = Aws::String>
66 m_resourceIdHasBeenSet =
true;
67 m_resourceId = std::forward<ResourceIdT>(value);
69 template <
typename ResourceIdT = Aws::String>
82 template <
typename PrincipalIdT = Aws::String>
84 m_principalIdHasBeenSet =
true;
85 m_principalId = std::forward<PrincipalIdT>(value);
87 template <
typename PrincipalIdT = Aws::String>
101 m_principalTypeHasBeenSet =
true;
102 m_principalType = value;
117 bool m_authenticationTokenHasBeenSet =
false;
118 bool m_resourceIdHasBeenSet =
false;
119 bool m_principalIdHasBeenSet =
false;
120 bool m_principalTypeHasBeenSet =
false;
bool PrincipalIdHasBeenSet() const
AWS_WORKDOCS_API RemoveResourcePermissionRequest()=default
void SetResourceId(ResourceIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPrincipalId() const
const Aws::String & GetResourceId() const
void SetAuthenticationToken(AuthenticationTokenT &&value)
RemoveResourcePermissionRequest & WithResourceId(ResourceIdT &&value)
bool AuthenticationTokenHasBeenSet() const
RemoveResourcePermissionRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
RemoveResourcePermissionRequest & WithPrincipalType(PrincipalType value)
RemoveResourcePermissionRequest & WithPrincipalId(PrincipalIdT &&value)
bool ResourceIdHasBeenSet() const
PrincipalType GetPrincipalType() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PrincipalTypeHasBeenSet() const
const Aws::String & GetAuthenticationToken() const
void SetPrincipalId(PrincipalIdT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetPrincipalType(PrincipalType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String