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>
49 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
63 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
97 bool m_authenticationTokenHasBeenSet =
false;
100 bool m_resourceIdHasBeenSet =
false;
103 bool m_principalsHasBeenSet =
false;
106 bool m_notificationOptionsHasBeenSet =
false;
AddResourcePermissionsRequest & WithPrincipals(Aws::Vector< SharePrincipal > &&value)
AddResourcePermissionsRequest & AddPrincipals(SharePrincipal &&value)
const Aws::String & GetAuthenticationToken() const
AddResourcePermissionsRequest & WithNotificationOptions(const NotificationOptions &value)
void SetPrincipals(const Aws::Vector< SharePrincipal > &value)
AddResourcePermissionsRequest & AddPrincipals(const SharePrincipal &value)
void SetAuthenticationToken(const char *value)
void SetResourceId(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AWS_WORKDOCS_API AddResourcePermissionsRequest()
AddResourcePermissionsRequest & WithAuthenticationToken(const Aws::String &value)
AddResourcePermissionsRequest & WithAuthenticationToken(Aws::String &&value)
AddResourcePermissionsRequest & WithResourceId(Aws::String &&value)
void SetResourceId(Aws::String &&value)
const Aws::String & GetResourceId() const
AddResourcePermissionsRequest & WithResourceId(const char *value)
void SetNotificationOptions(NotificationOptions &&value)
AddResourcePermissionsRequest & WithNotificationOptions(NotificationOptions &&value)
bool NotificationOptionsHasBeenSet() const
bool ResourceIdHasBeenSet() const
bool AuthenticationTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetAuthenticationToken(Aws::String &&value)
const NotificationOptions & GetNotificationOptions() const
bool PrincipalsHasBeenSet() const
void SetNotificationOptions(const NotificationOptions &value)
AddResourcePermissionsRequest & WithResourceId(const Aws::String &value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddResourcePermissionsRequest & WithAuthenticationToken(const char *value)
void SetResourceId(const Aws::String &value)
AddResourcePermissionsRequest & WithPrincipals(const Aws::Vector< SharePrincipal > &value)
const Aws::Vector< SharePrincipal > & GetPrincipals() const
void SetPrincipals(Aws::Vector< SharePrincipal > &&value)
void SetAuthenticationToken(const Aws::String &value)
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