AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeGroupsRequest.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:
28 AWS_WORKDOCS_API DescribeGroupsRequest() = default;
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 "DescribeGroups"; }
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 template<typename AuthenticationTokenT = Aws::String>
51 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
52 template<typename AuthenticationTokenT = Aws::String>
53 DescribeGroupsRequest& WithAuthenticationToken(AuthenticationTokenT&& value) { SetAuthenticationToken(std::forward<AuthenticationTokenT>(value)); return *this;}
55
57
60 inline const Aws::String& GetSearchQuery() const { return m_searchQuery; }
61 inline bool SearchQueryHasBeenSet() const { return m_searchQueryHasBeenSet; }
62 template<typename SearchQueryT = Aws::String>
63 void SetSearchQuery(SearchQueryT&& value) { m_searchQueryHasBeenSet = true; m_searchQuery = std::forward<SearchQueryT>(value); }
64 template<typename SearchQueryT = Aws::String>
65 DescribeGroupsRequest& WithSearchQuery(SearchQueryT&& value) { SetSearchQuery(std::forward<SearchQueryT>(value)); return *this;}
67
69
72 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
73 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
74 template<typename OrganizationIdT = Aws::String>
75 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::forward<OrganizationIdT>(value); }
76 template<typename OrganizationIdT = Aws::String>
77 DescribeGroupsRequest& WithOrganizationId(OrganizationIdT&& value) { SetOrganizationId(std::forward<OrganizationIdT>(value)); return *this;}
79
81
85 inline const Aws::String& GetMarker() const { return m_marker; }
86 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
87 template<typename MarkerT = Aws::String>
88 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
89 template<typename MarkerT = Aws::String>
90 DescribeGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
92
94
97 inline int GetLimit() const { return m_limit; }
98 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
99 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
100 inline DescribeGroupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
102 private:
103
104 Aws::String m_authenticationToken;
105 bool m_authenticationTokenHasBeenSet = false;
106
107 Aws::String m_searchQuery;
108 bool m_searchQueryHasBeenSet = false;
109
110 Aws::String m_organizationId;
111 bool m_organizationIdHasBeenSet = false;
112
113 Aws::String m_marker;
114 bool m_markerHasBeenSet = false;
115
116 int m_limit{0};
117 bool m_limitHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace WorkDocs
122} // 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