AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
SearchGroupProfilesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/GroupSearchType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API SearchGroupProfilesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "SearchGroupProfiles"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline GroupSearchType GetGroupType() const { return m_groupType; }
56 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
57 inline void SetGroupType(GroupSearchType value) {
58 m_groupTypeHasBeenSet = true;
59 m_groupType = value;
60 }
62 SetGroupType(value);
63 return *this;
64 }
66
68
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
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetSearchText() const { return m_searchText; }
115 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
116 template <typename SearchTextT = Aws::String>
117 void SetSearchText(SearchTextT&& value) {
118 m_searchTextHasBeenSet = true;
119 m_searchText = std::forward<SearchTextT>(value);
120 }
121 template <typename SearchTextT = Aws::String>
123 SetSearchText(std::forward<SearchTextT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_domainIdentifier;
129 bool m_domainIdentifierHasBeenSet = false;
130
132 bool m_groupTypeHasBeenSet = false;
133
134 int m_maxResults{0};
135 bool m_maxResultsHasBeenSet = false;
136
137 Aws::String m_nextToken;
138 bool m_nextTokenHasBeenSet = false;
139
140 Aws::String m_searchText;
141 bool m_searchTextHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace DataZone
146} // namespace Aws
AWS_DATAZONE_API SearchGroupProfilesRequest()=default
virtual const char * GetServiceRequestName() const override
SearchGroupProfilesRequest & WithMaxResults(int value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
SearchGroupProfilesRequest & WithNextToken(NextTokenT &&value)
SearchGroupProfilesRequest & WithDomainIdentifier(DomainIdentifierT &&value)
SearchGroupProfilesRequest & WithSearchText(SearchTextT &&value)
SearchGroupProfilesRequest & WithGroupType(GroupSearchType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String