AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
44 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
45 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
47 inline SearchGroupProfilesRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
48 inline SearchGroupProfilesRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
50
52
55 inline const GroupSearchType& GetGroupType() const{ return m_groupType; }
56 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
57 inline void SetGroupType(const GroupSearchType& value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
58 inline void SetGroupType(GroupSearchType&& value) { m_groupTypeHasBeenSet = true; m_groupType = std::move(value); }
59 inline SearchGroupProfilesRequest& WithGroupType(const GroupSearchType& value) { SetGroupType(value); return *this;}
60 inline SearchGroupProfilesRequest& WithGroupType(GroupSearchType&& value) { SetGroupType(std::move(value)); return *this;}
62
64
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 SearchGroupProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline SearchGroupProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline SearchGroupProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline SearchGroupProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
100 inline const Aws::String& GetSearchText() const{ return m_searchText; }
101 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
102 inline void SetSearchText(const Aws::String& value) { m_searchTextHasBeenSet = true; m_searchText = value; }
103 inline void SetSearchText(Aws::String&& value) { m_searchTextHasBeenSet = true; m_searchText = std::move(value); }
104 inline void SetSearchText(const char* value) { m_searchTextHasBeenSet = true; m_searchText.assign(value); }
105 inline SearchGroupProfilesRequest& WithSearchText(const Aws::String& value) { SetSearchText(value); return *this;}
106 inline SearchGroupProfilesRequest& WithSearchText(Aws::String&& value) { SetSearchText(std::move(value)); return *this;}
107 inline SearchGroupProfilesRequest& WithSearchText(const char* value) { SetSearchText(value); return *this;}
109 private:
110
111 Aws::String m_domainIdentifier;
112 bool m_domainIdentifierHasBeenSet = false;
113
114 GroupSearchType m_groupType;
115 bool m_groupTypeHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122
123 Aws::String m_searchText;
124 bool m_searchTextHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DataZone
129} // namespace Aws
SearchGroupProfilesRequest & WithDomainIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
SearchGroupProfilesRequest & WithNextToken(Aws::String &&value)
SearchGroupProfilesRequest & WithMaxResults(int value)
SearchGroupProfilesRequest & WithSearchText(const Aws::String &value)
SearchGroupProfilesRequest & WithSearchText(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
SearchGroupProfilesRequest & WithNextToken(const Aws::String &value)
SearchGroupProfilesRequest & WithGroupType(GroupSearchType &&value)
SearchGroupProfilesRequest & WithDomainIdentifier(const char *value)
SearchGroupProfilesRequest & WithGroupType(const GroupSearchType &value)
SearchGroupProfilesRequest & WithNextToken(const char *value)
SearchGroupProfilesRequest & WithDomainIdentifier(Aws::String &&value)
SearchGroupProfilesRequest & WithSearchText(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String