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/ServiceId.h>
49 template<
typename UserNameT = Aws::String>
50 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
51 template<
typename UserNameT = Aws::String>
61 template<
typename ServiceIdsT = Aws::Vector<ServiceId>>
62 void SetServiceIds(ServiceIdsT&& value) { m_serviceIdsHasBeenSet =
true; m_serviceIds = std::forward<ServiceIdsT>(value); }
63 template<
typename ServiceIdsT = Aws::Vector<ServiceId>>
65 template<
typename ServiceIdsT = ServiceId>
66 TraceUser&
AddServiceIds(ServiceIdsT&& value) { m_serviceIdsHasBeenSet =
true; m_serviceIds.emplace_back(std::forward<ServiceIdsT>(value));
return *
this; }
71 bool m_userNameHasBeenSet =
false;
74 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