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/core/utils/memory/stl/AWSVector.h>
11#include <aws/workdocs/model/NotificationOptions.h>
12#include <aws/workdocs/model/SharePrincipal.h>
47 template<
typename AuthenticationTokenT = Aws::String>
48 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
49 template<
typename AuthenticationTokenT = Aws::String>
59 template<
typename ResourceIdT = Aws::String>
60 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
61 template<
typename ResourceIdT = Aws::String>
71 template<
typename PrincipalsT = Aws::Vector<SharePrincipal>>
72 void SetPrincipals(PrincipalsT&& value) { m_principalsHasBeenSet =
true; m_principals = std::forward<PrincipalsT>(value); }
73 template<
typename PrincipalsT = Aws::Vector<SharePrincipal>>
75 template<
typename PrincipalsT = SharePrincipal>
85 template<
typename NotificationOptionsT = NotificationOptions>
86 void SetNotificationOptions(NotificationOptionsT&& value) { m_notificationOptionsHasBeenSet =
true; m_notificationOptions = std::forward<NotificationOptionsT>(value); }
87 template<
typename NotificationOptionsT = NotificationOptions>
93 bool m_authenticationTokenHasBeenSet =
false;
96 bool m_resourceIdHasBeenSet =
false;
99 bool m_principalsHasBeenSet =
false;
102 bool m_notificationOptionsHasBeenSet =
false;
AWS_WORKDOCS_API AddResourcePermissionsRequest()=default
const Aws::String & GetAuthenticationToken() const
void SetNotificationOptions(NotificationOptionsT &&value)
void SetAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AddResourcePermissionsRequest & WithResourceId(ResourceIdT &&value)
AddResourcePermissionsRequest & WithNotificationOptions(NotificationOptionsT &&value)
const Aws::String & GetResourceId() const
AddResourcePermissionsRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
AddResourcePermissionsRequest & WithPrincipals(PrincipalsT &&value)
bool NotificationOptionsHasBeenSet() const
bool ResourceIdHasBeenSet() const
bool AuthenticationTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const NotificationOptions & GetNotificationOptions() const
bool PrincipalsHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPrincipals(PrincipalsT &&value)
AddResourcePermissionsRequest & AddPrincipals(PrincipalsT &&value)
const Aws::Vector< SharePrincipal > & GetPrincipals() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector