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/xray/model/RootCauseException.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename ExceptionsT = Aws::Vector<RootCauseException>>
62 void SetExceptions(ExceptionsT&& value) { m_exceptionsHasBeenSet =
true; m_exceptions = std::forward<ExceptionsT>(value); }
63 template<
typename ExceptionsT = Aws::Vector<RootCauseException>>
65 template<
typename ExceptionsT = RootCauseException>
75 inline void SetRemote(
bool value) { m_remoteHasBeenSet =
true; m_remote = value; }
81 bool m_nameHasBeenSet =
false;
84 bool m_exceptionsHasBeenSet =
false;
87 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