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/Span.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
63 m_durationHasBeenSet =
true;
78 template <
typename SpansT = Aws::Vector<Span>>
80 m_spansHasBeenSet =
true;
81 m_spans = std::forward<SpansT>(value);
83 template <
typename SpansT = Aws::Vector<Span>>
85 SetSpans(std::forward<SpansT>(value));
88 template <
typename SpansT = Span>
90 m_spansHasBeenSet =
true;
91 m_spans.emplace_back(std::forward<SpansT>(value));
98 double m_duration{0.0};
101 bool m_idHasBeenSet =
false;
102 bool m_durationHasBeenSet =
false;
103 bool m_spansHasBeenSet =
false;
RetrievedTrace & WithDuration(double value)
RetrievedTrace & WithId(IdT &&value)
bool DurationHasBeenSet() const
double GetDuration() const
bool IdHasBeenSet() const
void SetSpans(SpansT &&value)
AWS_XRAY_API RetrievedTrace()=default
const Aws::String & GetId() const
const Aws::Vector< Span > & GetSpans() const
void SetDuration(double value)
RetrievedTrace & AddSpans(SpansT &&value)
bool SpansHasBeenSet() const
RetrievedTrace & WithSpans(SpansT &&value)
AWS_XRAY_API RetrievedTrace(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API RetrievedTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue