AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ContactSearchSummaryAgentInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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
30 public:
31 AWS_CONNECT_API ContactSearchSummaryAgentInfo() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
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) {
62 m_connectedToAgentTimestampHasBeenSet = true;
63 m_connectedToAgentTimestamp = std::forward<ConnectedToAgentTimestampT>(value);
64 }
65 template <typename ConnectedToAgentTimestampT = Aws::Utils::DateTime>
66 ContactSearchSummaryAgentInfo& WithConnectedToAgentTimestamp(ConnectedToAgentTimestampT&& value) {
67 SetConnectedToAgentTimestamp(std::forward<ConnectedToAgentTimestampT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_id;
73
74 Aws::Utils::DateTime m_connectedToAgentTimestamp{};
75 bool m_idHasBeenSet = false;
76 bool m_connectedToAgentTimestampHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Connect
81} // 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