7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/xray/model/BackendConnectionErrors.h>
47 template<
typename TimestampT = Aws::Utils::DateTime>
48 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
49 template<
typename TimestampT = Aws::Utils::DateTime>
69 inline void SetSegmentsSentCount(
int value) { m_segmentsSentCountHasBeenSet =
true; m_segmentsSentCount = value; }
99 template<
typename BackendConnectionErrorsT = BackendConnectionErrors>
100 void SetBackendConnectionErrors(BackendConnectionErrorsT&& value) { m_backendConnectionErrorsHasBeenSet =
true; m_backendConnectionErrors = std::forward<BackendConnectionErrorsT>(value); }
101 template<
typename BackendConnectionErrorsT = BackendConnectionErrors>
107 bool m_timestampHasBeenSet =
false;
109 int m_segmentsReceivedCount{0};
110 bool m_segmentsReceivedCountHasBeenSet =
false;
112 int m_segmentsSentCount{0};
113 bool m_segmentsSentCountHasBeenSet =
false;
115 int m_segmentsSpilloverCount{0};
116 bool m_segmentsSpilloverCountHasBeenSet =
false;
118 int m_segmentsRejectedCount{0};
119 bool m_segmentsRejectedCountHasBeenSet =
false;
121 BackendConnectionErrors m_backendConnectionErrors;
122 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