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>
51 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
64 inline void SetUid(
Aws::String&& value) { m_uidHasBeenSet =
true; m_uid = std::move(value); }
65 inline void SetUid(
const char* value) { m_uidHasBeenSet =
true; m_uid.assign(value); }
116 bool m_usernameHasBeenSet =
false;
119 bool m_uidHasBeenSet =
false;
122 bool m_groupsHasBeenSet =
false;
125 bool m_sessionNameHasBeenSet =
false;
128 bool m_impersonatedUserHasBeenSet =
false;
KubernetesUserDetails & WithGroups(const Aws::Vector< Aws::String > &value)
void SetUsername(Aws::String &&value)
KubernetesUserDetails & WithImpersonatedUser(const ImpersonatedUser &value)
void SetGroups(const Aws::Vector< Aws::String > &value)
void SetUsername(const char *value)
KubernetesUserDetails & WithImpersonatedUser(ImpersonatedUser &&value)
bool GroupsHasBeenSet() const
KubernetesUserDetails & AddGroups(const Aws::String &value)
KubernetesUserDetails & AddGroups(const char *value)
KubernetesUserDetails & AddGroups(Aws::String &&value)
KubernetesUserDetails & AddSessionName(Aws::String &&value)
const Aws::String & GetUid() const
KubernetesUserDetails & WithUsername(const Aws::String &value)
void SetImpersonatedUser(const ImpersonatedUser &value)
AWS_GUARDDUTY_API KubernetesUserDetails()
bool UsernameHasBeenSet() const
void SetSessionName(Aws::Vector< Aws::String > &&value)
void SetUid(const Aws::String &value)
KubernetesUserDetails & WithUid(const Aws::String &value)
const ImpersonatedUser & GetImpersonatedUser() const
KubernetesUserDetails & WithUid(Aws::String &&value)
KubernetesUserDetails & WithSessionName(const Aws::Vector< Aws::String > &value)
const Aws::String & GetUsername() const
void SetSessionName(const Aws::Vector< Aws::String > &value)
KubernetesUserDetails & WithUsername(const char *value)
AWS_GUARDDUTY_API KubernetesUserDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(Aws::Vector< Aws::String > &&value)
KubernetesUserDetails & WithGroups(Aws::Vector< Aws::String > &&value)
bool SessionNameHasBeenSet() const
void SetImpersonatedUser(ImpersonatedUser &&value)
void SetUsername(const Aws::String &value)
KubernetesUserDetails & WithUid(const char *value)
KubernetesUserDetails & AddSessionName(const Aws::String &value)
void SetUid(const char *value)
const Aws::Vector< Aws::String > & GetSessionName() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool UidHasBeenSet() const
KubernetesUserDetails & WithSessionName(Aws::Vector< Aws::String > &&value)
KubernetesUserDetails & AddSessionName(const char *value)
void SetUid(Aws::String &&value)
bool ImpersonatedUserHasBeenSet() const
AWS_GUARDDUTY_API KubernetesUserDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetGroups() const
KubernetesUserDetails & WithUsername(Aws::String &&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