AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
SearchRoutingProfilesRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/RoutingProfileSearchFilter.h>
11#include <aws/connect/model/RoutingProfileSearchCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API SearchRoutingProfilesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "SearchRoutingProfiles"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 SearchRoutingProfilesRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template<typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<typename NextTokenT = Aws::String>
61 SearchRoutingProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
63
65
68 inline int GetMaxResults() const { return m_maxResults; }
69 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
70 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
71 inline SearchRoutingProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
73
75
78 inline const RoutingProfileSearchFilter& GetSearchFilter() const { return m_searchFilter; }
79 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
80 template<typename SearchFilterT = RoutingProfileSearchFilter>
81 void SetSearchFilter(SearchFilterT&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::forward<SearchFilterT>(value); }
82 template<typename SearchFilterT = RoutingProfileSearchFilter>
83 SearchRoutingProfilesRequest& WithSearchFilter(SearchFilterT&& value) { SetSearchFilter(std::forward<SearchFilterT>(value)); return *this;}
85
87
93 inline const RoutingProfileSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
94 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
95 template<typename SearchCriteriaT = RoutingProfileSearchCriteria>
96 void SetSearchCriteria(SearchCriteriaT&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::forward<SearchCriteriaT>(value); }
97 template<typename SearchCriteriaT = RoutingProfileSearchCriteria>
98 SearchRoutingProfilesRequest& WithSearchCriteria(SearchCriteriaT&& value) { SetSearchCriteria(std::forward<SearchCriteriaT>(value)); return *this;}
100 private:
101
102 Aws::String m_instanceId;
103 bool m_instanceIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults{0};
109 bool m_maxResultsHasBeenSet = false;
110
111 RoutingProfileSearchFilter m_searchFilter;
112 bool m_searchFilterHasBeenSet = false;
113
114 RoutingProfileSearchCriteria m_searchCriteria;
115 bool m_searchCriteriaHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
SearchRoutingProfilesRequest & WithSearchFilter(SearchFilterT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
SearchRoutingProfilesRequest & WithSearchCriteria(SearchCriteriaT &&value)
SearchRoutingProfilesRequest & WithInstanceId(InstanceIdT &&value)
const RoutingProfileSearchCriteria & GetSearchCriteria() const
SearchRoutingProfilesRequest & WithMaxResults(int value)
SearchRoutingProfilesRequest & WithNextToken(NextTokenT &&value)
const RoutingProfileSearchFilter & GetSearchFilter() const
AWS_CONNECT_API SearchRoutingProfilesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String