// Code generated by protoc-gen-goext. DO NOT EDIT.

package idp

import (
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

func (m *GetUserRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *ListUsersRequest) SetUserpoolId(v string) {
	m.UserpoolId = v
}

func (m *ListUsersRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListUsersRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListUsersRequest) SetFilter(v string) {
	m.Filter = v
}

func (m *ListUsersResponse) SetUsers(v []*User) {
	m.Users = v
}

func (m *ListUsersResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

type CreateUserRequest_Credentials = isCreateUserRequest_Credentials

func (m *CreateUserRequest) SetCredentials(v CreateUserRequest_Credentials) {
	m.Credentials = v
}

func (m *CreateUserRequest) SetUserpoolId(v string) {
	m.UserpoolId = v
}

func (m *CreateUserRequest) SetUsername(v string) {
	m.Username = v
}

func (m *CreateUserRequest) SetFullName(v string) {
	m.FullName = v
}

func (m *CreateUserRequest) SetGivenName(v string) {
	m.GivenName = v
}

func (m *CreateUserRequest) SetFamilyName(v string) {
	m.FamilyName = v
}

func (m *CreateUserRequest) SetEmail(v string) {
	m.Email = v
}

func (m *CreateUserRequest) SetPhoneNumber(v string) {
	m.PhoneNumber = v
}

func (m *CreateUserRequest) SetPasswordSpec(v *PasswordSpec) {
	m.Credentials = &CreateUserRequest_PasswordSpec{
		PasswordSpec: v,
	}
}

func (m *CreateUserRequest) SetPasswordHash(v *PasswordHash) {
	m.Credentials = &CreateUserRequest_PasswordHash{
		PasswordHash: v,
	}
}

func (m *CreateUserRequest) SetIsActive(v *wrapperspb.BoolValue) {
	m.IsActive = v
}

func (m *CreateUserRequest) SetExternalId(v string) {
	m.ExternalId = v
}

func (m *CreateUserMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *UpdateUserRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *UpdateUserRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

func (m *UpdateUserRequest) SetUsername(v string) {
	m.Username = v
}

func (m *UpdateUserRequest) SetFullName(v string) {
	m.FullName = v
}

func (m *UpdateUserRequest) SetGivenName(v string) {
	m.GivenName = v
}

func (m *UpdateUserRequest) SetFamilyName(v string) {
	m.FamilyName = v
}

func (m *UpdateUserRequest) SetEmail(v string) {
	m.Email = v
}

func (m *UpdateUserRequest) SetPhoneNumber(v string) {
	m.PhoneNumber = v
}

func (m *UpdateUserMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *DeleteUserRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *DeleteUserMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *SuspendUserRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *SuspendUserRequest) SetReason(v string) {
	m.Reason = v
}

func (m *SuspendUserMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *ReactivateUserRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *ReactivateUserMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *SetOwnPasswordRequest) SetPasswordSpec(v *PasswordSpec) {
	m.PasswordSpec = v
}

func (m *SetOwnPasswordRequest) SetOldPassword(v string) {
	m.OldPassword = v
}

func (m *SetOwnPasswordMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *SetOthersPasswordRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *SetOthersPasswordRequest) SetPasswordSpec(v *PasswordSpec) {
	m.PasswordSpec = v
}

func (m *SetOthersPasswordMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *GeneratePasswordResponse) SetPasswordSpec(v *PasswordSpec) {
	m.PasswordSpec = v
}

func (m *PasswordSpec) SetPassword(v string) {
	m.Password = v
}

func (m *PasswordSpec) SetGenerationProof(v string) {
	m.GenerationProof = v
}

func (m *PasswordMetadata) SetId(v string) {
	m.Id = v
}

func (m *PasswordMetadata) SetType(v PasswordMetadata_PasswordType) {
	m.Type = v
}

func (m *PasswordMetadata) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *PasswordMetadata) SetExpiresAt(v *timestamppb.Timestamp) {
	m.ExpiresAt = v
}

func (m *PasswordMetadata) SetLastUsage(v *PasswordMetadata_PasswordUsage) {
	m.LastUsage = v
}

func (m *PasswordMetadata_PasswordUsage) SetUsedAt(v *timestamppb.Timestamp) {
	m.UsedAt = v
}

func (m *PasswordMetadata_PasswordUsage) SetIpAddress(v string) {
	m.IpAddress = v
}

func (m *ConvertToExternalUserRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *ConvertToExternalUserRequest) SetExternalId(v string) {
	m.ExternalId = v
}

func (m *ConvertToExternalUserMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *ConvertToExternalUserMetadata) SetExternalId(v string) {
	m.ExternalId = v
}

func (m *SetPasswordHashRequest) SetUserId(v string) {
	m.UserId = v
}

func (m *SetPasswordHashRequest) SetHash(v *PasswordHash) {
	m.Hash = v
}

func (m *SetPasswordHashMetadata) SetUserId(v string) {
	m.UserId = v
}

func (m *PasswordHash) SetPasswordHash(v string) {
	m.PasswordHash = v
}

func (m *PasswordHash) SetPasswordHashType(v PasswordHash_PasswordHashType) {
	m.PasswordHashType = v
}

func (m *ResolveExternalIdsRequest) SetUserpoolId(v string) {
	m.UserpoolId = v
}

func (m *ResolveExternalIdsRequest) SetExternalIds(v []string) {
	m.ExternalIds = v
}

func (m *ResolvedUser) SetUserId(v string) {
	m.UserId = v
}

func (m *ResolvedUser) SetExternalId(v string) {
	m.ExternalId = v
}

func (m *ResolvedUser) SetUserpoolId(v string) {
	m.UserpoolId = v
}

func (m *ResolveExternalIdsResponse) SetResolvedUsers(v []*ResolvedUser) {
	m.ResolvedUsers = v
}
