AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AgentsCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
31 public:
32 AWS_CONNECT_API AgentsCriteria() = default;
33 AWS_CONNECT_API AgentsCriteria(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetAgentIds() const { return m_agentIds; }
42 inline bool AgentIdsHasBeenSet() const { return m_agentIdsHasBeenSet; }
43 template <typename AgentIdsT = Aws::Vector<Aws::String>>
44 void SetAgentIds(AgentIdsT&& value) {
45 m_agentIdsHasBeenSet = true;
46 m_agentIds = std::forward<AgentIdsT>(value);
47 }
48 template <typename AgentIdsT = Aws::Vector<Aws::String>>
49 AgentsCriteria& WithAgentIds(AgentIdsT&& value) {
50 SetAgentIds(std::forward<AgentIdsT>(value));
51 return *this;
52 }
53 template <typename AgentIdsT = Aws::String>
54 AgentsCriteria& AddAgentIds(AgentIdsT&& value) {
55 m_agentIdsHasBeenSet = true;
56 m_agentIds.emplace_back(std::forward<AgentIdsT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<Aws::String> m_agentIds;
62 bool m_agentIdsHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Connect
67} // 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