AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentInfo.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/DateTime.h>
10#include <aws/connect/model/HierarchyGroups.h>
11#include <aws/connect/model/DeviceInfo.h>
12#include <aws/connect/model/ParticipantCapabilities.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CONNECT_API AgentInfo();
40 AWS_CONNECT_API AgentInfo(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECT_API AgentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline AgentInfo& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline AgentInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline AgentInfo& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetConnectedToAgentTimestamp() const{ return m_connectedToAgentTimestamp; }
64 inline bool ConnectedToAgentTimestampHasBeenSet() const { return m_connectedToAgentTimestampHasBeenSet; }
65 inline void SetConnectedToAgentTimestamp(const Aws::Utils::DateTime& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = value; }
66 inline void SetConnectedToAgentTimestamp(Aws::Utils::DateTime&& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = std::move(value); }
70
72
75 inline int GetAgentPauseDurationInSeconds() const{ return m_agentPauseDurationInSeconds; }
76 inline bool AgentPauseDurationInSecondsHasBeenSet() const { return m_agentPauseDurationInSecondsHasBeenSet; }
77 inline void SetAgentPauseDurationInSeconds(int value) { m_agentPauseDurationInSecondsHasBeenSet = true; m_agentPauseDurationInSeconds = value; }
80
82
85 inline const HierarchyGroups& GetHierarchyGroups() const{ return m_hierarchyGroups; }
86 inline bool HierarchyGroupsHasBeenSet() const { return m_hierarchyGroupsHasBeenSet; }
87 inline void SetHierarchyGroups(const HierarchyGroups& value) { m_hierarchyGroupsHasBeenSet = true; m_hierarchyGroups = value; }
88 inline void SetHierarchyGroups(HierarchyGroups&& value) { m_hierarchyGroupsHasBeenSet = true; m_hierarchyGroups = std::move(value); }
89 inline AgentInfo& WithHierarchyGroups(const HierarchyGroups& value) { SetHierarchyGroups(value); return *this;}
90 inline AgentInfo& WithHierarchyGroups(HierarchyGroups&& value) { SetHierarchyGroups(std::move(value)); return *this;}
92
94
97 inline const DeviceInfo& GetDeviceInfo() const{ return m_deviceInfo; }
98 inline bool DeviceInfoHasBeenSet() const { return m_deviceInfoHasBeenSet; }
99 inline void SetDeviceInfo(const DeviceInfo& value) { m_deviceInfoHasBeenSet = true; m_deviceInfo = value; }
100 inline void SetDeviceInfo(DeviceInfo&& value) { m_deviceInfoHasBeenSet = true; m_deviceInfo = std::move(value); }
101 inline AgentInfo& WithDeviceInfo(const DeviceInfo& value) { SetDeviceInfo(value); return *this;}
102 inline AgentInfo& WithDeviceInfo(DeviceInfo&& value) { SetDeviceInfo(std::move(value)); return *this;}
104
106
107 inline const ParticipantCapabilities& GetCapabilities() const{ return m_capabilities; }
108 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
109 inline void SetCapabilities(const ParticipantCapabilities& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
110 inline void SetCapabilities(ParticipantCapabilities&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
111 inline AgentInfo& WithCapabilities(const ParticipantCapabilities& value) { SetCapabilities(value); return *this;}
112 inline AgentInfo& WithCapabilities(ParticipantCapabilities&& value) { SetCapabilities(std::move(value)); return *this;}
114 private:
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 Aws::Utils::DateTime m_connectedToAgentTimestamp;
120 bool m_connectedToAgentTimestampHasBeenSet = false;
121
122 int m_agentPauseDurationInSeconds;
123 bool m_agentPauseDurationInSecondsHasBeenSet = false;
124
125 HierarchyGroups m_hierarchyGroups;
126 bool m_hierarchyGroupsHasBeenSet = false;
127
128 DeviceInfo m_deviceInfo;
129 bool m_deviceInfoHasBeenSet = false;
130
131 ParticipantCapabilities m_capabilities;
132 bool m_capabilitiesHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Connect
137} // namespace Aws
void SetId(const Aws::String &value)
Definition AgentInfo.h:51
void SetId(Aws::String &&value)
Definition AgentInfo.h:52
AgentInfo & WithId(const char *value)
Definition AgentInfo.h:56
void SetCapabilities(ParticipantCapabilities &&value)
Definition AgentInfo.h:110
AgentInfo & WithId(Aws::String &&value)
Definition AgentInfo.h:55
AgentInfo & WithCapabilities(const ParticipantCapabilities &value)
Definition AgentInfo.h:111
void SetDeviceInfo(const DeviceInfo &value)
Definition AgentInfo.h:99
const Aws::Utils::DateTime & GetConnectedToAgentTimestamp() const
Definition AgentInfo.h:63
bool ConnectedToAgentTimestampHasBeenSet() const
Definition AgentInfo.h:64
AgentInfo & WithHierarchyGroups(HierarchyGroups &&value)
Definition AgentInfo.h:90
AgentInfo & WithConnectedToAgentTimestamp(Aws::Utils::DateTime &&value)
Definition AgentInfo.h:68
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool DeviceInfoHasBeenSet() const
Definition AgentInfo.h:98
const ParticipantCapabilities & GetCapabilities() const
Definition AgentInfo.h:107
void SetConnectedToAgentTimestamp(Aws::Utils::DateTime &&value)
Definition AgentInfo.h:66
const DeviceInfo & GetDeviceInfo() const
Definition AgentInfo.h:97
AWS_CONNECT_API AgentInfo(Aws::Utils::Json::JsonView jsonValue)
AgentInfo & WithCapabilities(ParticipantCapabilities &&value)
Definition AgentInfo.h:112
AgentInfo & WithDeviceInfo(const DeviceInfo &value)
Definition AgentInfo.h:101
int GetAgentPauseDurationInSeconds() const
Definition AgentInfo.h:75
void SetId(const char *value)
Definition AgentInfo.h:53
AWS_CONNECT_API AgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentInfo & WithAgentPauseDurationInSeconds(int value)
Definition AgentInfo.h:78
AgentInfo & WithDeviceInfo(DeviceInfo &&value)
Definition AgentInfo.h:102
bool CapabilitiesHasBeenSet() const
Definition AgentInfo.h:108
void SetHierarchyGroups(HierarchyGroups &&value)
Definition AgentInfo.h:88
AgentInfo & WithId(const Aws::String &value)
Definition AgentInfo.h:54
AgentInfo & WithConnectedToAgentTimestamp(const Aws::Utils::DateTime &value)
Definition AgentInfo.h:67
const Aws::String & GetId() const
Definition AgentInfo.h:49
void SetHierarchyGroups(const HierarchyGroups &value)
Definition AgentInfo.h:87
void SetCapabilities(const ParticipantCapabilities &value)
Definition AgentInfo.h:109
const HierarchyGroups & GetHierarchyGroups() const
Definition AgentInfo.h:85
void SetDeviceInfo(DeviceInfo &&value)
Definition AgentInfo.h:100
bool HierarchyGroupsHasBeenSet() const
Definition AgentInfo.h:86
void SetConnectedToAgentTimestamp(const Aws::Utils::DateTime &value)
Definition AgentInfo.h:65
AgentInfo & WithHierarchyGroups(const HierarchyGroups &value)
Definition AgentInfo.h:89
bool AgentPauseDurationInSecondsHasBeenSet() const
Definition AgentInfo.h:76
void SetAgentPauseDurationInSeconds(int value)
Definition AgentInfo.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue