AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeResourcePermissionsRequest.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace WorkDocs
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeResourcePermissions"; }
35
36 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
37
38 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
48 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
49 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
50 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
51 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
52 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
55 inline DescribeResourcePermissionsRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
57
59
62 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
63 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
64 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
65 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
66 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
67 inline DescribeResourcePermissionsRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
68 inline DescribeResourcePermissionsRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
69 inline DescribeResourcePermissionsRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
71
73
76 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
77 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
78 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
79 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
80 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
82 inline DescribeResourcePermissionsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
83 inline DescribeResourcePermissionsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
85
87
90 inline int GetLimit() const{ return m_limit; }
91 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
92 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
93 inline DescribeResourcePermissionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
95
97
101 inline const Aws::String& GetMarker() const{ return m_marker; }
102 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
103 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
104 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
105 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
106 inline DescribeResourcePermissionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
107 inline DescribeResourcePermissionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
108 inline DescribeResourcePermissionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
110 private:
111
112 Aws::String m_authenticationToken;
113 bool m_authenticationTokenHasBeenSet = false;
114
115 Aws::String m_resourceId;
116 bool m_resourceIdHasBeenSet = false;
117
118 Aws::String m_principalId;
119 bool m_principalIdHasBeenSet = false;
120
121 int m_limit;
122 bool m_limitHasBeenSet = false;
123
124 Aws::String m_marker;
125 bool m_markerHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace WorkDocs
130} // namespace Aws
DescribeResourcePermissionsRequest & WithMarker(const char *value)
DescribeResourcePermissionsRequest & WithAuthenticationToken(const char *value)
DescribeResourcePermissionsRequest & WithResourceId(const char *value)
DescribeResourcePermissionsRequest & WithPrincipalId(const char *value)
DescribeResourcePermissionsRequest & WithPrincipalId(const Aws::String &value)
DescribeResourcePermissionsRequest & WithMarker(const Aws::String &value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeResourcePermissionsRequest & WithResourceId(Aws::String &&value)
DescribeResourcePermissionsRequest & WithAuthenticationToken(const Aws::String &value)
DescribeResourcePermissionsRequest & WithPrincipalId(Aws::String &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
DescribeResourcePermissionsRequest & WithMarker(Aws::String &&value)
DescribeResourcePermissionsRequest & WithAuthenticationToken(Aws::String &&value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeResourcePermissionsRequest & WithResourceId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String