7#include <aws/core/utils/DateTime.h>
8#include <aws/xray/XRay_EXPORTS.h>
9#include <aws/xray/model/BackendConnectionErrors.h>
41 template <
typename TimestampT = Aws::Utils::DateTime>
43 m_timestampHasBeenSet =
true;
44 m_timestamp = std::forward<TimestampT>(value);
46 template <
typename TimestampT = Aws::Utils::DateTime>
60 m_segmentsReceivedCountHasBeenSet =
true;
61 m_segmentsReceivedCount = value;
76 m_segmentsSentCountHasBeenSet =
true;
77 m_segmentsSentCount = value;
92 m_segmentsSpilloverCountHasBeenSet =
true;
93 m_segmentsSpilloverCount = value;
108 m_segmentsRejectedCountHasBeenSet =
true;
109 m_segmentsRejectedCount = value;
123 template <
typename BackendConnectionErrorsT = BackendConnectionErrors>
125 m_backendConnectionErrorsHasBeenSet =
true;
126 m_backendConnectionErrors = std::forward<BackendConnectionErrorsT>(value);
128 template <
typename BackendConnectionErrorsT = BackendConnectionErrors>
137 int m_segmentsReceivedCount{0};
139 int m_segmentsSentCount{0};
141 int m_segmentsSpilloverCount{0};
143 int m_segmentsRejectedCount{0};
145 BackendConnectionErrors m_backendConnectionErrors;
146 bool m_timestampHasBeenSet =
false;
147 bool m_segmentsReceivedCountHasBeenSet =
false;
148 bool m_segmentsSentCountHasBeenSet =
false;
149 bool m_segmentsSpilloverCountHasBeenSet =
false;
150 bool m_segmentsRejectedCountHasBeenSet =
false;
151 bool m_backendConnectionErrorsHasBeenSet =
false;
int GetSegmentsRejectedCount() const
void SetSegmentsReceivedCount(int value)
bool SegmentsRejectedCountHasBeenSet() const
AWS_XRAY_API TelemetryRecord()=default
bool SegmentsSpilloverCountHasBeenSet() const
bool TimestampHasBeenSet() const
AWS_XRAY_API TelemetryRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSegmentsSentCount(int value)
bool SegmentsReceivedCountHasBeenSet() const
TelemetryRecord & WithSegmentsRejectedCount(int value)
TelemetryRecord & WithTimestamp(TimestampT &&value)
int GetSegmentsReceivedCount() const
int GetSegmentsSentCount() const
bool SegmentsSentCountHasBeenSet() const
TelemetryRecord & WithSegmentsSpilloverCount(int value)
bool BackendConnectionErrorsHasBeenSet() const
void SetSegmentsSpilloverCount(int value)
void SetTimestamp(TimestampT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
TelemetryRecord & WithSegmentsReceivedCount(int value)
const Aws::Utils::DateTime & GetTimestamp() const
TelemetryRecord & WithSegmentsSentCount(int value)
int GetSegmentsSpilloverCount() const
const BackendConnectionErrors & GetBackendConnectionErrors() const
void SetSegmentsRejectedCount(int value)
AWS_XRAY_API TelemetryRecord(Aws::Utils::Json::JsonView jsonValue)
TelemetryRecord & WithBackendConnectionErrors(BackendConnectionErrorsT &&value)
void SetBackendConnectionErrors(BackendConnectionErrorsT &&value)
Aws::Utils::Json::JsonValue JsonValue