AWS SDK for C++

AWS SDK for C++ Version 1.11.552

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
SearchPromptsRequest.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/PromptSearchFilter.h>
11#include <aws/connect/model/PromptSearchCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API SearchPromptsRequest() = 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 "SearchPrompts"; }
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 SearchPromptsRequest& 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 SearchPromptsRequest& 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 SearchPromptsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
73
75
78 inline const PromptSearchFilter& GetSearchFilter() const { return m_searchFilter; }
79 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
80 template<typename SearchFilterT = PromptSearchFilter>
81 void SetSearchFilter(SearchFilterT&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::forward<SearchFilterT>(value); }
82 template<typename SearchFilterT = PromptSearchFilter>
83 SearchPromptsRequest& WithSearchFilter(SearchFilterT&& value) { SetSearchFilter(std::forward<SearchFilterT>(value)); return *this;}
85
87
90 inline const PromptSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
91 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
92 template<typename SearchCriteriaT = PromptSearchCriteria>
93 void SetSearchCriteria(SearchCriteriaT&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::forward<SearchCriteriaT>(value); }
94 template<typename SearchCriteriaT = PromptSearchCriteria>
95 SearchPromptsRequest& WithSearchCriteria(SearchCriteriaT&& value) { SetSearchCriteria(std::forward<SearchCriteriaT>(value)); return *this;}
97 private:
98
99 Aws::String m_instanceId;
100 bool m_instanceIdHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 int m_maxResults{0};
106 bool m_maxResultsHasBeenSet = false;
107
108 PromptSearchFilter m_searchFilter;
109 bool m_searchFilterHasBeenSet = false;
110
111 PromptSearchCriteria m_searchCriteria;
112 bool m_searchCriteriaHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Connect
117} // namespace Aws
SearchPromptsRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API SearchPromptsRequest()=default
SearchPromptsRequest & WithSearchCriteria(SearchCriteriaT &&value)
SearchPromptsRequest & WithMaxResults(int value)
SearchPromptsRequest & WithNextToken(NextTokenT &&value)
SearchPromptsRequest & WithSearchFilter(SearchFilterT &&value)
virtual const char * GetServiceRequestName() const override
const PromptSearchCriteria & GetSearchCriteria() const
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetSearchCriteria(SearchCriteriaT &&value)
const PromptSearchFilter & GetSearchFilter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String