AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchAgentStatusesResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/AgentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECT_API SearchAgentStatusesResult();
35
36
38
41 inline const Aws::Vector<AgentStatus>& GetAgentStatuses() const{ return m_agentStatuses; }
42 inline void SetAgentStatuses(const Aws::Vector<AgentStatus>& value) { m_agentStatuses = value; }
43 inline void SetAgentStatuses(Aws::Vector<AgentStatus>&& value) { m_agentStatuses = std::move(value); }
45 inline SearchAgentStatusesResult& WithAgentStatuses(Aws::Vector<AgentStatus>&& value) { SetAgentStatuses(std::move(value)); return *this;}
46 inline SearchAgentStatusesResult& AddAgentStatuses(const AgentStatus& value) { m_agentStatuses.push_back(value); return *this; }
47 inline SearchAgentStatusesResult& AddAgentStatuses(AgentStatus&& value) { m_agentStatuses.push_back(std::move(value)); return *this; }
49
51
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
59 inline SearchAgentStatusesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline SearchAgentStatusesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline SearchAgentStatusesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
68 inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; }
69 inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; }
70 inline SearchAgentStatusesResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline SearchAgentStatusesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline SearchAgentStatusesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline SearchAgentStatusesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::Vector<AgentStatus> m_agentStatuses;
86
87 Aws::String m_nextToken;
88
89 long long m_approximateTotalCount;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
AWS_CONNECT_API SearchAgentStatusesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAgentStatuses(const Aws::Vector< AgentStatus > &value)
SearchAgentStatusesResult & WithRequestId(const Aws::String &value)
SearchAgentStatusesResult & WithRequestId(const char *value)
SearchAgentStatusesResult & WithNextToken(const char *value)
SearchAgentStatusesResult & WithRequestId(Aws::String &&value)
SearchAgentStatusesResult & WithNextToken(const Aws::String &value)
SearchAgentStatusesResult & WithApproximateTotalCount(long long value)
void SetAgentStatuses(Aws::Vector< AgentStatus > &&value)
SearchAgentStatusesResult & WithAgentStatuses(Aws::Vector< AgentStatus > &&value)
SearchAgentStatusesResult & WithAgentStatuses(const Aws::Vector< AgentStatus > &value)
AWS_CONNECT_API SearchAgentStatusesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchAgentStatusesResult & AddAgentStatuses(AgentStatus &&value)
SearchAgentStatusesResult & AddAgentStatuses(const AgentStatus &value)
SearchAgentStatusesResult & WithNextToken(Aws::String &&value)
const Aws::Vector< AgentStatus > & GetAgentStatuses() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue