AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
SearchPredefinedAttributesRequest.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/PredefinedAttributeSearchCriteria.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API SearchPredefinedAttributesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SearchPredefinedAttributes"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 template<typename InstanceIdT = Aws::String>
44 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
45 template<typename InstanceIdT = Aws::String>
46 SearchPredefinedAttributesRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 SearchPredefinedAttributesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
66 inline int GetMaxResults() const { return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline SearchPredefinedAttributesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
76 inline const PredefinedAttributeSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
77 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
78 template<typename SearchCriteriaT = PredefinedAttributeSearchCriteria>
79 void SetSearchCriteria(SearchCriteriaT&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::forward<SearchCriteriaT>(value); }
80 template<typename SearchCriteriaT = PredefinedAttributeSearchCriteria>
81 SearchPredefinedAttributesRequest& WithSearchCriteria(SearchCriteriaT&& value) { SetSearchCriteria(std::forward<SearchCriteriaT>(value)); return *this;}
83 private:
84
85 Aws::String m_instanceId;
86 bool m_instanceIdHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90
91 int m_maxResults{0};
92 bool m_maxResultsHasBeenSet = false;
93
94 PredefinedAttributeSearchCriteria m_searchCriteria;
95 bool m_searchCriteriaHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Connect
100} // 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