AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchContactFlowModulesRequest.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/ContactFlowModuleSearchFilter.h>
11#include <aws/connect/model/ContactFlowModuleSearchCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
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 "SearchContactFlowModules"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline SearchContactFlowModulesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline SearchContactFlowModulesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline SearchContactFlowModulesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 inline SearchContactFlowModulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline SearchContactFlowModulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline SearchContactFlowModulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
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 SearchContactFlowModulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
81 inline const ContactFlowModuleSearchFilter& GetSearchFilter() const{ return m_searchFilter; }
82 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
83 inline void SetSearchFilter(const ContactFlowModuleSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; }
84 inline void SetSearchFilter(ContactFlowModuleSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); }
88
90
97 inline const ContactFlowModuleSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; }
98 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
99 inline void SetSearchCriteria(const ContactFlowModuleSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; }
100 inline void SetSearchCriteria(ContactFlowModuleSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); }
104 private:
105
106 Aws::String m_instanceId;
107 bool m_instanceIdHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults;
113 bool m_maxResultsHasBeenSet = false;
114
115 ContactFlowModuleSearchFilter m_searchFilter;
116 bool m_searchFilterHasBeenSet = false;
117
118 ContactFlowModuleSearchCriteria m_searchCriteria;
119 bool m_searchCriteriaHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Connect
124} // namespace Aws
SearchContactFlowModulesRequest & WithNextToken(const Aws::String &value)
void SetSearchFilter(const ContactFlowModuleSearchFilter &value)
void SetSearchFilter(ContactFlowModuleSearchFilter &&value)
SearchContactFlowModulesRequest & WithSearchFilter(const ContactFlowModuleSearchFilter &value)
const ContactFlowModuleSearchFilter & GetSearchFilter() const
SearchContactFlowModulesRequest & WithSearchCriteria(ContactFlowModuleSearchCriteria &&value)
SearchContactFlowModulesRequest & WithNextToken(Aws::String &&value)
SearchContactFlowModulesRequest & WithSearchFilter(ContactFlowModuleSearchFilter &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetSearchCriteria(ContactFlowModuleSearchCriteria &&value)
SearchContactFlowModulesRequest & WithSearchCriteria(const ContactFlowModuleSearchCriteria &value)
SearchContactFlowModulesRequest & WithNextToken(const char *value)
const ContactFlowModuleSearchCriteria & GetSearchCriteria() const
SearchContactFlowModulesRequest & WithInstanceId(const char *value)
SearchContactFlowModulesRequest & WithMaxResults(int value)
SearchContactFlowModulesRequest & WithInstanceId(Aws::String &&value)
SearchContactFlowModulesRequest & WithInstanceId(const Aws::String &value)
void SetSearchCriteria(const ContactFlowModuleSearchCriteria &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String