AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RealTimeContactAnalysisSegmentEvent.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ParticipantRole.h>
10#include <aws/connect/model/RealTimeContactAnalysisTimeData.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECT_API RealTimeContactAnalysisSegmentEvent() = 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 RealTimeContactAnalysisSegmentEvent& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetParticipantId() const { return m_participantId; }
59 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
60 template<typename ParticipantIdT = Aws::String>
61 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
62 template<typename ParticipantIdT = Aws::String>
63 RealTimeContactAnalysisSegmentEvent& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
65
67
71 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
72 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
73 inline void SetParticipantRole(ParticipantRole value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
76
78
81 inline const Aws::String& GetDisplayName() const { return m_displayName; }
82 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
83 template<typename DisplayNameT = Aws::String>
84 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
85 template<typename DisplayNameT = Aws::String>
86 RealTimeContactAnalysisSegmentEvent& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
88
90
94 inline const Aws::String& GetEventType() const { return m_eventType; }
95 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
96 template<typename EventTypeT = Aws::String>
97 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::forward<EventTypeT>(value); }
98 template<typename EventTypeT = Aws::String>
99 RealTimeContactAnalysisSegmentEvent& WithEventType(EventTypeT&& value) { SetEventType(std::forward<EventTypeT>(value)); return *this;}
101
103
107 inline const RealTimeContactAnalysisTimeData& GetTime() const { return m_time; }
108 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
109 template<typename TimeT = RealTimeContactAnalysisTimeData>
110 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
111 template<typename TimeT = RealTimeContactAnalysisTimeData>
112 RealTimeContactAnalysisSegmentEvent& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
114 private:
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 Aws::String m_participantId;
120 bool m_participantIdHasBeenSet = false;
121
122 ParticipantRole m_participantRole{ParticipantRole::NOT_SET};
123 bool m_participantRoleHasBeenSet = false;
124
125 Aws::String m_displayName;
126 bool m_displayNameHasBeenSet = false;
127
128 Aws::String m_eventType;
129 bool m_eventTypeHasBeenSet = false;
130
131 RealTimeContactAnalysisTimeData m_time;
132 bool m_timeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Connect
137} // namespace Aws
RealTimeContactAnalysisSegmentEvent & WithParticipantId(ParticipantIdT &&value)
RealTimeContactAnalysisSegmentEvent & WithDisplayName(DisplayNameT &&value)
AWS_CONNECT_API RealTimeContactAnalysisSegmentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisSegmentEvent & WithParticipantRole(ParticipantRole value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RealTimeContactAnalysisSegmentEvent(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisSegmentEvent & WithEventType(EventTypeT &&value)
RealTimeContactAnalysisSegmentEvent & WithTime(TimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue