AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContactSearchSummaryAgentInfo.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 <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
34 {
35 public:
36 AWS_CONNECT_API ContactSearchSummaryAgentInfo() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ContactSearchSummaryAgentInfo& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetConnectedToAgentTimestamp() const { return m_connectedToAgentTimestamp; }
59 inline bool ConnectedToAgentTimestampHasBeenSet() const { return m_connectedToAgentTimestampHasBeenSet; }
60 template<typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
61 void SetConnectedToAgentTimestamp(ConnectedToAgentTimestampT&& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = std::forward<ConnectedToAgentTimestampT>(value); }
62 template<typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
63 ContactSearchSummaryAgentInfo& WithConnectedToAgentTimestamp(ConnectedToAgentTimestampT&& value) { SetConnectedToAgentTimestamp(std::forward<ConnectedToAgentTimestampT>(value)); return *this;}
65 private:
66
67 Aws::String m_id;
68 bool m_idHasBeenSet = false;
69
70 Aws::Utils::DateTime m_connectedToAgentTimestamp{};
71 bool m_connectedToAgentTimestampHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Connect
76} // namespace Aws
AWS_CONNECT_API ContactSearchSummaryAgentInfo()=default
void SetConnectedToAgentTimestamp(ConnectedToAgentTimestampT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ContactSearchSummaryAgentInfo(Aws::Utils::Json::JsonView jsonValue)
ContactSearchSummaryAgentInfo & WithId(IdT &&value)
AWS_CONNECT_API ContactSearchSummaryAgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactSearchSummaryAgentInfo & WithConnectedToAgentTimestamp(ConnectedToAgentTimestampT &&value)
const Aws::Utils::DateTime & GetConnectedToAgentTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue