AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListGroupsRequest.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/model/ListGroupsFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkMail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKMAIL_API ListGroupsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListGroups"; }
32
33 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
43 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
44 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
45 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
46 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
47 inline ListGroupsRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
48 inline ListGroupsRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
49 inline ListGroupsRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 inline ListGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline ListGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline ListGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
71 inline int GetMaxResults() const{ return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
82 inline const ListGroupsFilters& GetFilters() const{ return m_filters; }
83 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
84 inline void SetFilters(const ListGroupsFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
85 inline void SetFilters(ListGroupsFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
86 inline ListGroupsRequest& WithFilters(const ListGroupsFilters& value) { SetFilters(value); return *this;}
87 inline ListGroupsRequest& WithFilters(ListGroupsFilters&& value) { SetFilters(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_organizationId;
92 bool m_organizationIdHasBeenSet = false;
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 ListGroupsFilters m_filters;
101 bool m_filtersHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace WorkMail
106} // namespace Aws
ListGroupsRequest & WithOrganizationId(Aws::String &&value)
ListGroupsRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKMAIL_API Aws::String SerializePayload() const override
void SetFilters(const ListGroupsFilters &value)
const Aws::String & GetOrganizationId() const
ListGroupsRequest & WithOrganizationId(const Aws::String &value)
ListGroupsRequest & WithMaxResults(int value)
void SetFilters(ListGroupsFilters &&value)
const ListGroupsFilters & GetFilters() const
void SetOrganizationId(const Aws::String &value)
void SetOrganizationId(Aws::String &&value)
ListGroupsRequest & WithOrganizationId(const char *value)
const Aws::String & GetNextToken() const
ListGroupsRequest & WithFilters(ListGroupsFilters &&value)
ListGroupsRequest & WithFilters(const ListGroupsFilters &value)
virtual const char * GetServiceRequestName() const override
ListGroupsRequest & WithNextToken(Aws::String &&value)
ListGroupsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String