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>
50 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
73 bool m_usernameHasBeenSet =
false;
76 bool m_groupsHasBeenSet =
false;
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ImpersonatedUser & WithUsername(const Aws::String &value)
ImpersonatedUser & AddGroups(const Aws::String &value)
ImpersonatedUser & WithGroups(const Aws::Vector< Aws::String > &value)
AWS_GUARDDUTY_API ImpersonatedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(const char *value)
bool GroupsHasBeenSet() const
ImpersonatedUser & AddGroups(Aws::String &&value)
ImpersonatedUser & WithUsername(const char *value)
const Aws::String & GetUsername() const
void SetUsername(Aws::String &&value)
AWS_GUARDDUTY_API ImpersonatedUser(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(const Aws::Vector< Aws::String > &value)
void SetGroups(Aws::Vector< Aws::String > &&value)
bool UsernameHasBeenSet() const
ImpersonatedUser & WithGroups(Aws::Vector< Aws::String > &&value)
AWS_GUARDDUTY_API ImpersonatedUser()
ImpersonatedUser & WithUsername(Aws::String &&value)
ImpersonatedUser & AddGroups(const char *value)
void SetUsername(const Aws::String &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