7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/xray/model/ErrorRootCauseService.h>
48 template<
typename ServicesT = Aws::Vector<ErrorRootCauseService>>
49 void SetServices(ServicesT&& value) { m_servicesHasBeenSet =
true; m_services = std::forward<ServicesT>(value); }
50 template<
typename ServicesT = Aws::Vector<ErrorRootCauseService>>
52 template<
typename ServicesT = ErrorRootCauseService>
53 ErrorRootCause&
AddServices(ServicesT&& value) { m_servicesHasBeenSet =
true; m_services.emplace_back(std::forward<ServicesT>(value));
return *
this; }
62 inline void SetClientImpacting(
bool value) { m_clientImpactingHasBeenSet =
true; m_clientImpacting = value; }
68 bool m_servicesHasBeenSet =
false;
70 bool m_clientImpacting{
false};
71 bool m_clientImpactingHasBeenSet =
false;
ErrorRootCause & WithServices(ServicesT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClientImpacting(bool value)
AWS_XRAY_API ErrorRootCause()=default
AWS_XRAY_API ErrorRootCause & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorRootCause & AddServices(ServicesT &&value)
bool ServicesHasBeenSet() const
bool GetClientImpacting() const
void SetServices(ServicesT &&value)
bool ClientImpactingHasBeenSet() const
ErrorRootCause & WithClientImpacting(bool value)
const Aws::Vector< ErrorRootCauseService > & GetServices() const
AWS_XRAY_API ErrorRootCause(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue