7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/Service.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/model/GraphLink.h>
48 template<
typename ServiceT = Service>
49 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
50 template<
typename ServiceT = Service>
60 template<
typename LinksT = Aws::Vector<GraphLink>>
61 void SetLinks(LinksT&& value) { m_linksHasBeenSet =
true; m_links = std::forward<LinksT>(value); }
62 template<
typename LinksT = Aws::Vector<GraphLink>>
64 template<
typename LinksT = GraphLink>
65 RetrievedService&
AddLinks(LinksT&& value) { m_linksHasBeenSet =
true; m_links.emplace_back(std::forward<LinksT>(value));
return *
this; }
70 bool m_serviceHasBeenSet =
false;
73 bool m_linksHasBeenSet =
false;
AWS_XRAY_API RetrievedService()=default
bool LinksHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
RetrievedService & AddLinks(LinksT &&value)
bool ServiceHasBeenSet() const
const Aws::Vector< GraphLink > & GetLinks() const
RetrievedService & WithService(ServiceT &&value)
void SetService(ServiceT &&value)
AWS_XRAY_API RetrievedService(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API RetrievedService & operator=(Aws::Utils::Json::JsonView jsonValue)
RetrievedService & WithLinks(LinksT &&value)
const Service & GetService() const
void SetLinks(LinksT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue