7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename ParticipantIdT = Aws::String>
45 m_participantIdHasBeenSet =
true;
46 m_participantId = std::forward<ParticipantIdT>(value);
48 template <
typename ParticipantIdT = Aws::String>
63 m_participantTypeHasBeenSet =
true;
64 m_participantType = value;
80 m_conversationAbandonHasBeenSet =
true;
81 m_conversationAbandon = value;
96 m_messagesSentHasBeenSet =
true;
97 m_messagesSent = value;
112 m_numResponsesHasBeenSet =
true;
113 m_numResponses = value;
128 m_messageLengthInCharsHasBeenSet =
true;
129 m_messageLengthInChars = value;
144 m_totalResponseTimeInMillisHasBeenSet =
true;
145 m_totalResponseTimeInMillis = value;
160 m_maxResponseTimeInMillisHasBeenSet =
true;
161 m_maxResponseTimeInMillis = value;
175 template <
typename LastMessageTimestampT = Aws::Utils::DateTime>
177 m_lastMessageTimestampHasBeenSet =
true;
178 m_lastMessageTimestamp = std::forward<LastMessageTimestampT>(value);
180 template <
typename LastMessageTimestampT = Aws::Utils::DateTime>
191 bool m_conversationAbandon{
false};
193 int m_messagesSent{0};
195 int m_numResponses{0};
197 int m_messageLengthInChars{0};
199 long long m_totalResponseTimeInMillis{0};
201 long long m_maxResponseTimeInMillis{0};
204 bool m_participantIdHasBeenSet =
false;
205 bool m_participantTypeHasBeenSet =
false;
206 bool m_conversationAbandonHasBeenSet =
false;
207 bool m_messagesSentHasBeenSet =
false;
208 bool m_numResponsesHasBeenSet =
false;
209 bool m_messageLengthInCharsHasBeenSet =
false;
210 bool m_totalResponseTimeInMillisHasBeenSet =
false;
211 bool m_maxResponseTimeInMillisHasBeenSet =
false;
212 bool m_lastMessageTimestampHasBeenSet =
false;
const Aws::String & GetParticipantId() const
ParticipantMetrics & WithTotalResponseTimeInMillis(long long value)
long long GetTotalResponseTimeInMillis() const
ParticipantMetrics & WithConversationAbandon(bool value)
int GetNumResponses() const
bool ConversationAbandonHasBeenSet() const
bool ParticipantIdHasBeenSet() const
ParticipantMetrics & WithParticipantType(ParticipantType value)
ParticipantMetrics & WithMaxResponseTimeInMillis(long long value)
void SetMessageLengthInChars(int value)
void SetParticipantType(ParticipantType value)
void SetMaxResponseTimeInMillis(long long value)
int GetMessagesSent() const
ParticipantMetrics & WithMessagesSent(int value)
const Aws::Utils::DateTime & GetLastMessageTimestamp() const
long long GetMaxResponseTimeInMillis() const
ParticipantMetrics & WithNumResponses(int value)
AWS_CONNECT_API ParticipantMetrics(Aws::Utils::Json::JsonView jsonValue)
bool GetConversationAbandon() const
ParticipantMetrics & WithParticipantId(ParticipantIdT &&value)
bool MessageLengthInCharsHasBeenSet() const
ParticipantMetrics & WithLastMessageTimestamp(LastMessageTimestampT &&value)
bool MessagesSentHasBeenSet() const
int GetMessageLengthInChars() const
AWS_CONNECT_API ParticipantMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipantMetrics & WithMessageLengthInChars(int value)
void SetNumResponses(int value)
void SetParticipantId(ParticipantIdT &&value)
AWS_CONNECT_API ParticipantMetrics()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastMessageTimestampHasBeenSet() const
void SetLastMessageTimestamp(LastMessageTimestampT &&value)
void SetConversationAbandon(bool value)
void SetTotalResponseTimeInMillis(long long value)
bool ParticipantTypeHasBeenSet() const
void SetMessagesSent(int value)
bool MaxResponseTimeInMillisHasBeenSet() const
ParticipantType GetParticipantType() const
bool NumResponsesHasBeenSet() const
bool TotalResponseTimeInMillisHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue