AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
SearchContactFlowsRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/ContactFlowSearchCriteria.h>
10#include <aws/connect/model/ContactFlowSearchFilter.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 SearchContactFlowsRequest() = 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 "SearchContactFlows"; }
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 ContactFlowSearchFilter& GetSearchFilter() const { return m_searchFilter; }
92 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
93 template <typename SearchFilterT = ContactFlowSearchFilter>
94 void SetSearchFilter(SearchFilterT&& value) {
95 m_searchFilterHasBeenSet = true;
96 m_searchFilter = std::forward<SearchFilterT>(value);
97 }
98 template <typename SearchFilterT = ContactFlowSearchFilter>
100 SetSearchFilter(std::forward<SearchFilterT>(value));
101 return *this;
102 }
104
106
113 inline const ContactFlowSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
114 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
115 template <typename SearchCriteriaT = ContactFlowSearchCriteria>
116 void SetSearchCriteria(SearchCriteriaT&& value) {
117 m_searchCriteriaHasBeenSet = true;
118 m_searchCriteria = std::forward<SearchCriteriaT>(value);
119 }
120 template <typename SearchCriteriaT = ContactFlowSearchCriteria>
122 SetSearchCriteria(std::forward<SearchCriteriaT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_instanceId;
128 bool m_instanceIdHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 int m_maxResults{0};
134 bool m_maxResultsHasBeenSet = false;
135
136 ContactFlowSearchFilter m_searchFilter;
137 bool m_searchFilterHasBeenSet = false;
138
139 ContactFlowSearchCriteria m_searchCriteria;
140 bool m_searchCriteriaHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Connect
145} // namespace Aws
SearchContactFlowsRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API SearchContactFlowsRequest()=default
SearchContactFlowsRequest & WithSearchFilter(SearchFilterT &&value)
const ContactFlowSearchFilter & GetSearchFilter() const
SearchContactFlowsRequest & WithMaxResults(int value)
const ContactFlowSearchCriteria & GetSearchCriteria() const
AWS_CONNECT_API Aws::String SerializePayload() const override
SearchContactFlowsRequest & WithNextToken(NextTokenT &&value)
SearchContactFlowsRequest & WithSearchCriteria(SearchCriteriaT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String