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/core/utils/DateTime.h>
11#include <aws/xray/model/ServiceStatistics.h>
12#include <aws/xray/model/Edge.h>
13#include <aws/xray/model/HistogramEntry.h>
53 inline void SetReferenceId(
int value) { m_referenceIdHasBeenSet =
true; m_referenceId = value; }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline Service&
AddNames(
const char* value) { m_namesHasBeenSet =
true; m_names.push_back(value);
return *
this; }
90 inline bool GetRoot()
const{
return m_root; }
92 inline void SetRoot(
bool value) { m_rootHasBeenSet =
true; m_root = value; }
104 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
127 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
141 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
181 inline Service&
AddEdges(
const Edge& value) { m_edgesHasBeenSet =
true; m_edges.push_back(value);
return *
this; }
182 inline Service&
AddEdges(
Edge&& value) { m_edgesHasBeenSet =
true; m_edges.push_back(std::move(value));
return *
this; }
227 bool m_referenceIdHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
233 bool m_namesHasBeenSet =
false;
236 bool m_rootHasBeenSet =
false;
239 bool m_accountIdHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
245 bool m_stateHasBeenSet =
false;
248 bool m_startTimeHasBeenSet =
false;
251 bool m_endTimeHasBeenSet =
false;
254 bool m_edgesHasBeenSet =
false;
257 bool m_summaryStatisticsHasBeenSet =
false;
260 bool m_durationHistogramHasBeenSet =
false;
263 bool m_responseTimeHistogramHasBeenSet =
false;
Service & AddNames(Aws::String &&value)
void SetDurationHistogram(const Aws::Vector< HistogramEntry > &value)
Service & WithReferenceId(int value)
Service & AddResponseTimeHistogram(const HistogramEntry &value)
Service & WithEdges(const Aws::Vector< Edge > &value)
Service & AddNames(const char *value)
void SetEdges(Aws::Vector< Edge > &&value)
bool EndTimeHasBeenSet() const
void SetAccountId(const Aws::String &value)
AWS_XRAY_API Service(Aws::Utils::Json::JsonView jsonValue)
void SetSummaryStatistics(ServiceStatistics &&value)
bool DurationHistogramHasBeenSet() const
const Aws::Vector< HistogramEntry > & GetResponseTimeHistogram() const
void SetName(Aws::String &&value)
Service & AddEdges(Edge &&value)
void SetAccountId(const char *value)
const Aws::String & GetType() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
Service & WithType(const char *value)
Service & WithName(Aws::String &&value)
Service & WithSummaryStatistics(const ServiceStatistics &value)
const ServiceStatistics & GetSummaryStatistics() const
Service & WithType(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetState(const Aws::String &value)
Service & WithDurationHistogram(const Aws::Vector< HistogramEntry > &value)
Service & WithAccountId(const char *value)
void SetNames(Aws::Vector< Aws::String > &&value)
Service & WithEdges(Aws::Vector< Edge > &&value)
void SetAccountId(Aws::String &&value)
Service & WithAccountId(const Aws::String &value)
void SetResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
bool NamesHasBeenSet() const
Service & AddNames(const Aws::String &value)
Service & WithName(const Aws::String &value)
bool RootHasBeenSet() const
int GetReferenceId() const
bool ReferenceIdHasBeenSet() const
Service & WithStartTime(const Aws::Utils::DateTime &value)
void SetEdges(const Aws::Vector< Edge > &value)
Service & WithState(const char *value)
void SetType(const char *value)
Service & WithNames(const Aws::Vector< Aws::String > &value)
Service & AddDurationHistogram(const HistogramEntry &value)
const Aws::Vector< HistogramEntry > & GetDurationHistogram() const
void SetStartTime(Aws::Utils::DateTime &&value)
Service & AddEdges(const Edge &value)
const Aws::Utils::DateTime & GetEndTime() const
Service & WithName(const char *value)
bool EdgesHasBeenSet() const
const Aws::Vector< Edge > & GetEdges() const
Service & AddResponseTimeHistogram(HistogramEntry &&value)
AWS_XRAY_API Service & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReferenceId(int value)
Service & WithResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
Service & WithState(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
bool TypeHasBeenSet() const
Service & WithResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
const Aws::String & GetState() const
Service & WithEndTime(const Aws::Utils::DateTime &value)
void SetState(Aws::String &&value)
Service & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAccountId() const
void SetType(const Aws::String &value)
void SetState(const char *value)
bool AccountIdHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
Service & WithDurationHistogram(Aws::Vector< HistogramEntry > &&value)
bool StateHasBeenSet() const
void SetDurationHistogram(Aws::Vector< HistogramEntry > &&value)
bool StartTimeHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
const Aws::Vector< Aws::String > & GetNames() const
Service & WithState(Aws::String &&value)
Service & WithSummaryStatistics(ServiceStatistics &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
const Aws::String & GetName() const
bool SummaryStatisticsHasBeenSet() const
Service & WithType(const Aws::String &value)
void SetName(const char *value)
void SetType(Aws::String &&value)
Service & WithRoot(bool value)
void SetSummaryStatistics(const ServiceStatistics &value)
void SetName(const Aws::String &value)
Service & AddDurationHistogram(HistogramEntry &&value)
Service & WithAccountId(Aws::String &&value)
Service & WithNames(Aws::Vector< Aws::String > &&value)
bool ResponseTimeHistogramHasBeenSet() const
Service & WithStartTime(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue