AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AgentsCriteria.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CONNECT_API AgentsCriteria() = default;
39 AWS_CONNECT_API AgentsCriteria(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<Aws::String>& GetAgentIds() const { return m_agentIds; }
49 inline bool AgentIdsHasBeenSet() const { return m_agentIdsHasBeenSet; }
50 template<typename AgentIdsT = Aws::Vector<Aws::String>>
51 void SetAgentIds(AgentIdsT&& value) { m_agentIdsHasBeenSet = true; m_agentIds = std::forward<AgentIdsT>(value); }
52 template<typename AgentIdsT = Aws::Vector<Aws::String>>
53 AgentsCriteria& WithAgentIds(AgentIdsT&& value) { SetAgentIds(std::forward<AgentIdsT>(value)); return *this;}
54 template<typename AgentIdsT = Aws::String>
55 AgentsCriteria& AddAgentIds(AgentIdsT&& value) { m_agentIdsHasBeenSet = true; m_agentIds.emplace_back(std::forward<AgentIdsT>(value)); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_agentIds;
60 bool m_agentIdsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Connect
65} // namespace Aws
const Aws::Vector< Aws::String > & GetAgentIds() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API AgentsCriteria()=default
AgentsCriteria & WithAgentIds(AgentIdsT &&value)
AWS_CONNECT_API AgentsCriteria(Aws::Utils::Json::JsonView jsonValue)
AgentsCriteria & AddAgentIds(AgentIdsT &&value)
AWS_CONNECT_API AgentsCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentIds(AgentIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue