7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/AssumedRole.h>
9#include <aws/macie2/model/AwsAccount.h>
10#include <aws/macie2/model/AwsService.h>
11#include <aws/macie2/model/FederatedUser.h>
12#include <aws/macie2/model/IamUser.h>
13#include <aws/macie2/model/UserIdentityRoot.h>
14#include <aws/macie2/model/UserIdentityType.h>
110 inline void SetIamUser(
IamUser&& value) { m_iamUserHasBeenSet =
true; m_iamUser = std::move(value); }
142 bool m_assumedRoleHasBeenSet =
false;
145 bool m_awsAccountHasBeenSet =
false;
148 bool m_awsServiceHasBeenSet =
false;
151 bool m_federatedUserHasBeenSet =
false;
154 bool m_iamUserHasBeenSet =
false;
157 bool m_rootHasBeenSet =
false;
160 bool m_typeHasBeenSet =
false;
const AwsAccount & GetAwsAccount() const
void SetType(const UserIdentityType &value)
void SetAssumedRole(AssumedRole &&value)
void SetRoot(UserIdentityRoot &&value)
void SetIamUser(const IamUser &value)
void SetRoot(const UserIdentityRoot &value)
bool TypeHasBeenSet() const
const UserIdentityType & GetType() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool AwsServiceHasBeenSet() const
UserIdentity & WithAssumedRole(AssumedRole &&value)
UserIdentity & WithFederatedUser(FederatedUser &&value)
AWS_MACIE2_API UserIdentity()
void SetAwsAccount(const AwsAccount &value)
bool IamUserHasBeenSet() const
void SetAssumedRole(const AssumedRole &value)
UserIdentity & WithAssumedRole(const AssumedRole &value)
UserIdentity & WithType(const UserIdentityType &value)
AWS_MACIE2_API UserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsAccount(AwsAccount &&value)
void SetType(UserIdentityType &&value)
void SetIamUser(IamUser &&value)
UserIdentity & WithType(UserIdentityType &&value)
void SetFederatedUser(const FederatedUser &value)
void SetFederatedUser(FederatedUser &&value)
bool AssumedRoleHasBeenSet() const
bool RootHasBeenSet() const
void SetAwsService(AwsService &&value)
const FederatedUser & GetFederatedUser() const
const AwsService & GetAwsService() const
const AssumedRole & GetAssumedRole() const
const IamUser & GetIamUser() const
UserIdentity & WithIamUser(const IamUser &value)
UserIdentity & WithIamUser(IamUser &&value)
AWS_MACIE2_API UserIdentity(Aws::Utils::Json::JsonView jsonValue)
UserIdentity & WithRoot(const UserIdentityRoot &value)
bool FederatedUserHasBeenSet() const
UserIdentity & WithAwsAccount(const AwsAccount &value)
UserIdentity & WithFederatedUser(const FederatedUser &value)
UserIdentity & WithAwsService(AwsService &&value)
bool AwsAccountHasBeenSet() const
UserIdentity & WithAwsService(const AwsService &value)
UserIdentity & WithRoot(UserIdentityRoot &&value)
const UserIdentityRoot & GetRoot() const
UserIdentity & WithAwsAccount(AwsAccount &&value)
void SetAwsService(const AwsService &value)
Aws::Utils::Json::JsonValue JsonValue