AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SearchDataTablesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/DataTableSearchCriteria.h>
10#include <aws/connect/model/DataTableSearchFilter.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 SearchDataTablesRequest() = 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 "SearchDataTables"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
38 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
39 template <typename InstanceIdT = Aws::String>
40 void SetInstanceId(InstanceIdT&& value) {
41 m_instanceIdHasBeenSet = true;
42 m_instanceId = std::forward<InstanceIdT>(value);
43 }
44 template <typename InstanceIdT = Aws::String>
46 SetInstanceId(std::forward<InstanceIdT>(value));
47 return *this;
48 }
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) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
74 inline int GetMaxResults() const { return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) {
77 m_maxResultsHasBeenSet = true;
78 m_maxResults = value;
79 }
81 SetMaxResults(value);
82 return *this;
83 }
85
87
91 inline const DataTableSearchFilter& GetSearchFilter() const { return m_searchFilter; }
92 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
93 template <typename SearchFilterT = DataTableSearchFilter>
94 void SetSearchFilter(SearchFilterT&& value) {
95 m_searchFilterHasBeenSet = true;
96 m_searchFilter = std::forward<SearchFilterT>(value);
97 }
98 template <typename SearchFilterT = DataTableSearchFilter>
99 SearchDataTablesRequest& WithSearchFilter(SearchFilterT&& value) {
100 SetSearchFilter(std::forward<SearchFilterT>(value));
101 return *this;
102 }
104
106
111 inline const DataTableSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
112 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
113 template <typename SearchCriteriaT = DataTableSearchCriteria>
114 void SetSearchCriteria(SearchCriteriaT&& value) {
115 m_searchCriteriaHasBeenSet = true;
116 m_searchCriteria = std::forward<SearchCriteriaT>(value);
117 }
118 template <typename SearchCriteriaT = DataTableSearchCriteria>
119 SearchDataTablesRequest& WithSearchCriteria(SearchCriteriaT&& value) {
120 SetSearchCriteria(std::forward<SearchCriteriaT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_instanceId;
126
127 Aws::String m_nextToken;
128
129 int m_maxResults{0};
130
131 DataTableSearchFilter m_searchFilter;
132
133 DataTableSearchCriteria m_searchCriteria;
134 bool m_instanceIdHasBeenSet = false;
135 bool m_nextTokenHasBeenSet = false;
136 bool m_maxResultsHasBeenSet = false;
137 bool m_searchFilterHasBeenSet = false;
138 bool m_searchCriteriaHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Connect
143} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
SearchDataTablesRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API SearchDataTablesRequest()=default
const DataTableSearchCriteria & GetSearchCriteria() const
SearchDataTablesRequest & WithMaxResults(int value)
SearchDataTablesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
const DataTableSearchFilter & GetSearchFilter() const
SearchDataTablesRequest & WithSearchCriteria(SearchCriteriaT &&value)
SearchDataTablesRequest & WithSearchFilter(SearchFilterT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String