7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/model/Segment.h>
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
65 inline void SetDuration(
double value) { m_durationHasBeenSet =
true; m_duration = value; }
79 inline void SetLimitExceeded(
bool value) { m_limitExceededHasBeenSet =
true; m_limitExceeded = value; }
94 inline Trace&
AddSegments(
const Segment& value) { m_segmentsHasBeenSet =
true; m_segments.push_back(value);
return *
this; }
95 inline Trace&
AddSegments(
Segment&& value) { m_segmentsHasBeenSet =
true; m_segments.push_back(std::move(value));
return *
this; }
100 bool m_idHasBeenSet =
false;
103 bool m_durationHasBeenSet =
false;
105 bool m_limitExceeded;
106 bool m_limitExceededHasBeenSet =
false;
109 bool m_segmentsHasBeenSet =
false;
void SetDuration(double value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
Trace & WithId(const Aws::String &value)
AWS_XRAY_API Trace & operator=(Aws::Utils::Json::JsonView jsonValue)
Trace & WithDuration(double value)
const Aws::Vector< Segment > & GetSegments() const
Trace & WithLimitExceeded(bool value)
AWS_XRAY_API Trace(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
double GetDuration() const
void SetSegments(const Aws::Vector< Segment > &value)
Trace & AddSegments(const Segment &value)
bool DurationHasBeenSet() const
Trace & WithId(const char *value)
void SetLimitExceeded(bool value)
void SetId(const char *value)
bool IdHasBeenSet() const
Trace & WithSegments(const Aws::Vector< Segment > &value)
bool LimitExceededHasBeenSet() const
void SetSegments(Aws::Vector< Segment > &&value)
Trace & WithSegments(Aws::Vector< Segment > &&value)
Trace & WithId(Aws::String &&value)
bool SegmentsHasBeenSet() const
bool GetLimitExceeded() const
void SetId(Aws::String &&value)
Trace & AddSegments(Segment &&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