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>
53 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
67 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
81 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
101 bool m_authenticationTokenHasBeenSet =
false;
104 bool m_resourceIdHasBeenSet =
false;
107 bool m_principalIdHasBeenSet =
false;
110 bool m_principalTypeHasBeenSet =
false;
bool PrincipalIdHasBeenSet() const
void SetAuthenticationToken(const Aws::String &value)
RemoveResourcePermissionRequest & WithResourceId(const Aws::String &value)
void SetPrincipalId(const char *value)
virtual const char * GetServiceRequestName() const override
RemoveResourcePermissionRequest & WithAuthenticationToken(Aws::String &&value)
const Aws::String & GetPrincipalId() const
void SetPrincipalId(const Aws::String &value)
RemoveResourcePermissionRequest & WithPrincipalType(const PrincipalType &value)
RemoveResourcePermissionRequest & WithPrincipalId(const char *value)
const Aws::String & GetResourceId() const
RemoveResourcePermissionRequest & WithPrincipalType(PrincipalType &&value)
RemoveResourcePermissionRequest & WithPrincipalId(Aws::String &&value)
RemoveResourcePermissionRequest & WithResourceId(Aws::String &&value)
bool AuthenticationTokenHasBeenSet() const
void SetAuthenticationToken(Aws::String &&value)
const PrincipalType & GetPrincipalType() const
AWS_WORKDOCS_API RemoveResourcePermissionRequest()
void SetAuthenticationToken(const char *value)
bool ResourceIdHasBeenSet() const
void SetPrincipalType(PrincipalType &&value)
RemoveResourcePermissionRequest & WithAuthenticationToken(const char *value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveResourcePermissionRequest & WithAuthenticationToken(const Aws::String &value)
bool PrincipalTypeHasBeenSet() const
const Aws::String & GetAuthenticationToken() const
AWS_WORKDOCS_API Aws::String SerializePayload() const override
void SetResourceId(const char *value)
void SetPrincipalType(const PrincipalType &value)
RemoveResourcePermissionRequest & WithResourceId(const char *value)
void SetPrincipalId(Aws::String &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
RemoveResourcePermissionRequest & WithPrincipalId(const Aws::String &value)
void SetResourceId(const Aws::String &value)
void SetResourceId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String