AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 RealTimeContactAnalysisSegmentEvent& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline RealTimeContactAnalysisSegmentEvent& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline RealTimeContactAnalysisSegmentEvent& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
61 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
62 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
63 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
64 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
66 inline RealTimeContactAnalysisSegmentEvent& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
67 inline RealTimeContactAnalysisSegmentEvent& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
69
71
75 inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; }
76 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
77 inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
78 inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
82
84
87 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
88 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
89 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
90 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
91 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
93 inline RealTimeContactAnalysisSegmentEvent& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
94 inline RealTimeContactAnalysisSegmentEvent& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
96
98
102 inline const Aws::String& GetEventType() const{ return m_eventType; }
103 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
104 inline void SetEventType(const Aws::String& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
105 inline void SetEventType(Aws::String&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
106 inline void SetEventType(const char* value) { m_eventTypeHasBeenSet = true; m_eventType.assign(value); }
107 inline RealTimeContactAnalysisSegmentEvent& WithEventType(const Aws::String& value) { SetEventType(value); return *this;}
108 inline RealTimeContactAnalysisSegmentEvent& WithEventType(Aws::String&& value) { SetEventType(std::move(value)); return *this;}
109 inline RealTimeContactAnalysisSegmentEvent& WithEventType(const char* value) { SetEventType(value); return *this;}
111
113
117 inline const RealTimeContactAnalysisTimeData& GetTime() const{ return m_time; }
118 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
119 inline void SetTime(const RealTimeContactAnalysisTimeData& value) { m_timeHasBeenSet = true; m_time = value; }
120 inline void SetTime(RealTimeContactAnalysisTimeData&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
122 inline RealTimeContactAnalysisSegmentEvent& WithTime(RealTimeContactAnalysisTimeData&& value) { SetTime(std::move(value)); return *this;}
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_participantId;
130 bool m_participantIdHasBeenSet = false;
131
132 ParticipantRole m_participantRole;
133 bool m_participantRoleHasBeenSet = false;
134
135 Aws::String m_displayName;
136 bool m_displayNameHasBeenSet = false;
137
138 Aws::String m_eventType;
139 bool m_eventTypeHasBeenSet = false;
140
142 bool m_timeHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Connect
147} // namespace Aws
RealTimeContactAnalysisSegmentEvent & WithDisplayName(Aws::String &&value)
RealTimeContactAnalysisSegmentEvent & WithTime(const RealTimeContactAnalysisTimeData &value)
RealTimeContactAnalysisSegmentEvent & WithId(Aws::String &&value)
RealTimeContactAnalysisSegmentEvent & WithId(const char *value)
RealTimeContactAnalysisSegmentEvent & WithId(const Aws::String &value)
RealTimeContactAnalysisSegmentEvent & WithEventType(Aws::String &&value)
AWS_CONNECT_API RealTimeContactAnalysisSegmentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisSegmentEvent & WithTime(RealTimeContactAnalysisTimeData &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RealTimeContactAnalysisSegmentEvent & WithParticipantRole(const ParticipantRole &value)
RealTimeContactAnalysisSegmentEvent & WithEventType(const char *value)
AWS_CONNECT_API RealTimeContactAnalysisSegmentEvent(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisSegmentEvent & WithParticipantId(Aws::String &&value)
RealTimeContactAnalysisSegmentEvent & WithParticipantId(const Aws::String &value)
RealTimeContactAnalysisSegmentEvent & WithDisplayName(const char *value)
RealTimeContactAnalysisSegmentEvent & WithEventType(const Aws::String &value)
RealTimeContactAnalysisSegmentEvent & WithParticipantId(const char *value)
RealTimeContactAnalysisSegmentEvent & WithDisplayName(const Aws::String &value)
RealTimeContactAnalysisSegmentEvent & WithParticipantRole(ParticipantRole &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue