7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/Segment.h>
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
64 m_durationHasBeenSet =
true;
84 m_limitExceededHasBeenSet =
true;
85 m_limitExceeded = value;
100 template <
typename SegmentsT = Aws::Vector<Segment>>
102 m_segmentsHasBeenSet =
true;
103 m_segments = std::forward<SegmentsT>(value);
105 template <
typename SegmentsT = Aws::Vector<Segment>>
110 template <
typename SegmentsT = Segment>
112 m_segmentsHasBeenSet =
true;
113 m_segments.emplace_back(std::forward<SegmentsT>(value));
120 double m_duration{0.0};
122 bool m_limitExceeded{
false};
125 bool m_idHasBeenSet =
false;
126 bool m_durationHasBeenSet =
false;
127 bool m_limitExceededHasBeenSet =
false;
128 bool m_segmentsHasBeenSet =
false;
void SetDuration(double value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSegments(SegmentsT &&value)
const Aws::String & GetId() const
AWS_XRAY_API Trace & operator=(Aws::Utils::Json::JsonView jsonValue)
Trace & WithDuration(double value)
const Aws::Vector< Segment > & GetSegments() const
Trace & WithLimitExceeded(bool value)
Trace & AddSegments(SegmentsT &&value)
AWS_XRAY_API Trace(Aws::Utils::Json::JsonView jsonValue)
double GetDuration() const
AWS_XRAY_API Trace()=default
bool DurationHasBeenSet() const
void SetLimitExceeded(bool value)
bool IdHasBeenSet() const
bool LimitExceededHasBeenSet() const
Trace & WithSegments(SegmentsT &&value)
bool SegmentsHasBeenSet() const
bool GetLimitExceeded() const
Trace & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue