AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgentIds(const Aws::Vector<Aws::String>& value) { m_agentIdsHasBeenSet = true; m_agentIds = value; }
51 inline void SetAgentIds(Aws::Vector<Aws::String>&& value) { m_agentIdsHasBeenSet = true; m_agentIds = std::move(value); }
52 inline AgentsCriteria& WithAgentIds(const Aws::Vector<Aws::String>& value) { SetAgentIds(value); return *this;}
53 inline AgentsCriteria& WithAgentIds(Aws::Vector<Aws::String>&& value) { SetAgentIds(std::move(value)); return *this;}
54 inline AgentsCriteria& AddAgentIds(const Aws::String& value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(value); return *this; }
55 inline AgentsCriteria& AddAgentIds(Aws::String&& value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(std::move(value)); return *this; }
56 inline AgentsCriteria& AddAgentIds(const char* value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_agentIds;
61 bool m_agentIdsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Connect
66} // namespace Aws
const Aws::Vector< Aws::String > & GetAgentIds() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API AgentsCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetAgentIds(const Aws::Vector< Aws::String > &value)
AgentsCriteria & AddAgentIds(const Aws::String &value)
AgentsCriteria & WithAgentIds(Aws::Vector< Aws::String > &&value)
AWS_CONNECT_API AgentsCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentsCriteria & AddAgentIds(Aws::String &&value)
void SetAgentIds(Aws::Vector< Aws::String > &&value)
AgentsCriteria & WithAgentIds(const Aws::Vector< Aws::String > &value)
AgentsCriteria & AddAgentIds(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue