AWS SDK for C++  1.9.123
AWS SDK for C++
RemoveAllResourcePermissionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkDocs
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "RemoveAllResourcePermissions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
42 
47  inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
48 
53  inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
54 
59  inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
60 
65  inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
66 
71  inline RemoveAllResourcePermissionsRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
72 
77  inline RemoveAllResourcePermissionsRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
78 
83  inline RemoveAllResourcePermissionsRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
84 
85 
89  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
90 
94  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
95 
99  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
100 
104  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
105 
109  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
110 
114  inline RemoveAllResourcePermissionsRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
115 
119  inline RemoveAllResourcePermissionsRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
120 
124  inline RemoveAllResourcePermissionsRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
125 
126  private:
127 
128  Aws::String m_authenticationToken;
129  bool m_authenticationTokenHasBeenSet;
130 
131  Aws::String m_resourceId;
132  bool m_resourceIdHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace WorkDocs
137 } // namespace Aws
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SetAuthenticationToken
void SetAuthenticationToken(const Aws::String &value)
Definition: RemoveAllResourcePermissionsRequest.h:53
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: RemoveAllResourcePermissionsRequest.h:104
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: RemoveAllResourcePermissionsRequest.h:89
Aws::WorkDocs::WorkDocsRequest
Definition: WorkDocsRequest.h:17
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::RemoveAllResourcePermissionsRequest
RemoveAllResourcePermissionsRequest()
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::WithAuthenticationToken
RemoveAllResourcePermissionsRequest & WithAuthenticationToken(const Aws::String &value)
Definition: RemoveAllResourcePermissionsRequest.h:71
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::WithResourceId
RemoveAllResourcePermissionsRequest & WithResourceId(Aws::String &&value)
Definition: RemoveAllResourcePermissionsRequest.h:119
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::AuthenticationTokenHasBeenSet
bool AuthenticationTokenHasBeenSet() const
Definition: RemoveAllResourcePermissionsRequest.h:47
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: RemoveAllResourcePermissionsRequest.h:94
WorkDocs_EXPORTS.h
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::GetAuthenticationToken
const Aws::String & GetAuthenticationToken() const
Definition: RemoveAllResourcePermissionsRequest.h:41
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::WithAuthenticationToken
RemoveAllResourcePermissionsRequest & WithAuthenticationToken(Aws::String &&value)
Definition: RemoveAllResourcePermissionsRequest.h:77
AWSString.h
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SetAuthenticationToken
void SetAuthenticationToken(Aws::String &&value)
Definition: RemoveAllResourcePermissionsRequest.h:59
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::WithResourceId
RemoveAllResourcePermissionsRequest & WithResourceId(const Aws::String &value)
Definition: RemoveAllResourcePermissionsRequest.h:114
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SetAuthenticationToken
void SetAuthenticationToken(const char *value)
Definition: RemoveAllResourcePermissionsRequest.h:65
AWS_WORKDOCS_API
#define AWS_WORKDOCS_API
Definition: WorkDocs_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::WithAuthenticationToken
RemoveAllResourcePermissionsRequest & WithAuthenticationToken(const char *value)
Definition: RemoveAllResourcePermissionsRequest.h:83
WorkDocsRequest.h
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::WithResourceId
RemoveAllResourcePermissionsRequest & WithResourceId(const char *value)
Definition: RemoveAllResourcePermissionsRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: RemoveAllResourcePermissionsRequest.h:99
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::SetResourceId
void SetResourceId(const char *value)
Definition: RemoveAllResourcePermissionsRequest.h:109
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveAllResourcePermissionsRequest.h:30
Aws::WorkDocs::Model::RemoveAllResourcePermissionsRequest
Definition: RemoveAllResourcePermissionsRequest.h:22