AWS SDK for C++

AWS SDK for C++ Version 1.11.693

Loading...
Searching...
No Matches
SearchSecurityProfilesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/SecurityProfileSearchCriteria.h>
10#include <aws/connect/model/SecurityProfilesSearchFilter.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 SearchSecurityProfilesRequest() = 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 "SearchSecurityProfiles"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
39 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 template <typename InstanceIdT = Aws::String>
42 void SetInstanceId(InstanceIdT&& value) {
43 m_instanceIdHasBeenSet = true;
44 m_instanceId = std::forward<InstanceIdT>(value);
45 }
46 template <typename InstanceIdT = Aws::String>
48 SetInstanceId(std::forward<InstanceIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
76 inline int GetMaxResults() const { return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) {
79 m_maxResultsHasBeenSet = true;
80 m_maxResults = value;
81 }
83 SetMaxResults(value);
84 return *this;
85 }
87
89
97 inline const SecurityProfileSearchCriteria& GetSearchCriteria() const { return m_searchCriteria; }
98 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
99 template <typename SearchCriteriaT = SecurityProfileSearchCriteria>
100 void SetSearchCriteria(SearchCriteriaT&& value) {
101 m_searchCriteriaHasBeenSet = true;
102 m_searchCriteria = std::forward<SearchCriteriaT>(value);
103 }
104 template <typename SearchCriteriaT = SecurityProfileSearchCriteria>
106 SetSearchCriteria(std::forward<SearchCriteriaT>(value));
107 return *this;
108 }
110
112
115 inline const SecurityProfilesSearchFilter& GetSearchFilter() const { return m_searchFilter; }
116 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
117 template <typename SearchFilterT = SecurityProfilesSearchFilter>
118 void SetSearchFilter(SearchFilterT&& value) {
119 m_searchFilterHasBeenSet = true;
120 m_searchFilter = std::forward<SearchFilterT>(value);
121 }
122 template <typename SearchFilterT = SecurityProfilesSearchFilter>
124 SetSearchFilter(std::forward<SearchFilterT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_instanceId;
130 bool m_instanceIdHasBeenSet = false;
131
132 Aws::String m_nextToken;
133 bool m_nextTokenHasBeenSet = false;
134
135 int m_maxResults{0};
136 bool m_maxResultsHasBeenSet = false;
137
138 SecurityProfileSearchCriteria m_searchCriteria;
139 bool m_searchCriteriaHasBeenSet = false;
140
141 SecurityProfilesSearchFilter m_searchFilter;
142 bool m_searchFilterHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace Connect
147} // namespace Aws
const SecurityProfilesSearchFilter & GetSearchFilter() const
SearchSecurityProfilesRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
SearchSecurityProfilesRequest & WithMaxResults(int value)
SearchSecurityProfilesRequest & WithNextToken(NextTokenT &&value)
SearchSecurityProfilesRequest & WithSearchCriteria(SearchCriteriaT &&value)
SearchSecurityProfilesRequest & WithSearchFilter(SearchFilterT &&value)
AWS_CONNECT_API SearchSecurityProfilesRequest()=default
const SecurityProfileSearchCriteria & GetSearchCriteria() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String