/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a user recorded in segment documents.See
* Also:
AWS API
* Reference
The user's name.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *The user's name.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *The user's name.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *The user's name.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *The user's name.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *The user's name.
*/ inline TraceUser& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *The user's name.
*/ inline TraceUser& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *The user's name.
*/ inline TraceUser& WithUserName(const char* value) { SetUserName(value); return *this;} /** *Services that the user's request hit.
*/ inline const Aws::VectorServices that the user's request hit.
*/ inline bool ServiceIdsHasBeenSet() const { return m_serviceIdsHasBeenSet; } /** *Services that the user's request hit.
*/ inline void SetServiceIds(const Aws::VectorServices that the user's request hit.
*/ inline void SetServiceIds(Aws::VectorServices that the user's request hit.
*/ inline TraceUser& WithServiceIds(const Aws::VectorServices that the user's request hit.
*/ inline TraceUser& WithServiceIds(Aws::VectorServices that the user's request hit.
*/ inline TraceUser& AddServiceIds(const ServiceId& value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(value); return *this; } /** *Services that the user's request hit.
*/ inline TraceUser& AddServiceIds(ServiceId&& value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(std::move(value)); return *this; } private: Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::Vector