AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ContactSearchSummaryAgentInfo& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ContactSearchSummaryAgentInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ContactSearchSummaryAgentInfo& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetConnectedToAgentTimestamp() const{ return m_connectedToAgentTimestamp; }
61 inline bool ConnectedToAgentTimestampHasBeenSet() const { return m_connectedToAgentTimestampHasBeenSet; }
62 inline void SetConnectedToAgentTimestamp(const Aws::Utils::DateTime& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = value; }
63 inline void SetConnectedToAgentTimestamp(Aws::Utils::DateTime&& value) { m_connectedToAgentTimestampHasBeenSet = true; m_connectedToAgentTimestamp = std::move(value); }
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
72 Aws::Utils::DateTime m_connectedToAgentTimestamp;
73 bool m_connectedToAgentTimestampHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Connect
78} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactSearchSummaryAgentInfo & WithId(Aws::String &&value)
AWS_CONNECT_API ContactSearchSummaryAgentInfo(Aws::Utils::Json::JsonView jsonValue)
ContactSearchSummaryAgentInfo & WithConnectedToAgentTimestamp(Aws::Utils::DateTime &&value)
ContactSearchSummaryAgentInfo & WithId(const Aws::String &value)
AWS_CONNECT_API ContactSearchSummaryAgentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactSearchSummaryAgentInfo & WithId(const char *value)
ContactSearchSummaryAgentInfo & WithConnectedToAgentTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetConnectedToAgentTimestamp() const
void SetConnectedToAgentTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue