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/ServiceId.h>
43 template <
typename UserNameT = Aws::String>
45 m_userNameHasBeenSet =
true;
46 m_userName = std::forward<UserNameT>(value);
48 template <
typename UserNameT = Aws::String>
61 template <
typename ServiceIdsT = Aws::Vector<ServiceId>>
63 m_serviceIdsHasBeenSet =
true;
64 m_serviceIds = std::forward<ServiceIdsT>(value);
66 template <
typename ServiceIdsT = Aws::Vector<ServiceId>>
71 template <
typename ServiceIdsT = ServiceId>
73 m_serviceIdsHasBeenSet =
true;
74 m_serviceIds.emplace_back(std::forward<ServiceIdsT>(value));
82 bool m_userNameHasBeenSet =
false;
83 bool m_serviceIdsHasBeenSet =
false;
AWS_XRAY_API TraceUser & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API TraceUser(Aws::Utils::Json::JsonView jsonValue)
void SetServiceIds(ServiceIdsT &&value)
TraceUser & WithUserName(UserNameT &&value)
bool UserNameHasBeenSet() const
const Aws::Vector< ServiceId > & GetServiceIds() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
TraceUser & AddServiceIds(ServiceIdsT &&value)
AWS_XRAY_API TraceUser()=default
bool ServiceIdsHasBeenSet() const
const Aws::String & GetUserName() const
TraceUser & WithServiceIds(ServiceIdsT &&value)
void SetUserName(UserNameT &&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