7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/RootCauseException.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename ExceptionsT = Aws::Vector<RootCauseException>>
63 m_exceptionsHasBeenSet =
true;
64 m_exceptions = std::forward<ExceptionsT>(value);
66 template <
typename ExceptionsT = Aws::Vector<RootCauseException>>
71 template <
typename ExceptionsT = RootCauseException>
73 m_exceptionsHasBeenSet =
true;
74 m_exceptions.emplace_back(std::forward<ExceptionsT>(value));
86 m_remoteHasBeenSet =
true;
100 bool m_nameHasBeenSet =
false;
101 bool m_exceptionsHasBeenSet =
false;
102 bool m_remoteHasBeenSet =
false;
const Aws::String & GetName() const
void SetRemote(bool value)
ErrorRootCauseEntity & WithRemote(bool value)
ErrorRootCauseEntity & AddExceptions(ExceptionsT &&value)
bool ExceptionsHasBeenSet() const
AWS_XRAY_API ErrorRootCauseEntity()=default
ErrorRootCauseEntity & WithExceptions(ExceptionsT &&value)
bool NameHasBeenSet() const
ErrorRootCauseEntity & WithName(NameT &&value)
bool RemoteHasBeenSet() const
AWS_XRAY_API ErrorRootCauseEntity(Aws::Utils::Json::JsonView jsonValue)
void SetExceptions(ExceptionsT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< RootCauseException > & GetExceptions() const
AWS_XRAY_API ErrorRootCauseEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&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