AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeGroupsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace WorkDocs {
18namespace Model {
19
23 public:
24 AWS_WORKDOCS_API DescribeGroupsRequest() = default;
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 "DescribeGroups"; }
31
32 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
33
34 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
39
43 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
44 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
45 template <typename AuthenticationTokenT = Aws::String>
46 void SetAuthenticationToken(AuthenticationTokenT&& value) {
47 m_authenticationTokenHasBeenSet = true;
48 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
49 }
50 template <typename AuthenticationTokenT = Aws::String>
51 DescribeGroupsRequest& WithAuthenticationToken(AuthenticationTokenT&& value) {
52 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetSearchQuery() const { return m_searchQuery; }
62 inline bool SearchQueryHasBeenSet() const { return m_searchQueryHasBeenSet; }
63 template <typename SearchQueryT = Aws::String>
64 void SetSearchQuery(SearchQueryT&& value) {
65 m_searchQueryHasBeenSet = true;
66 m_searchQuery = std::forward<SearchQueryT>(value);
67 }
68 template <typename SearchQueryT = Aws::String>
69 DescribeGroupsRequest& WithSearchQuery(SearchQueryT&& value) {
70 SetSearchQuery(std::forward<SearchQueryT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
80 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
81 template <typename OrganizationIdT = Aws::String>
82 void SetOrganizationId(OrganizationIdT&& value) {
83 m_organizationIdHasBeenSet = true;
84 m_organizationId = std::forward<OrganizationIdT>(value);
85 }
86 template <typename OrganizationIdT = Aws::String>
87 DescribeGroupsRequest& WithOrganizationId(OrganizationIdT&& value) {
88 SetOrganizationId(std::forward<OrganizationIdT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetMarker() const { return m_marker; }
99 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
100 template <typename MarkerT = Aws::String>
101 void SetMarker(MarkerT&& value) {
102 m_markerHasBeenSet = true;
103 m_marker = std::forward<MarkerT>(value);
104 }
105 template <typename MarkerT = Aws::String>
107 SetMarker(std::forward<MarkerT>(value));
108 return *this;
109 }
111
113
116 inline int GetLimit() const { return m_limit; }
117 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
118 inline void SetLimit(int value) {
119 m_limitHasBeenSet = true;
120 m_limit = value;
121 }
122 inline DescribeGroupsRequest& WithLimit(int value) {
123 SetLimit(value);
124 return *this;
125 }
127 private:
128 Aws::String m_authenticationToken;
129
130 Aws::String m_searchQuery;
131
132 Aws::String m_organizationId;
133
134 Aws::String m_marker;
135
136 int m_limit{0};
137 bool m_authenticationTokenHasBeenSet = false;
138 bool m_searchQueryHasBeenSet = false;
139 bool m_organizationIdHasBeenSet = false;
140 bool m_markerHasBeenSet = false;
141 bool m_limitHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace WorkDocs
146} // namespace Aws
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGroupsRequest & WithLimit(int value)
DescribeGroupsRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
DescribeGroupsRequest & WithSearchQuery(SearchQueryT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WORKDOCS_API DescribeGroupsRequest()=default
DescribeGroupsRequest & WithMarker(MarkerT &&value)
virtual const char * GetServiceRequestName() const override
void SetAuthenticationToken(AuthenticationTokenT &&value)
DescribeGroupsRequest & WithOrganizationId(OrganizationIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String