AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
SearchUserHierarchyGroupsRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/UserHierarchyGroupSearchCriteria.h>
10#include <aws/connect/model/UserHierarchyGroupSearchFilter.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Connect {
17namespace Model {
18
22 public:
23 AWS_CONNECT_API SearchUserHierarchyGroupsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "SearchUserHierarchyGroups"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 template <typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) {
61 m_nextTokenHasBeenSet = true;
62 m_nextToken = std::forward<NextTokenT>(value);
63 }
64 template <typename NextTokenT = Aws::String>
66 SetNextToken(std::forward<NextTokenT>(value));
67 return *this;
68 }
70
72
75 inline int GetMaxResults() const { return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) {
78 m_maxResultsHasBeenSet = true;
79 m_maxResults = value;
80 }
82 SetMaxResults(value);
83 return *this;
84 }
86
88
91 inline const UserHierarchyGroupSearchFilter& GetSearchFilter() const { return m_searchFilter; }
92 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
93 template <typename SearchFilterT = UserHierarchyGroupSearchFilter>
94 void SetSearchFilter(SearchFilterT&& value) {
95 m_searchFilterHasBeenSet = true;
96 m_searchFilter = std::forward<SearchFilterT>(value);
97 }
98 template <typename SearchFilterT = UserHierarchyGroupSearchFilter>
100 SetSearchFilter(std::forward<SearchFilterT>(value));
101 return *this;
102 }
104
106
109 inline const UserHierarchyGroupSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
110 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
111 template <typename SearchCriteriaT = UserHierarchyGroupSearchCriteria>
112 void SetSearchCriteria(SearchCriteriaT&& value) {
113 m_searchCriteriaHasBeenSet = true;
114 m_searchCriteria = std::forward<SearchCriteriaT>(value);
115 }
116 template <typename SearchCriteriaT = UserHierarchyGroupSearchCriteria>
118 SetSearchCriteria(std::forward<SearchCriteriaT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_instanceId;
124 bool m_instanceIdHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 int m_maxResults{0};
130 bool m_maxResultsHasBeenSet = false;
131
132 UserHierarchyGroupSearchFilter m_searchFilter;
133 bool m_searchFilterHasBeenSet = false;
134
135 UserHierarchyGroupSearchCriteria m_searchCriteria;
136 bool m_searchCriteriaHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Connect
141} // namespace Aws
AWS_CONNECT_API SearchUserHierarchyGroupsRequest()=default
SearchUserHierarchyGroupsRequest & WithInstanceId(InstanceIdT &&value)
SearchUserHierarchyGroupsRequest & WithSearchFilter(SearchFilterT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
const UserHierarchyGroupSearchCriteria & GetSearchCriteria() const
const UserHierarchyGroupSearchFilter & GetSearchFilter() const
SearchUserHierarchyGroupsRequest & WithSearchCriteria(SearchCriteriaT &&value)
SearchUserHierarchyGroupsRequest & WithMaxResults(int value)
SearchUserHierarchyGroupsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String