AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SearchGroupProfilesRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GroupSearchType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_API SearchGroupProfilesRequest() = default;
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 "SearchGroupProfiles"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
42 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
43 template<typename DomainIdentifierT = Aws::String>
44 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
45 template<typename DomainIdentifierT = Aws::String>
46 SearchGroupProfilesRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
48
50
53 inline GroupSearchType GetGroupType() const { return m_groupType; }
54 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
55 inline void SetGroupType(GroupSearchType value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
58
60
67 inline int GetMaxResults() const { return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
70 inline SearchGroupProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
72
74
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 SearchGroupProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89
91
94 inline const Aws::String& GetSearchText() const { return m_searchText; }
95 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
96 template<typename SearchTextT = Aws::String>
97 void SetSearchText(SearchTextT&& value) { m_searchTextHasBeenSet = true; m_searchText = std::forward<SearchTextT>(value); }
98 template<typename SearchTextT = Aws::String>
99 SearchGroupProfilesRequest& WithSearchText(SearchTextT&& value) { SetSearchText(std::forward<SearchTextT>(value)); return *this;}
101 private:
102
103 Aws::String m_domainIdentifier;
104 bool m_domainIdentifierHasBeenSet = false;
105
107 bool m_groupTypeHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 Aws::String m_searchText;
116 bool m_searchTextHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace DataZone
121} // 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