7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/ImpersonatedUser.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 U
idT = Aws::String>
62 void SetUid(UidT&& value) { m_uidHasBeenSet =
true; m_uid = std::forward<UidT>(value); }
63 template<
typename U
idT = Aws::String>
73 template<
typename GroupsT = Aws::Vector<Aws::String>>
74 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
75 template<
typename GroupsT = Aws::Vector<Aws::String>>
77 template<
typename GroupsT = Aws::String>
88 template<
typename SessionNameT = Aws::Vector<Aws::String>>
89 void SetSessionName(SessionNameT&& value) { m_sessionNameHasBeenSet =
true; m_sessionName = std::forward<SessionNameT>(value); }
90 template<
typename SessionNameT = Aws::Vector<Aws::String>>
92 template<
typename SessionNameT = Aws::String>
102 template<
typename ImpersonatedUserT = ImpersonatedUser>
103 void SetImpersonatedUser(ImpersonatedUserT&& value) { m_impersonatedUserHasBeenSet =
true; m_impersonatedUser = std::forward<ImpersonatedUserT>(value); }
104 template<
typename ImpersonatedUserT = ImpersonatedUser>
110 bool m_usernameHasBeenSet =
false;
113 bool m_uidHasBeenSet =
false;
116 bool m_groupsHasBeenSet =
false;
119 bool m_sessionNameHasBeenSet =
false;
122 bool m_impersonatedUserHasBeenSet =
false;
KubernetesUserDetails & AddSessionName(SessionNameT &&value)
KubernetesUserDetails & WithUsername(UsernameT &&value)
bool GroupsHasBeenSet() const
void SetGroups(GroupsT &&value)
const Aws::String & GetUid() const
bool UsernameHasBeenSet() const
void SetUid(UidT &&value)
const ImpersonatedUser & GetImpersonatedUser() const
const Aws::String & GetUsername() const
AWS_GUARDDUTY_API KubernetesUserDetails()=default
AWS_GUARDDUTY_API KubernetesUserDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SessionNameHasBeenSet() const
KubernetesUserDetails & WithImpersonatedUser(ImpersonatedUserT &&value)
KubernetesUserDetails & WithGroups(GroupsT &&value)
const Aws::Vector< Aws::String > & GetSessionName() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
KubernetesUserDetails & WithSessionName(SessionNameT &&value)
KubernetesUserDetails & AddGroups(GroupsT &&value)
bool UidHasBeenSet() const
KubernetesUserDetails & WithUid(UidT &&value)
void SetSessionName(SessionNameT &&value)
void SetImpersonatedUser(ImpersonatedUserT &&value)
bool ImpersonatedUserHasBeenSet() const
AWS_GUARDDUTY_API KubernetesUserDetails(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(UsernameT &&value)
const Aws::Vector< Aws::String > & GetGroups() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue