/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The root cause of a trace summary error.See Also:
AWS
* API Reference
A list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline const Aws::VectorA list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline bool ServicesHasBeenSet() const { return m_servicesHasBeenSet; } /** *A list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline void SetServices(const Aws::VectorA list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline void SetServices(Aws::VectorA list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline ErrorRootCause& WithServices(const Aws::VectorA list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline ErrorRootCause& WithServices(Aws::VectorA list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline ErrorRootCause& AddServices(const ErrorRootCauseService& value) { m_servicesHasBeenSet = true; m_services.push_back(value); return *this; } /** *A list of services corresponding to an error. A service identifies a segment * and it contains a name, account ID, type, and inferred flag.
*/ inline ErrorRootCause& AddServices(ErrorRootCauseService&& value) { m_servicesHasBeenSet = true; m_services.push_back(std::move(value)); return *this; } /** *A flag that denotes that the root cause impacts the trace client.
*/ inline bool GetClientImpacting() const{ return m_clientImpacting; } /** *A flag that denotes that the root cause impacts the trace client.
*/ inline bool ClientImpactingHasBeenSet() const { return m_clientImpactingHasBeenSet; } /** *A flag that denotes that the root cause impacts the trace client.
*/ inline void SetClientImpacting(bool value) { m_clientImpactingHasBeenSet = true; m_clientImpacting = value; } /** *A flag that denotes that the root cause impacts the trace client.
*/ inline ErrorRootCause& WithClientImpacting(bool value) { SetClientImpacting(value); return *this;} private: Aws::Vector