7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ParticipantType.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename ParticipantIdT = Aws::String>
50 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet =
true; m_participantId = std::forward<ParticipantIdT>(value); }
51 template<
typename ParticipantIdT = Aws::String>
73 inline void SetConversationAbandon(
bool value) { m_conversationAbandonHasBeenSet =
true; m_conversationAbandon = value; }
83 inline void SetMessagesSent(
int value) { m_messagesSentHasBeenSet =
true; m_messagesSent = value; }
93 inline void SetNumResponses(
int value) { m_numResponsesHasBeenSet =
true; m_numResponses = value; }
133 template<
typename LastMessageTimestampT = Aws::Utils::DateTime>
134 void SetLastMessageTimestamp(LastMessageTimestampT&& value) { m_lastMessageTimestampHasBeenSet =
true; m_lastMessageTimestamp = std::forward<LastMessageTimestampT>(value); }
135 template<
typename LastMessageTimestampT = Aws::Utils::DateTime>
141 bool m_participantIdHasBeenSet =
false;
144 bool m_participantTypeHasBeenSet =
false;
146 bool m_conversationAbandon{
false};
147 bool m_conversationAbandonHasBeenSet =
false;
149 int m_messagesSent{0};
150 bool m_messagesSentHasBeenSet =
false;
152 int m_numResponses{0};
153 bool m_numResponsesHasBeenSet =
false;
155 int m_messageLengthInChars{0};
156 bool m_messageLengthInCharsHasBeenSet =
false;
158 long long m_totalResponseTimeInMillis{0};
159 bool m_totalResponseTimeInMillisHasBeenSet =
false;
161 long long m_maxResponseTimeInMillis{0};
162 bool m_maxResponseTimeInMillisHasBeenSet =
false;
165 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