7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/model/PrincipalType.h>
51 template<
typename AuthenticationTokenT = Aws::String>
52 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
53 template<
typename AuthenticationTokenT = Aws::String>
63 template<
typename ResourceIdT = Aws::String>
64 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
65 template<
typename ResourceIdT = Aws::String>
75 template<
typename PrincipalIdT = Aws::String>
76 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
77 template<
typename PrincipalIdT = Aws::String>
93 bool m_authenticationTokenHasBeenSet =
false;
96 bool m_resourceIdHasBeenSet =
false;
99 bool m_principalIdHasBeenSet =
false;
102 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