AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
SearchPredefinedAttributesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/PredefinedAttributeSearchCriteria.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API SearchPredefinedAttributesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "SearchPredefinedAttributes"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
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
90 inline const PredefinedAttributeSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
91 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
92 template <typename SearchCriteriaT = PredefinedAttributeSearchCriteria>
93 void SetSearchCriteria(SearchCriteriaT&& value) {
94 m_searchCriteriaHasBeenSet = true;
95 m_searchCriteria = std::forward<SearchCriteriaT>(value);
96 }
97 template <typename SearchCriteriaT = PredefinedAttributeSearchCriteria>
99 SetSearchCriteria(std::forward<SearchCriteriaT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_instanceId;
105 bool m_instanceIdHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults{0};
111 bool m_maxResultsHasBeenSet = false;
112
113 PredefinedAttributeSearchCriteria m_searchCriteria;
114 bool m_searchCriteriaHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Connect
119} // namespace Aws
SearchPredefinedAttributesRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
SearchPredefinedAttributesRequest & WithMaxResults(int value)
SearchPredefinedAttributesRequest & WithSearchCriteria(SearchCriteriaT &&value)
SearchPredefinedAttributesRequest & WithNextToken(NextTokenT &&value)
const PredefinedAttributeSearchCriteria & GetSearchCriteria() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String