AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchAgentStatusesRequest.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/AgentStatusSearchFilter.h>
11#include <aws/connect/model/AgentStatusSearchCriteria.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API SearchAgentStatusesRequest();
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 "SearchAgentStatuses"; }
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 SearchAgentStatusesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline SearchAgentStatusesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline SearchAgentStatusesRequest& 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 SearchAgentStatusesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline SearchAgentStatusesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline SearchAgentStatusesRequest& 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 SearchAgentStatusesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
81 inline const AgentStatusSearchFilter& GetSearchFilter() const{ return m_searchFilter; }
82 inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; }
83 inline void SetSearchFilter(const AgentStatusSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; }
84 inline void SetSearchFilter(AgentStatusSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); }
86 inline SearchAgentStatusesRequest& WithSearchFilter(AgentStatusSearchFilter&& value) { SetSearchFilter(std::move(value)); return *this;}
88
90
93 inline const AgentStatusSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; }
94 inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; }
95 inline void SetSearchCriteria(const AgentStatusSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; }
96 inline void SetSearchCriteria(AgentStatusSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); }
100 private:
101
102 Aws::String m_instanceId;
103 bool m_instanceIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 AgentStatusSearchFilter m_searchFilter;
112 bool m_searchFilterHasBeenSet = false;
113
114 AgentStatusSearchCriteria m_searchCriteria;
115 bool m_searchCriteriaHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
void SetSearchFilter(AgentStatusSearchFilter &&value)
void SetSearchFilter(const AgentStatusSearchFilter &value)
SearchAgentStatusesRequest & WithNextToken(const char *value)
SearchAgentStatusesRequest & WithInstanceId(const Aws::String &value)
SearchAgentStatusesRequest & WithSearchFilter(const AgentStatusSearchFilter &value)
SearchAgentStatusesRequest & WithNextToken(const Aws::String &value)
SearchAgentStatusesRequest & WithMaxResults(int value)
SearchAgentStatusesRequest & WithSearchFilter(AgentStatusSearchFilter &&value)
const AgentStatusSearchCriteria & GetSearchCriteria() const
SearchAgentStatusesRequest & WithSearchCriteria(const AgentStatusSearchCriteria &value)
SearchAgentStatusesRequest & WithInstanceId(Aws::String &&value)
void SetSearchCriteria(AgentStatusSearchCriteria &&value)
void SetSearchCriteria(const AgentStatusSearchCriteria &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
SearchAgentStatusesRequest & WithSearchCriteria(AgentStatusSearchCriteria &&value)
const AgentStatusSearchFilter & GetSearchFilter() const
SearchAgentStatusesRequest & WithInstanceId(const char *value)
SearchAgentStatusesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String